[CVS] OpenPKG: openpkg-src/petidomo/ petidomo.spec
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 15-Oct-2005 09:38:13 Branch: HEAD Handle: 2005101508381300 Modified files: openpkg-src/petidomopetidomo.spec Log: requires perl for pod2man Summary: RevisionChanges Path 1.67+2 -2 openpkg-src/petidomo/petidomo.spec patch -p0 <<'@@ .' Index: openpkg-src/petidomo/petidomo.spec $ cvs diff -u -r1.66 -r1.67 petidomo.spec --- openpkg-src/petidomo/petidomo.spec14 Oct 2005 14:51:51 - 1.66 +++ openpkg-src/petidomo/petidomo.spec15 Oct 2005 07:38:13 - 1.67 @@ -33,7 +33,7 @@ Group:Mail License: GPL Version: 4.0b6 -Release: 20051014 +Release: 20051015 # package options %option with_fsl yes @@ -48,7 +48,7 @@ # build information Prefix: %{l_prefix} BuildRoot:%{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20050615, bison, flex +BuildPreReq: OpenPKG, openpkg >= 20050615, bison, flex, perl PreReq: OpenPKG, openpkg >= 20050615, MTA %if "%{with_fsl}" == "yes" BuildPreReq: fsl >= 1.4.0-20040310 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org
[CVS] OpenPKG: openpkg-src/petidomo/ petidomo.spec
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 15-Jun-2005 17:26:17 Branch: HEAD Handle: 2005061516261700 Modified files: openpkg-src/petidomopetidomo.spec Log: bless from EVAL to PLUS Summary: RevisionChanges Path 1.65+1 -1 openpkg-src/petidomo/petidomo.spec patch -p0 <<'@@ .' Index: openpkg-src/petidomo/petidomo.spec $ cvs diff -u -r1.64 -r1.65 petidomo.spec --- openpkg-src/petidomo/petidomo.spec15 Jun 2005 14:01:29 - 1.64 +++ openpkg-src/petidomo/petidomo.spec15 Jun 2005 15:26:17 - 1.65 @@ -29,7 +29,7 @@ Vendor: Peter Simons Packager: OpenPKG Distribution: OpenPKG -Class:EVAL +Class:PLUS Group:Mail License: GPL Version: 4.0b6 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org
[CVS] OpenPKG: openpkg-src/petidomo/ petidomo.spec
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 15-Feb-2005 15:52:04 Branch: HEAD Handle: 2005021514520400 Modified files: openpkg-src/petidomopetidomo.spec Log: cleanup and fix packaging Summary: RevisionChanges Path 1.62+27 -24 openpkg-src/petidomo/petidomo.spec patch -p0 <<'@@ .' Index: openpkg-src/petidomo/petidomo.spec $ cvs diff -u -r1.61 -r1.62 petidomo.spec --- openpkg-src/petidomo/petidomo.spec1 Jan 2005 10:53:48 - 1.61 +++ openpkg-src/petidomo/petidomo.spec15 Feb 2005 14:52:04 - 1.62 @@ -34,7 +34,7 @@ Group:Mail License: GPL Version: 4.0b6 -Release: 20040729 +Release: 20050215 # package options %option with_fsl yes @@ -65,49 +65,51 @@ %track prog petidomo = { -comment = "rse: 4.0b3 is broken" version = %{version} url = ftp://ftp.ossp.org/pkg/tool/petidomo/ regex = petidomo-(__VER__)\.tar\.gz } %prep -%setup -q -c +%setup -q %setup -q -T -D -a 1 %build -# build petidomo -( cd petidomo-%{version} - CC="%{l_cc}" \ - CFLAGS="%{l_cflags}" \ - CPPFLAGS="%{l_cppflags}" \ - LDFLAGS="%{l_ldflags} %{l_fsl_ldflags}" \ - LIBS="%{l_fsl_libs}" \ - ./configure \ - --prefix=%{l_prefix} \ - --sysconfdir=%{l_prefix}/etc/petidomo - %{l_make} %{l_mflags} -) || exit $? +# build program +%{l_shtool} subst \ +-e 's;\./petidomo --masterconf=.*/petidomo\.conf;%{l_prefix}/bin/petidomo --masterconf=%{l_prefix}/etc/petidomo/petidomo.conf;g' \ +petidomo-kickout +CC="%{l_cc}" \ +CFLAGS="%{l_cflags}" \ +CPPFLAGS="%{l_cppflags}" \ +LDFLAGS="%{l_ldflags} %{l_fsl_ldflags}" \ +LIBS="%{l_fsl_libs}" \ +LEX="flex-old" \ +./configure \ +--prefix=%{l_prefix} \ +--sysconfdir=%{l_prefix}/etc/petidomo +%{l_make} %{l_mflags} %install +# install program rm -rf $RPM_BUILD_ROOT -( cd petidomo-%{version} - %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT -) || exit $? +%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT + +# strip down installation rm -rf $RPM_BUILD_ROOT%{l_prefix}/libexec/petidomo rm -rf $RPM_BUILD_ROOT%{l_prefix}/etc/petidomo rm -rf $RPM_BUILD_ROOT%{l_prefix}/var/petidomo %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/var/petidomo \ $RPM_BUILD_ROOT%{l_prefix}/etc/petidomo + +# install additional files %{l_shtool} install -c -m 644 \ /dev/null $RPM_BUILD_ROOT%{l_prefix}/var/petidomo/petidomo.log -( cd etc.petidomo - l_hostname=`%{l_shtool} echo -e '%h%d'` - %{l_shtool} install -c -m - \ - -e "s;@l_hostname@;${l_hostname};g" %{l_value -s -a} \ - * $RPM_BUILD_ROOT%{l_prefix}/etc/petidomo/ -) || exit $? +l_hostname=`%{l_shtool} echo -e '%h%d'` +%{l_shtool} install -c -m - \ +-e "s;@l_hostname@;${l_hostname};g" %{l_value -s -a} \ +etc.petidomo/* $RPM_BUILD_ROOT%{l_prefix}/etc/petidomo/ # install run-command script %{l_shtool} mkdir -f -p -m 755 \ @@ -122,6 +124,7 @@ %{SOURCE fsl.petidomo} \ $RPM_BUILD_ROOT%{l_prefix}/etc/fsl/ +# determine installation files %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ '%not %dir %{l_prefix}/etc/fsl' \ @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org
[CVS] OpenPKG: openpkg-src/petidomo/ petidomo.spec
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 29-Jul-2004 16:40:00 Branch: HEAD Handle: 2004072915395900 Modified files: openpkg-src/petidomopetidomo.spec Log: fix permissions on rc script Summary: RevisionChanges Path 1.60+2 -2 openpkg-src/petidomo/petidomo.spec patch -p0 <<'@@ .' Index: openpkg-src/petidomo/petidomo.spec $ cvs diff -u -r1.59 -r1.60 petidomo.spec --- openpkg-src/petidomo/petidomo.spec19 Mar 2004 15:48:11 - 1.59 +++ openpkg-src/petidomo/petidomo.spec29 Jul 2004 14:39:59 - 1.60 @@ -34,7 +34,7 @@ Group:Mail License: GPL Version: 4.0b6 -Release: 20040319 +Release: 20040729 # package options %option with_fsl yes @@ -112,7 +112,7 @@ # install run-command script %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d -%{l_shtool} install -c -m - %{l_value -s -a} \ +%{l_shtool} install -c -m 755 %{l_value -s -a} \ %{SOURCE rc.petidomo} \ $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/ @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]