Changeset 541 in ProjectBuilder
- Timestamp:
- Sep 15, 2008, 1:39:21 PM (16 years ago)
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r540 r541 563 563 my $pbrealpkg = pb_cms_get_real_pkg($pbpkg,$pb{'dtype'}); 564 564 $pb{'realpkg'} = $pbrealpkg; 565 pb_log(1,"Virtual package $pbpkg has a real package name of $pbrealpkg on $ddir-$dver\n") if ($pbrealpkg ne $pbpkg); 565 566 566 567 # Filter build files from the less precise up to the most with overloading … … 792 793 $made="$made $_"; 793 794 } 794 795 if (-f "/usr/bin/rpmlint") { 796 pb_system("rpmlint $made","Checking validity of rpms with rpmlint","verbose"); 797 } 795 close(LOG); 796 798 797 } elsif ($dtype eq "deb") { 799 798 chdir "$ENV{'PBBUILDDIR'}" || die "Unable to chdir to $ENV{'PBBUILDDIR'}"; … … 811 810 pb_system("dpkg-buildpackage -us -uc -rfakeroot","Building package","verbose"); 812 811 $made="$made $pbpkg"."_*.deb $pbpkg"."_*.dsc $pbpkg"."_*.tar.gz"; 813 if (-f "/usr/bin/lintian") {814 pb_system("lintian $made","Checking validity of debs with lintian","verbose");815 }816 812 } elsif ($dtype eq "ebuild") { 817 813 my @ebuildfile; … … 881 877 } 882 878 } 879 # Packages check if needed 880 if ($dtype eq "rpm") { 881 if (-f "/usr/bin/rpmlint") { 882 pb_system("rpmlint $made","Checking validity of rpms with rpmlint","verbose"); 883 } 884 } elsif ($dtype eq "deb") { 885 if (-f "/usr/bin/lintian") { 886 pb_system("lintian $made","Checking validity of debs with lintian","verbose"); 887 } 888 } else { 889 pb_log(0, "No check done for $dtype yet"); 890 } 891 883 892 # Keep track of what is generated so that we can get them back from VMs 884 893 open(KEEP,"> $ENV{'PBBUILDDIR'}/pbgen-$ENV{'PBPROJVER'}-$ENV{'PBPROJTAG'}") || die "Unable to create $ENV{'PBBUILDDIR'}/pbgen-$ENV{'PBPROJVER'}-$ENV{'PBPROJTAG'}"; -
pbconf/devel/ProjectBuilder/deb/control
r418 r541 1 Source: PB PKG1 Source: PBREALPKG 2 2 Section: PBGRP 3 3 Priority: optional … … 6 6 Standards-Version: 3.6.1 7 7 8 Package: PB PKG8 Package: PBREALPKG 9 9 Architecture: all 10 10 Section: PBGRP -
pbconf/devel/ProjectBuilder/deb/rules
r244 r541 11 11 12 12 # Define package name variable for a one-stop change. 13 PACKAGE_NAME = PB PKG13 PACKAGE_NAME = PBREALPKG 14 14 15 15 # These are used for cross-compiling and for saving the configure script … … 55 55 dh_installdirs 56 56 57 # Add here commands to install the package into debian/ linuxcoe-sd58 $(MAKE) install DESTDIR=$(CURDIR)/debian/PB PKG57 # Add here commands to install the package into debian/PBREALPKG 58 $(MAKE) install DESTDIR=$(CURDIR)/debian/PBREALPKG 59 59 60 60 # Build architecture-independent files here. -
pbconf/devel/ProjectBuilder/rpm/perl-ProjectBuilder.spec
r463 r541 3 3 # 4 4 %define perlvendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) 5 %define srcname PBPKG 5 6 6 7 Summary: Perl module providing support and deal with Linux distributions 7 8 Summary(fr): Module Perl fournissant des fonctions de support et aidant à traiter de diverses distributions Linux 8 9 9 Name: PB PKG10 Name: PBREALPKG 10 11 Version: PBVER 11 12 Release: PBTAGPBSUF … … 14 15 Url: http://trac.project-builder.org 15 16 Source: PBREPO/PBSRC 16 BuildRoot: %{_tmppath}/%{ name}-%{version}-%{release}-root-%(id -u -n)17 BuildRoot: %{_tmppath}/%{srcname}-%{version}-%{release}-root-%(id -u -n) 17 18 BuildArch: noarch 18 19 Requires: perl >= 5.8.4, PBDEP … … 22 23 23 24 %description -l fr 24 perl-ProjectBuilderest un ensemble de fonctions pour aider à développer des projets perl et à traiter de diverses distributions Linux.25 PBREALPKG est un ensemble de fonctions pour aider à développer des projets perl et à traiter de diverses distributions Linux. 25 26 26 27 %prep 27 %setup -q 28 %setup -q -n %{srcname}-%{version} 28 29 29 30 %build -
pbconf/devel/pbfilter/all.pbf
r501 r541 8 8 9 9 # PBSRC is replaced by the source package format 10 filter PBSRC = src/%{ name}-%{version}.tar.gz10 filter PBSRC = src/%{srcname}-%{version}.tar.gz 11 11 12 12 # PBVER is replaced by the version ($pb->{'ver'} in code) … … 28 28 filter PBPKG = $pb->{'pkg'} 29 29 30 # PBPKG is replaced by the package name ($pb->{'realpkg'} in code) 31 filter PBREALPKG = $pb->{'realpkg'} 32 30 33 # PBPACKAGER is replaced by the packager name ($pb->{'packager'} in code) 31 34 filter PBPACKAGER = $pb->{'packager'} -
pbconf/devel/project-builder/rpm/project-builder.spec
r461 r541 3 3 # 4 4 %define perlvendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) 5 %define srcname PBPKG 5 6 6 7 Summary: Project Builder aka pb is a tool to produce packages for multiple distributions
Note:
See TracChangeset
for help on using the changeset viewer.