]>
Commit | Line | Data |
---|---|---|
8f10272d | 1 | %define _snap 20040611 |
79c62e29 | 2 | Summary: A library for handling encrypted DVDs |
c4dc132f | 3 | Summary(pl.UTF-8): Biblioteka do obsługi zakodowanych DVD |
943438e1 | 4 | Name: a52dec |
8f10272d | 5 | Version: 0.7.5 |
56936f70 | 6 | Release: 0.%{_snap}.2 |
943438e1 | 7 | License: GPL |
99d5db45 | 8 | Group: X11/Applications/Multimedia |
8f10272d KK |
9 | Source0: http://liba52.sourceforge.net/files/%{name}-snapshot.tar.gz |
10 | # Source0-md5: 1729c7507f76b0d4cc04540926c5d0d7 | |
79c62e29 | 11 | Patch0: %{name}-opt.patch |
b7d6bdd5 | 12 | Patch1: %{name}-pic.patch |
91789211 | 13 | URL: http://liba52.sourceforge.net/ |
8ef8e599 JB |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
16 | BuildRequires: libtool | |
79c62e29 | 17 | Requires: %{name}-libs = %{version}-%{release} |
943438e1 JR |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
943438e1 JR |
20 | %description |
21 | liba52 is a free library for decoding ATSC A/52 streams. It is | |
22 | released under the terms of the GPL license. The A/52 standard is used | |
23 | in a variety of applications, including digital television and DVD. It | |
24 | is also known as AC-3. | |
25 | ||
79c62e29 JB |
26 | This package contains a52dec utilities. |
27 | ||
89b38864 JR |
28 | %description -l pl.UTF-8 |
29 | liba52 jest wolnodostępną (na licencji GPL) biblioteką do dekodowania | |
30 | strumieni ATSC A/52. Standard A/52 jest używany w wielu | |
31 | zastosowaniach, w tym cyfrowej telewizji i DVD. Jest znany także jako | |
8ef8e599 JB |
32 | AC-3. |
33 | ||
89b38864 | 34 | Ten pakiet zawiera narzędzia a52dec. |
79c62e29 | 35 | |
e6bd5d0e | 36 | %package libs |
79c62e29 | 37 | Summary: a52dec library for handling encrypted DVDs |
c4dc132f | 38 | Summary(pl.UTF-8): Biblioteka a52dec - do obsługi zakodowanych DVD |
e6bd5d0e | 39 | Group: Development/Libraries |
e6bd5d0e | 40 | |
41 | %description libs | |
79c62e29 JB |
42 | liba52 is a free library for decoding ATSC A/52 streams. It is |
43 | released under the terms of the GPL license. The A/52 standard is used | |
44 | in a variety of applications, including digital television and DVD. It | |
45 | is also known as AC-3. | |
e6bd5d0e | 46 | |
89b38864 JR |
47 | %description libs -l pl.UTF-8 |
48 | liba52 jest wolnodostępną (na licencji GPL) biblioteką do dekodowania | |
49 | strumieni ATSC A/52. Standard A/52 jest używany w wielu | |
50 | zastosowaniach, w tym cyfrowej telewizji i DVD. Jest znany także jako | |
79c62e29 | 51 | AC-3. |
e6bd5d0e | 52 | |
53 | %package libs-devel | |
79c62e29 | 54 | Summary: Header files for a52dec library |
c4dc132f | 55 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki a52dec |
943438e1 | 56 | Group: Development/Libraries |
e6bd5d0e | 57 | Requires: %{name}-libs = %{version}-%{release} |
58 | ||
59 | %description libs-devel | |
79c62e29 | 60 | Header files for development using a52dec library. |
e6bd5d0e | 61 | |
89b38864 JR |
62 | %description libs-devel -l pl.UTF-8 |
63 | Pliki nagłówkowe do programowania z użyciem biblioteki a52dec. | |
e6bd5d0e | 64 | |
65 | %package libs-static | |
79c62e29 | 66 | Summary: Static a52dec library |
c4dc132f | 67 | Summary(pl.UTF-8): Statyczna biblioteka a52dec |
e6bd5d0e | 68 | Group: Development/Libraries |
79c62e29 | 69 | Requires: %{name}-libs-devel = %{version}-%{release} |
943438e1 | 70 | |
e6bd5d0e | 71 | %description libs-static |
79c62e29 | 72 | Static a52dec library. |
943438e1 | 73 | |
89b38864 | 74 | %description libs-static -l pl.UTF-8 |
79c62e29 | 75 | Statyczna biblioteka a52dec. |
8ef8e599 | 76 | |
943438e1 | 77 | %prep |
8f10272d | 78 | %setup -q -n %{name}-%{version}-cvs |
5e37f628 | 79 | %patch0 -p1 |
b7d6bdd5 | 80 | %patch1 -p1 |
943438e1 JR |
81 | |
82 | %build | |
bd6843b9 | 83 | %{__libtoolize} |
72022e74 | 84 | %{__aclocal} |
ab602ebc | 85 | %{__autoconf} |
86 | %{__automake} | |
4ff03b47 | 87 | %configure \ |
88 | --enable-shared | |
943438e1 JR |
89 | %{__make} |
90 | ||
91 | %install | |
92 | rm -rf $RPM_BUILD_ROOT | |
79c62e29 | 93 | |
7ac83b00 PG |
94 | %{__make} install \ |
95 | DESTDIR=$RPM_BUILD_ROOT | |
943438e1 | 96 | |
943438e1 JR |
97 | %clean |
98 | rm -rf $RPM_BUILD_ROOT | |
99 | ||
79a3fbfc KK |
100 | %post libs -p /sbin/ldconfig |
101 | %postun libs -p /sbin/ldconfig | |
943438e1 JR |
102 | |
103 | %files | |
104 | %defattr(644,root,root,755) | |
05b91faa | 105 | %doc AUTHORS NEWS README TODO |
943438e1 | 106 | %attr(755,root,root) %{_bindir}/* |
2dad43d9 | 107 | %{_mandir}/man?/* |
943438e1 | 108 | |
e6bd5d0e | 109 | %files libs |
943438e1 | 110 | %defattr(644,root,root,755) |
ccdabb51 | 111 | %attr(755,root,root) %{_libdir}/*.so.*.* |
e6bd5d0e | 112 | |
113 | %files libs-devel | |
114 | %defattr(644,root,root,755) | |
115 | %attr(755,root,root) %{_libdir}/*.so | |
79c62e29 | 116 | %{_libdir}/*.la |
943438e1 | 117 | %{_includedir}/* |
8f10272d | 118 | %{_pkgconfigdir}/*.pc |
e6bd5d0e | 119 | |
120 | %files libs-static | |
121 | %defattr(644,root,root,755) | |
943438e1 | 122 | %{_libdir}/*.a |