-Summary: A library for handling encrypted dvds
+%define _snap 20040611
+Summary: A library for handling encrypted DVDs
Summary(pl): Biblioteka do obs³ugi zakodowanych DVD
Name: a52dec
-Version: 0.7.2
-Release: 1
+Version: 0.7.5
+Release: 0.%{_snap}.1
License: GPL
Group: X11/Applications/Multimedia
-Group(de): X11/Applikationen/Multimedia
-Group(pl): X11/Aplikacje/Multimedia
-Source0: http://liba52.sourceforge.net/files/%{name}-%{version}.tar.gz
-URL: http://www.dtek.chalmers.se/~dvd/
+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
BuildRequires: libtool
+Requires: %{name}-libs = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
-%define _mandir %{_prefix}/man
-
%description
liba52 is a free library for decoding ATSC A/52 streams. It is
released under the terms of the GPL license. The A/52 standard is used
in a variety of applications, including digital television and DVD. It
is also known as AC-3.
+This package contains a52dec utilities.
+
%description -l pl
liba52 jest wolnodostêpn± (na licencji GPL) bibliotek± do dekodowania
strumieni ATSC A/52. Standard A/52 jest u¿ywany w wielu
zastosowaniach, w tym cyfrowej telewizji i DVD. Jest znany tak¿e jako
AC-3.
+Ten pakiet zawiera narzêdzia a52dec.
+
%package libs
-Summary: Biblioteki a52dec
-Summary(pl): Pakiet z bibliotekami a52dec
+Summary: a52dec library for handling encrypted DVDs
+Summary(pl): Biblioteka a52dec - do obs³ugi zakodowanych DVD
Group: Development/Libraries
-Group(de): Entwicklung/Libraries
-Group(es): Desarrollo/Bibliotecas
-Group(fr): Development/Librairies
-Group(pl): Programowanie/Biblioteki
-Group(pt_BR): Desenvolvimento/Bibliotecas
-Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
-Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
%description libs
-%{name}-devel includes development files for %{name}.
+liba52 is a free library for decoding ATSC A/52 streams. It is
+released under the terms of the GPL license. The A/52 standard is used
+in a variety of applications, including digital television and DVD. It
+is also known as AC-3.
%description libs -l pl
-Pliki dla programistów a52dec.
+liba52 jest wolnodostêpn± (na licencji GPL) bibliotek± do dekodowania
+strumieni ATSC A/52. Standard A/52 jest u¿ywany w wielu
+zastosowaniach, w tym cyfrowej telewizji i DVD. Jest znany tak¿e jako
+AC-3.
%package libs-devel
-Summary: %{name} development package
-Summary(pl): Pakiet %{name} dla programistów
+Summary: Header files for a52dec library
+Summary(pl): Pliki nag³ówkowe biblioteki a52dec
Group: Development/Libraries
-Group(de): Entwicklung/Libraries
-Group(es): Desarrollo/Bibliotecas
-Group(fr): Development/Librairies
-Group(pl): Programowanie/Biblioteki
-Group(pt_BR): Desenvolvimento/Bibliotecas
-Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
-Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
Requires: %{name}-libs = %{version}-%{release}
%description libs-devel
-%{name}-devel includes development files for %{name}.
+Header files for development using a52dec library.
%description libs-devel -l pl
-Pliki dla programistów a52dec.
+Pliki nag³ówkowe do programowania z u¿yciem biblioteki a52dec.
%package libs-static
-Summary: Biblioteki a52dec
-Summary(pl): Pakiet z bibliotekami a52dec
+Summary: Static a52dec library
+Summary(pl): Statyczna biblioteka a52dec
Group: Development/Libraries
-Group(de): Entwicklung/Libraries
-Group(es): Desarrollo/Bibliotecas
-Group(fr): Development/Librairies
-Group(pl): Programowanie/Biblioteki
-Group(pt_BR): Desenvolvimento/Bibliotecas
-Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
-Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
+Requires: %{name}-libs-devel = %{version}-%{release}
%description libs-static
-%{name}-devel includes development files for %{name}.
+Static a52dec library.
%description libs-static -l pl
-Pliki dla programistów a52dec.
+Statyczna biblioteka a52dec.
%prep
-%setup -q
+%setup -q -n %{name}-%{version}-cvs
+%patch -p1
+%patch1 -p1
%build
-libtoolize --copy --force
-aclocal
-autoconf
-automake -a -c
-%configure --enable-shared
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+ --enable-shared
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-gzip -9nf AUTHORS NEWS README TODO
+%{__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)
-%doc {AUTHORS,NEWS,README,TODO}.gz
+%doc AUTHORS NEWS README TODO
%attr(755,root,root) %{_bindir}/*
-%{_mandir}/*
+%{_mandir}/man?/*
%files libs
%defattr(644,root,root,755)
%files libs-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/*.so
+%{_libdir}/*.la
%{_includedir}/*
+%{_pkgconfigdir}/*.pc
%files libs-static
%defattr(644,root,root,755)
%{_libdir}/*.a
-%attr(755,root,root) %{_libdir}/*.la