packages: libfakekey/libfakekey.spec, libfakekey/libfakekey-build.patch (NE...

baggins baggins at pld-linux.org
Fri Jul 22 11:29:52 CEST 2011


Author: baggins                      Date: Fri Jul 22 09:29:52 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- try to fix building test program

---- Files affected:
packages/libfakekey:
   libfakekey.spec (1.3 -> 1.4) , libfakekey-build.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libfakekey/libfakekey.spec
diff -u packages/libfakekey/libfakekey.spec:1.3 packages/libfakekey/libfakekey.spec:1.4
--- packages/libfakekey/libfakekey.spec:1.3	Mon Feb 12 23:09:10 2007
+++ packages/libfakekey/libfakekey.spec	Fri Jul 22 11:29:46 2011
@@ -8,7 +8,11 @@
 Group:		X11/Libraries
 Source0:	http://projects.o-hand.com/matchbox/sources/libfakekey/%{version}/%{name}-%{version}.tar.bz2
 # Source0-md5:	83dbde4d77e8baf0176fe4291d8a2303
+Patch0:		%{name}-build.patch
 URL:		http://projects.o-hand.com/matchbox/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	libtool
 BuildRequires:	pkgconfig
 BuildRequires:	xorg-lib-libX11-devel
 BuildRequires:	xorg-lib-libXtst-devel
@@ -48,8 +52,13 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure
 %{__make}
 
@@ -69,6 +78,7 @@
 %defattr(644,root,root,755)
 %doc ChangeLog
 %attr(755,root,root) %{_libdir}/libfakekey.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libfakekey.so.[0-9]
 
 %files devel
 %defattr(644,root,root,755)
@@ -87,6 +97,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2011/07/22 09:29:46  baggins
+- try to fix building test program
+
 Revision 1.3  2007/02/12 22:09:10  glen
 - tabs in preamble
 

================================================================
Index: packages/libfakekey/libfakekey-build.patch
diff -u /dev/null packages/libfakekey/libfakekey-build.patch:1.1
--- /dev/null	Fri Jul 22 11:29:52 2011
+++ packages/libfakekey/libfakekey-build.patch	Fri Jul 22 11:29:46 2011
@@ -0,0 +1,9 @@
+--- libfakekey-0.1/tests/Makefile.am~	2005-10-03 00:07:34.000000000 +0200
++++ libfakekey-0.1/tests/Makefile.am	2011-07-22 11:22:29.738463543 +0200
+@@ -2,4 +2,4 @@
+ 
+ noinst_PROGRAMS=fakekey-test
+ 
+-fakekey_test_LDADD=../src/libfakekey.la
+\ No newline at end of file
++fakekey_test_LDADD=../src/libfakekey.la -lX11 -lXtst
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libfakekey/libfakekey.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list