Changeset 484 in ProjectBuilder
- Timestamp:
- Jun 9, 2008, 12:07:19 AM (17 years ago)
- Location:
- devel/pb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r483 r484 971 971 EOF 972 972 } 973 if ($ddir eq "fedora") { 974 # Extract the spec file to please Fedora maintainers :-( 975 print PBS << "EOF"; 976 for p in $basesrc; do 977 echo \$p | grep -q 'src.rpm' 978 if [ \$\? -eq 0 ]; then 979 rpm2cpio \$p | cpio -ivdum --quiet '*.spec' 980 fi 981 done 982 EOF 983 } 973 984 } elsif ($dtype eq "deb") { 974 985 # Also make a pbscript to generate apt bases … … 986 997 # Prepare a script to create apt info file 987 998 (cd .. ; for a in i386 amd64 ia64; do mkdir -p dists/$dver/contrib/binary-\$a; dpkg-scanpackages -a\$a $dver /dev/null | gzip -c9 > dists/$dver/contrib/binary-\$a/Packages.gz; done; mkdir -p dists/$dver/contrib/source; dpkg-scansources $dver /dev/null | gzip -c9 > dists/$dver/contrib/source/Sources.gz) 999 #(cd .. ; rm -f dists/$dver/Release ; apt-ftparchive release dists/$dver > dists/$dver/Release; gpg --sign -ba -o dists/$dver/Release.gpg dists/$dver/Release) 988 1000 EOF 989 1001 } -
devel/pb/lib/ProjectBuilder/Env.pm
r481 r484 519 519 520 520 # PBGRP is replaced by the RPM group of apps 521 #filter PBGRP = Applications/Archiving 522 523 # PBLIC is replaced by the license of the application 524 #filter PBLIC = GPL 525 526 # PBDEP is replaced by the list of dependencies 527 #filter PBDEP = 528 529 # PBSUF is replaced by the package suffix (\$pbsuf in code) 530 filter PBSUF = \$pbsuf 531 532 # PBOBS is replaced by the Obsolete line 533 #filter PBOBS = 534 535 EOF 536 close(CONF); 537 open(CONF,"> $ENV{'PBROOTDIR'}/pbfilter/fedora.pbf") || die "Unable to create $ENV{'PBROOTDIR'}/pbfilter/fedora.pbf"; 538 print CONF << "EOF"; 539 # 540 # \$Id\$ 541 # 542 # Filter for rpm build 543 # 544 545 # PBGRP is replaced by the RPM group of apps 521 546 # Cf: http://fedoraproject.org/wiki/RPMGroups 522 547 #filter PBGRP = Applications/Archiving … … 524 549 # PBLIC is replaced by the license of the application 525 550 # Cf: http://fedoraproject.org/wiki/Licensing 526 #filter PBLIC = GPL 551 #filter PBLIC = GPLv2+ 527 552 528 553 # PBDEP is replaced by the list of dependencies … … 530 555 531 556 # PBSUF is replaced by the package suffix (\$pbsuf in code) 532 filter PBSUF = \$pbsuf557 filter PBSUF = %{dist} 533 558 534 559 # PBOBS is replaced by the Obsolete line
Note:
See TracChangeset
for help on using the changeset viewer.