OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: r...@openpkg.org Module: openpkg-src Date: 24-Jan-2009 22:10:17 Branch: HEAD Handle: 2009012421101700 Added files: openpkg-src/sasl sasl.pc Modified files: openpkg-src/sasl sasl.spec Log: provide sasl.pc file to allow this package to announce that it required -ldb under Linux Summary: Revision Changes Path 1.1 +10 -0 openpkg-src/sasl/sasl.pc 1.166 +17 -2 openpkg-src/sasl/sasl.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/sasl/sasl.pc ============================================================================ $ cvs diff -u -r0 -r1.1 sasl.pc --- /dev/null 2009-01-24 22:10:16 +0100 +++ sasl.pc 2009-01-24 22:10:17 +0100 @@ -0,0 +1,10 @@ +pref...@l_prefix@ +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: sasl +Description: SASL +Version: @version@ +Libs: -L${libdir} @libs@ +Cflags: -I${includedir} @@ . patch -p0 <<'@@ .' Index: openpkg-src/sasl/sasl.spec ============================================================================ $ cvs diff -u -r1.165 -r1.166 sasl.spec --- openpkg-src/sasl/sasl.spec 6 Jan 2009 09:25:31 -0000 1.165 +++ openpkg-src/sasl/sasl.spec 24 Jan 2009 21:10:17 -0000 1.166 @@ -32,7 +32,7 @@ Group: Cryptography License: BSD Version: 2.1.22 -Release: 20090106 +Release: 20090124 # package options %option with_fsl yes @@ -53,6 +53,7 @@ Source1: rc.sasl Source2: fsl.sasl Source3: saslauthd.conf +Source4: sasl.pc Patch0: sasl.patch # build information @@ -377,11 +378,25 @@ $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/ # install OSSP fsl configuration - %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/fsl + %{l_shtool} mkdir -f -p -m 755 \ + $RPM_BUILD_ROOT%{l_prefix}/etc/fsl %{l_shtool} install -c -m 644 %{l_value -s -a} \ %{SOURCE fsl.sasl} \ $RPM_BUILD_ROOT%{l_prefix}/etc/fsl/ + # install pkg-config configuration + libs="-lsasl2" + case "%{l_platform -t}" in + *-linux* ) libs="$libs -ldl" ;; + esac + %{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};" \ + -e "s;@libs@;$libs;" \ + %{SOURCE sasl.pc} \ + $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig/ + # determine installation files %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org