packages: libvpd/libvpd.spec, libvpd/libvpd-pc.patch (NEW) - added pc patch...

qboosh qboosh at pld-linux.org
Mon May 2 19:21:40 CEST 2011


Author: qboosh                       Date: Mon May  2 17:21:40 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added pc patch (fixes library name in *.pc)

---- Files affected:
packages/libvpd:
   libvpd.spec (1.1 -> 1.2) , libvpd-pc.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libvpd/libvpd.spec
diff -u packages/libvpd/libvpd.spec:1.1 packages/libvpd/libvpd.spec:1.2
--- packages/libvpd/libvpd.spec:1.1	Mon May  2 18:43:35 2011
+++ packages/libvpd/libvpd.spec	Mon May  2 19:21:35 2011
@@ -8,6 +8,7 @@
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
 # Source0-md5:	d4e66ec416eac3a87c790cbdc1c628f4
+Patch0:		%{name}-pc.patch
 URL:		http://linux-diag.sourceforge.net/Lsvpd.html
 BuildRequires:	libstdc++-devel
 BuildRequires:	sqlite3-devel >= 3
@@ -85,6 +86,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure
@@ -146,5 +148,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/05/02 17:21:35  qboosh
+- added pc patch (fixes library name in *.pc)
+
 Revision 1.1  2011/05/02 16:43:35  qboosh
 - new

================================================================
Index: packages/libvpd/libvpd-pc.patch
diff -u /dev/null packages/libvpd/libvpd-pc.patch:1.1
--- /dev/null	Mon May  2 19:21:40 2011
+++ packages/libvpd/libvpd-pc.patch	Mon May  2 19:21:35 2011
@@ -0,0 +1,20 @@
+--- libvpd-2.1.2/libvpd_cxx-2.pc.in.orig	2008-02-18 20:44:57.000000000 +0100
++++ libvpd-2.1.2/libvpd_cxx-2.pc.in	2011-05-02 19:10:29.614512725 +0200
+@@ -6,5 +6,5 @@
+ Name: libvpd
+ Description: C++ library for access to system VPD
+ Version: @VERSION@
+-Libs: -L${libdir} -lpthread -lsqlite3 -lstdc++ -l at GENERIC_LIBRARY_NAME@- at GENERIC_API_VERSION@
++Libs: -L${libdir} -lpthread -lsqlite3 -lstdc++ -lvpd_cxx- at GENERIC_API_VERSION@
+ Cflags: -I${includedir}/@GENERIC_LIBRARY_NAME at -@GENERIC_API_VERSION@
+\ No newline at end of file
+--- libvpd-2.1.2/libvpd-2.pc.in.orig	2008-02-18 20:44:57.000000000 +0100
++++ libvpd-2.1.2/libvpd-2.pc.in	2011-05-02 19:19:22.014530553 +0200
+@@ -6,5 +6,5 @@
+ Name: libvpd
+ Description: C library for access to system VPD
+ Version: @VERSION@
+-Libs: -L${libdir} -lpthread -lsqlite3 -l at GENERIC_LIBRARY_NAME@- at GENERIC_API_VERSION@
++Libs: -L${libdir} -lpthread -lsqlite3 -lvpd- at GENERIC_API_VERSION@
+ Cflags: -I${includedir}/@GENERIC_LIBRARY_NAME at -@GENERIC_API_VERSION@
+\ No newline at end of file
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libvpd/libvpd.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list