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: 20-Aug-2005 23:41:57 Branch: HEAD Handle: 2005082022415700 Added files: openpkg-src/popt popt.pc Modified files: openpkg-src/popt popt.spec Log: add a pkg-config(1) file for convenience reasons Summary: Revision Changes Path 1.1 +10 -0 openpkg-src/popt/popt.pc 1.27 +7 -1 openpkg-src/popt/popt.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/popt/popt.pc ============================================================================ $ cvs diff -u -r0 -r1.1 popt.pc --- /dev/null 2005-08-20 23:41:55 +0200 +++ popt.pc 2005-08-20 23:41:57 +0200 @@ -0,0 +1,10 @@ [EMAIL PROTECTED]@ +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: newt +Description: POPT - Parse Command-Line Options +Version: @version@ +Libs: -L${libdir} -lpopt +Cflags: -I${includedir} @@ . patch -p0 <<'@@ .' Index: openpkg-src/popt/popt.spec ============================================================================ $ cvs diff -u -r1.26 -r1.27 popt.spec --- openpkg-src/popt/popt.spec 26 Jul 2005 06:44:29 -0000 1.26 +++ openpkg-src/popt/popt.spec 20 Aug 2005 21:41:57 -0000 1.27 @@ -37,10 +37,11 @@ Group: System License: LGPL Version: %{V_popt} -Release: 20050726 +Release: 20050820 # list of sources Source0: ftp://jbj.org/pub/rpm-%{V_rpm}/popt-%{V_popt}.tar.gz +Source1: popt.pc # build information Prefix: %{l_prefix} @@ -85,6 +86,11 @@ rm -rf $RPM_BUILD_ROOT %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true + %{l_shtool} mkdir -f -p -m 755 \ + $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig + %{l_shtool} install -c -m 644 %{l_value -s -a} \ + -e 's;@version@;%{version};g' \ + %{SOURCE popt.pc} $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig/ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} %files -f files @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org