]>
Commit | Line | Data |
---|---|---|
be1c226f | 1 | %define subver 20040611 |
152e5150 | 2 | %define rel 4 |
79c62e29 | 3 | Summary: A library for handling encrypted DVDs |
c4dc132f | 4 | Summary(pl.UTF-8): Biblioteka do obsługi zakodowanych DVD |
943438e1 | 5 | Name: a52dec |
8f10272d | 6 | Version: 0.7.5 |
be1c226f | 7 | Release: 0.%{subver}.%{rel} |
943438e1 | 8 | License: GPL |
99d5db45 | 9 | Group: X11/Applications/Multimedia |
8f10272d KK |
10 | Source0: http://liba52.sourceforge.net/files/%{name}-snapshot.tar.gz |
11 | # Source0-md5: 1729c7507f76b0d4cc04540926c5d0d7 | |
79c62e29 | 12 | Patch0: %{name}-opt.patch |
b7d6bdd5 | 13 | Patch1: %{name}-pic.patch |
91789211 | 14 | URL: http://liba52.sourceforge.net/ |
8ef8e599 JB |
15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
17 | BuildRequires: libtool | |
79c62e29 | 18 | Requires: %{name}-libs = %{version}-%{release} |
943438e1 JR |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
943438e1 JR |
21 | %description |
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. | |
26 | ||
79c62e29 JB |
27 | This package contains a52dec utilities. |
28 | ||
89b38864 JR |
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 | |
8ef8e599 JB |
33 | AC-3. |
34 | ||
89b38864 | 35 | Ten pakiet zawiera narzędzia a52dec. |
79c62e29 | 36 | |
e6bd5d0e | 37 | %package libs |
79c62e29 | 38 | Summary: a52dec library for handling encrypted DVDs |
c4dc132f | 39 | Summary(pl.UTF-8): Biblioteka a52dec - do obsługi zakodowanych DVD |
152e5150 | 40 | Group: Libraries |
e6bd5d0e | 41 | |
42 | %description libs | |
79c62e29 JB |
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. | |
e6bd5d0e | 47 | |
89b38864 JR |
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 | |
79c62e29 | 52 | AC-3. |
e6bd5d0e | 53 | |
54 | %package libs-devel | |
79c62e29 | 55 | Summary: Header files for a52dec library |
c4dc132f | 56 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki a52dec |
943438e1 | 57 | Group: Development/Libraries |
e6bd5d0e | 58 | Requires: %{name}-libs = %{version}-%{release} |
59 | ||
60 | %description libs-devel | |
79c62e29 | 61 | Header files for development using a52dec library. |
e6bd5d0e | 62 | |
89b38864 JR |
63 | %description libs-devel -l pl.UTF-8 |
64 | Pliki nagłówkowe do programowania z użyciem biblioteki a52dec. | |
e6bd5d0e | 65 | |
66 | %package libs-static | |
79c62e29 | 67 | Summary: Static a52dec library |
c4dc132f | 68 | Summary(pl.UTF-8): Statyczna biblioteka a52dec |
e6bd5d0e | 69 | Group: Development/Libraries |
79c62e29 | 70 | Requires: %{name}-libs-devel = %{version}-%{release} |
943438e1 | 71 | |
e6bd5d0e | 72 | %description libs-static |
79c62e29 | 73 | Static a52dec library. |
943438e1 | 74 | |
89b38864 | 75 | %description libs-static -l pl.UTF-8 |
79c62e29 | 76 | Statyczna biblioteka a52dec. |
8ef8e599 | 77 | |
943438e1 | 78 | %prep |
8f10272d | 79 | %setup -q -n %{name}-%{version}-cvs |
5e37f628 | 80 | %patch0 -p1 |
b7d6bdd5 | 81 | %patch1 -p1 |
943438e1 JR |
82 | |
83 | %build | |
bd6843b9 | 84 | %{__libtoolize} |
72022e74 | 85 | %{__aclocal} |
ab602ebc | 86 | %{__autoconf} |
87 | %{__automake} | |
4ff03b47 | 88 | %configure \ |
89 | --enable-shared | |
943438e1 JR |
90 | %{__make} |
91 | ||
92 | %install | |
93 | rm -rf $RPM_BUILD_ROOT | |
79c62e29 | 94 | |
7ac83b00 PG |
95 | %{__make} install \ |
96 | DESTDIR=$RPM_BUILD_ROOT | |
943438e1 | 97 | |
943438e1 JR |
98 | %clean |
99 | rm -rf $RPM_BUILD_ROOT | |
100 | ||
be1c226f ER |
101 | %post libs -p /sbin/ldconfig |
102 | %postun libs -p /sbin/ldconfig | |
943438e1 JR |
103 | |
104 | %files | |
105 | %defattr(644,root,root,755) | |
05b91faa | 106 | %doc AUTHORS NEWS README TODO |
be1c226f ER |
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* | |
943438e1 | 111 | |
e6bd5d0e | 112 | %files libs |
943438e1 | 113 | %defattr(644,root,root,755) |
be1c226f ER |
114 | %attr(755,root,root) %{_libdir}/liba52.so.*.*.* |
115 | %ghost %{_libdir}/liba52.so.0 | |
e6bd5d0e | 116 | |
117 | %files libs-devel | |
118 | %defattr(644,root,root,755) | |
be1c226f ER |
119 | %{_libdir}/liba52.so |
120 | %{_libdir}/liba52.la | |
121 | %{_includedir}/a52dec | |
122 | %{_pkgconfigdir}/liba52.pc | |
e6bd5d0e | 123 | |
124 | %files libs-static | |
125 | %defattr(644,root,root,755) | |
be1c226f | 126 | %{_libdir}/liba52.a |