1 %define subver 20040611
3 Summary: A library for handling encrypted DVDs
4 Summary(pl.UTF-8): Biblioteka do obsługi zakodowanych DVD
7 Release: 0.%{subver}.%{rel}
9 Group: X11/Applications/Multimedia
10 Source0: http://liba52.sourceforge.net/files/%{name}-snapshot.tar.gz
11 # Source0-md5: 1729c7507f76b0d4cc04540926c5d0d7
12 Patch0: %{name}-opt.patch
13 Patch1: %{name}-pic.patch
14 URL: http://liba52.sourceforge.net/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: libtool
18 Requires: %{name}-libs = %{version}-%{release}
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 liba52 is a free library for decoding ATSC A/52 streams. It is
23 released under the terms of the GPL license. The A/52 standard is used
24 in a variety of applications, including digital television and DVD. It
25 is also known as AC-3.
27 This package contains a52dec utilities.
29 %description -l pl.UTF-8
30 liba52 jest wolnodostępną (na licencji GPL) biblioteką do dekodowania
31 strumieni ATSC A/52. Standard A/52 jest używany w wielu
32 zastosowaniach, w tym cyfrowej telewizji i DVD. Jest znany także jako
35 Ten pakiet zawiera narzędzia a52dec.
38 Summary: a52dec library for handling encrypted DVDs
39 Summary(pl.UTF-8): Biblioteka a52dec - do obsługi zakodowanych DVD
40 Group: Development/Libraries
43 liba52 is a free library for decoding ATSC A/52 streams. It is
44 released under the terms of the GPL license. The A/52 standard is used
45 in a variety of applications, including digital television and DVD. It
46 is also known as AC-3.
48 %description libs -l pl.UTF-8
49 liba52 jest wolnodostępną (na licencji GPL) biblioteką do dekodowania
50 strumieni ATSC A/52. Standard A/52 jest używany w wielu
51 zastosowaniach, w tym cyfrowej telewizji i DVD. Jest znany także jako
55 Summary: Header files for a52dec library
56 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki a52dec
57 Group: Development/Libraries
58 Requires: %{name}-libs = %{version}-%{release}
60 %description libs-devel
61 Header files for development using a52dec library.
63 %description libs-devel -l pl.UTF-8
64 Pliki nagłówkowe do programowania z użyciem biblioteki a52dec.
67 Summary: Static a52dec library
68 Summary(pl.UTF-8): Statyczna biblioteka a52dec
69 Group: Development/Libraries
70 Requires: %{name}-libs-devel = %{version}-%{release}
72 %description libs-static
73 Static a52dec library.
75 %description libs-static -l pl.UTF-8
76 Statyczna biblioteka a52dec.
79 %setup -q -n %{name}-%{version}-cvs
93 rm -rf $RPM_BUILD_ROOT
96 DESTDIR=$RPM_BUILD_ROOT
99 rm -rf $RPM_BUILD_ROOT
101 %post libs -p /sbin/ldconfig
102 %postun libs -p /sbin/ldconfig
105 %defattr(644,root,root,755)
106 %doc AUTHORS NEWS README TODO
107 %attr(755,root,root) %{_bindir}/a52dec
108 %attr(755,root,root) %{_bindir}/extract_a52
109 %{_mandir}/man1/a52dec.1*
110 %{_mandir}/man1/extract_a52.1*
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/liba52.so.*.*.*
115 %ghost %{_libdir}/liba52.so.0
118 %defattr(644,root,root,755)
121 %{_includedir}/a52dec
122 %{_pkgconfigdir}/liba52.pc
125 %defattr(644,root,root,755)