]> git.pld-linux.org Git - packages/ac3dec.git/blobdiff - ac3dec.spec
- rel 8
[packages/ac3dec.git] / ac3dec.spec
index 2745d602692a0a79b827cdd5bfc118e978b1a1a4..b66fc79ad2d24aee9b7208fc8ddf91f8836954f0 100644 (file)
@@ -1,35 +1,35 @@
-Summary:       a free AC-3 stream decoder
-Summary(pl):   darmowy dekoder strumieni AC-3
+Summary:       A free AC-3 stream decoder
+Summary(pl):   Darmowy dekoder strumieni AC-3
 Name:          ac3dec
 Version:       0.6.1
-Release:       4
+Release:       8
 Epoch:         1
 License:       GPL
 Group:         X11/Applications/Multimedia
-Source0:       http://gusnet.cx/aaron/codecs/tarballs/%{name}-%{version}.tar.gz
+Source0:       http://gusnet.cx/aaron/codecs/ac3/tarballs/%{name}-%{version}.tar.gz
+# Source0-md5: 92b8d3af8d0d06318bb2bb04b8093eef
 Patch0:                %{name}-make.patch
 Patch1:                %{name}-am_fix.patch
 Patch2:                %{name}-ppc.patch
-URL:           http://gusnet.cx/aaron/codecs/ac3dec.php
+Patch3:                %{name}-fixbuild.patch
+Patch4:                %{name}-amd64.patch
+URL:           http://gusnet.cx/aaron/codecs/ac3/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
-
 %description
-A free AC-3 stream decoder.
+ac3dec is a free AC-3 stream decoder.
 
 %description -l pl
-Darmowy dekoder strumieni AC-3.
+ac3dec jest darmowym dekoderem strumieni AC-3.
 
 %package devel
 Summary:       Header file required to build programs using ac3dec library
 Summary(pl):   Pliki nag³ówkowe wymagane przez programy u¿ywaj±ce ac3dec
 Group:         X11/Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{epoch}:%{version}
 
 %description devel
 Header files required to build programs using ac3dec library
@@ -39,10 +39,10 @@ Pliki nag
 biblioteki ac3dec.
 
 %package static
-Summary:       Static ac3dec library.
-Summary(pl):   Statyczna biblioteka ac3dec.
+Summary:       Static ac3dec library
+Summary(pl):   Statyczna biblioteka ac3dec
 Group:         X11/Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{epoch}:%{version}
 
 %description static
 Static ac3dec library.
@@ -55,9 +55,12 @@ Statyczna biblioteka ac3dec.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
 rm -f missing
+cp -f /usr/share/automake/config.sub .
 %{__libtoolize}
 %{__aclocal}
 %{__autoheader}
@@ -71,26 +74,24 @@ rm -f missing
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR="$RPM_BUILD_ROOT"
+       DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf TODO README Change*
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+%doc TODO README Change*
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.so
-%attr(755,root,root) %{_libdir}/lib*.la
+%{_libdir}/lib*.la
 %{_includedir}/ac3
 
 %files static
This page took 0.252745 seconds and 4 git commands to generate.