]> git.pld-linux.org Git - packages/a52dec.git/blobdiff - a52dec.spec
- mass attack: s/%patch /%patch0 / -- usefull for overloaded %patch macro
[packages/a52dec.git] / a52dec.spec
index 7214e389a419f7670dcd9f43ec3cc40df137c52f..c61ee0083f2d3dd13cba78ae08c837a20b07d7f3 100644 (file)
@@ -1,13 +1,15 @@
+%define                _snap   20040611
 Summary:       A library for handling encrypted DVDs
 Summary(pl):   Biblioteka do obsĀ³ugi zakodowanych DVD
 Name:          a52dec
-Version:       0.7.4
-Release:       2
+Version:       0.7.5
+Release:       0.%{_snap}.1
 License:       GPL
 Group:         X11/Applications/Multimedia
-Source0:       http://liba52.sourceforge.net/files/%{name}-%{version}.tar.gz
-# Source0-md5: caa9f5bc44232dc8aeea773fea56be80
+Source0:       http://liba52.sourceforge.net/files/%{name}-snapshot.tar.gz
+# Source0-md5: 1729c7507f76b0d4cc04540926c5d0d7
 Patch0:                %{name}-opt.patch
+Patch1:                %{name}-pic.patch
 URL:           http://liba52.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -73,11 +75,11 @@ Static a52dec library.
 Statyczna biblioteka a52dec.
 
 %prep
-%setup -q
-%patch -p1
+%setup -q -n %{name}-%{version}-cvs
+%patch0 -p1
+%patch1 -p1
 
 %build
-rm -f missing
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
@@ -89,13 +91,14 @@ rm -f missing
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post  -p /sbin/ldconfig
-%postun        -p /sbin/ldconfig
+%post libs     -p /sbin/ldconfig
+%postun libs   -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
@@ -112,6 +115,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/*.so
 %{_libdir}/*.la
 %{_includedir}/*
+%{_pkgconfigdir}/*.pc
 
 %files libs-static
 %defattr(644,root,root,755)
This page took 0.040822 seconds and 4 git commands to generate.