Changeset 501


Ignore:
Timestamp:
Aug 3, 2008, 1:23:15 PM (12 years ago)
Author:
Bruno Cornec
Message:
  • pb now uses upcoming 0.9.3 format for its build files
  • buffer now builds (RPM only ATM) using the new 0.9.3 format + a local patch
Files:
2 added
7 edited

Legend:

Unmodified
Added
Removed
  • pbconf/devel/pbfilter/all.pbf

    r438 r501  
    55#
    66# PBREPO is replaced by the root URL of the repository
    7 filter PBREPO = $pbrepo
     7filter PBREPO = $pb->{'repo'}
    88
    99# PBSRC is replaced by the source package format
    1010filter PBSRC = src/%{name}-%{version}.tar.gz
    1111
    12 # PBVER is replaced by the version ($pbver in code)
    13 filter PBVER = $pbver
     12# PBVER is replaced by the version ($pb->{'ver'} in code)
     13filter PBVER = $pb->{'ver'}
    1414
    15 # PBDATE is replaced by the date ($pbdate in code)
    16 filter PBDATE = $pbdate
     15# PBDATE is replaced by the date ($pb->{'date'} in code)
     16filter PBDATE = $pb->{'date'}
    1717
    1818# PBLOG is replaced by the changelog if value is yes
    1919filter PBLOG = yes
    2020
    21 # PBTAG is replaced by the tag ($pbtag in code)
    22 filter PBTAG = $pbtag
     21# PBTAG is replaced by the tag ($pb->{'tag'} in code)
     22filter PBTAG = $pb->{'tag'}
    2323
    24 # PBREV is replaced by the revision ($pbrev in code)
    25 filter PBREV = $pbrev
     24# PBREV is replaced by the revision ($pb->{'rev'} in code)
     25filter PBREV = $pb->{'rev'}
    2626
    27 # PBPKG is replaced by the package name ($pbpkg in code)
    28 filter PBPKG = $pbpkg
     27# PBPKG is replaced by the package name ($pb->{'pkg'} in code)
     28filter PBPKG = $pb->{'pkg'}
    2929
    30 # PBPACKAGER is replaced by the packager name ($pbpackager in code)
    31 filter PBPACKAGER = $pbpackager
     30# PBPACKAGER is replaced by the packager name ($pb->{'packager'} in code)
     31filter PBPACKAGER = $pb->{'packager'}
    3232
  • pbconf/devel/perl-ProjectBuilder/pbfilter/rpm.pbf

    r283 r501  
    1010filter PBDEP =
    1111
    12 # PBSUF is replaced by the package name ($pbpkg in code)
    13 filter PBSUF = $pbsuf
     12# PBSUF is replaced by the package name ($pb->{'suf'} in code)
     13filter PBSUF = $pb->{'suf'}
    1414
    1515# Special for pb : MakeMaker has various variable for the dest dir
  • pbconf/devel/project-builder/pbfilter/rpm.pbf

    r283 r501  
    1010filter PBDEP =
    1111
    12 # PBSUF is replaced by the package name ($pbpkg in code)
    13 filter PBSUF = $pbsuf
     12# PBSUF is replaced by the package name ($pb->{'suf'} in code)
     13filter PBSUF = $pb->{'suf'}
    1414
    1515# Special for pb : MakeMaker has various variable for the dest dir
  • projects/buffer/pbconf/1.19/buffer.pb

    r497 r501  
    1616#pburl buffer = file:///src/buffer-devel.tar.gz
    1717#pburl buffer = dir:///src/buffer-devel
    18 pburl buffer = http://hello-penguin.com/software/buffer/buffer-1.19.tar.gz
     18#
     19#pburl buffer = http://hello-penguin.com/software/buffer/buffer-1.19.tar.gz
     20pburl buffer = file:///home/bruno/Work/bruno/mandriva/buffer/SOURCES/buffer-1.19.tar.bz2
    1921
    2022# Repository
  • projects/buffer/pbconf/1.19/buffer/rpm/buffer.spec

    r458 r501  
    1313Url:            PBURL
    1414Source:         PBREPO/PBSRC
     15PBPATCHSRC
    1516BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
    1617
     
    2324%prep
    2425%setup -q
     26PBPATCHCMD
    2527
    2628%build
     
    3840%defattr(-,root,root)
    3941%doc ChangeLog
    40 %doc COPYING README AUTHORS NEWS
     42%doc COPYING README
     43#AUTHORS NEWS
    4144%{_bindir}/buffer
    4245%{_mandir}/man1/buffer.1*
  • projects/buffer/pbconf/1.19/pbfilter/all.pbf

    r458 r501  
    66#
    77# PBREPO is replaced by the root URL to access the repository
    8 filter PBREPO = $pbrepo
     8filter PBREPO = $pb->{'repo'}
    99
    1010# PBSRC is replaced by the source package location after the repo
    1111filter PBSRC = src/%{name}-%{version}.tar.gz
    1212
    13 # PBVER is replaced by the version ($pbver in code)
    14 filter PBVER = $pbver
     13# PBVER is replaced by the version ($pb->{'ver'} in code)
     14filter PBVER = $pb->{'ver'}
    1515
    16 # PBDATE is replaced by the date ($pbdate in code)
    17 filter PBDATE = $pbdate
     16# PBDATE is replaced by the date ($pb->{'date'} in code)
     17filter PBDATE = $pb->{'date'}
    1818
    1919# PBLOG is replaced by the changelog if value is yes
    2020filter PBLOG = yes
    2121
    22 # PBTAG is replaced by the tag ($pbtag in code)
    23 filter PBTAG = $pbtag
     22# License
     23filter PBLIC = GPL
    2424
    25 # PBREV is replaced by the revision ($pbrev in code)
    26 filter PBREV = $pbrev
     25# PBPATCHSRC is replaced by the patches names if value is yes
     26filter PBPATCHSRC = yes
    2727
    28 # PBPKG is replaced by the package name ($pbpkg in code)
    29 filter PBPKG = $pbpkg
     28# PBPATCHCMD is replaced by the patches commands if value is yes
     29filter PBPATCHCMD = yes
    3030
    31 # PBPACKAGER is replaced by the packager name ($pbpackager in code)
    32 filter PBPACKAGER = $pbpackager
     31# PBTAG is replaced by the tag ($pb->{'tag'} in code)
     32filter PBTAG = $pb->{'tag'}
     33
     34# PBREV is replaced by the revision ($pb->{'rev'} in code)
     35filter PBREV = $pb->{'rev'}
     36
     37# PBPKG is replaced by the package name ($pb->{'pkg'} in code)
     38filter PBPKG = $pb->{'pkg'}
     39
     40# PBPACKAGER is replaced by the packager name ($pb->{'packager'} in code)
     41filter PBPACKAGER = $pb->{'packager'}
    3342
    3443# PBDESC contains the description of the package
  • projects/buffer/pbconf/1.19/pbfilter/rpm.pbf

    r458 r501  
    1616#filter PBDEP =
    1717
    18 # PBSUF is replaced by the package suffix ($pbsuf in code)
    19 filter PBSUF = $pbsuf
     18# PBSUF is replaced by the package suffix ($pb->{'suf'} in code)
     19filter PBSUF = $pb->{'suf'}
    2020
    2121# PBOBS is replaced by the Obsolete line
Note: See TracChangeset for help on using the changeset viewer.