[packages/libcaptury] - added unresolved.patch - autotools in BRs - ghost soname symlink - rel 4

witekfl witekfl at pld-linux.org
Tue Jan 14 13:25:14 CET 2014


commit e6f2ebf574c469d0193eab131c546300b82117b8
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Tue Jan 14 13:24:18 2014 +0100

    - added unresolved.patch
    - autotools in BRs
    - ghost soname symlink
    - rel 4

 libcaptury.spec | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/libcaptury.spec b/libcaptury.spec
index d7ba5bd..03cda55 100644
--- a/libcaptury.spec
+++ b/libcaptury.spec
@@ -1,13 +1,17 @@
 Summary:	X11/GLX video capturing framework
 Name:		libcaptury
 Version:	0.3.0
-Release:	3
+Release:	4
 License:	GPL
 Group:		Libraries
 Source0:	ftp://ftp.debian.org/debian/pool/main/libc/libcaptury/%{name}_%{version}~svn158.orig.tar.gz
 # Source0-md5:	6911c9965c6d765bd91200ab2f292634
+Patch0:		unresolved.patch
 URL:		http://rm-rf.in/libcaptury
+BuildRequires:	autoconf
+BuildRequires:	automake
 BuildRequires:	capseo-devel
+BuildRequires:	libtool
 BuildRequires:	xorg-lib-libXfixes-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -42,8 +46,14 @@ Static libcaptury library.
 
 %prep
 %setup -q -n %{name}-%{version}~svn158.orig
+%patch0 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure
 %{__make}
 
@@ -62,6 +72,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/lib*.so.0
 
 %files devel
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libcaptury.git/commitdiff/e6f2ebf574c469d0193eab131c546300b82117b8



More information about the pld-cvs-commit mailing list