Lines Matching refs:spec
36 print "report-copyright [options] <spec files...>\n";
44 print " instead of spec-files\n";
50 my $repo = "spec-files";
98 foreach my $spec (@specs) {
99 next if not defined ($spec);
102 my $owner = `grep '$RE' $spec | head -1`;
108 $owners{$spec} = $owner;
111 my $cpr = `spectool --with-sun-branding eval '%sunw_copyright' $spec 2>/dev/null`;
113 $copyright_files{$spec} = $cpr;
125 <tr><td><b>spec file</b></td><td><b>owner</b></td><td><b>copyright file</b></td></tr>
129 foreach my $spec (sort @specs) {
130 my $base = basename ($spec);
132 print "<td><a href=\"http://www.opensolaris.org/viewProfile.jspa?username=$owners{$spec}\">$owners{$spec}</a></td>\n";
133 $base =~ s/\.spec//;
134 if ($copyright_files{$spec} ne "${base}.copyright") {
135 print "<td bgcolor=#ffaaaa>$copyright_files{$spec}</td>\n";
138 print "<td bgcolor=#aaffaa><a href=\"http://src.opensolaris.org/source/xref/jds/${repo}/${branch}/copyright/${copyright_files{$spec}}\">$copyright_files{$spec}</a></td>\n";
152 <tr><td><b>owner</b></td><td><b>spec files</b></td></tr>
156 foreach my $spec (sort @specs) {
157 next if $owners{$spec} ne $owner;
158 my $base = basename ($spec);
159 $base =~ s/\.spec//;
160 if ($copyright_files{$spec} ne "${base}.copyright") {
162 print "<tr><td valign=top><a href=\"http://www.opensolaris.org/viewProfile.jspa?username=$owners{$spec}\">$owners{$spec}</a></td>\n";