- x32 rebuild
[packages/a52dec.git] / a52dec.spec
CommitLineData
be1c226f 1%define subver 20040611
7d9c71e4 2%define rel 5
79c62e29 3Summary: A library for handling encrypted DVDs
c4dc132f 4Summary(pl.UTF-8): Biblioteka do obsługi zakodowanych DVD
943438e1 5Name: a52dec
8f10272d 6Version: 0.7.5
be1c226f 7Release: 0.%{subver}.%{rel}
943438e1 8License: GPL
99d5db45 9Group: X11/Applications/Multimedia
8f10272d
KK
10Source0: http://liba52.sourceforge.net/files/%{name}-snapshot.tar.gz
11# Source0-md5: 1729c7507f76b0d4cc04540926c5d0d7
79c62e29 12Patch0: %{name}-opt.patch
b7d6bdd5 13Patch1: %{name}-pic.patch
91789211 14URL: http://liba52.sourceforge.net/
8ef8e599
JB
15BuildRequires: autoconf
16BuildRequires: automake
17BuildRequires: libtool
79c62e29 18Requires: %{name}-libs = %{version}-%{release}
943438e1
JR
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
943438e1
JR
21%description
22liba52 is a free library for decoding ATSC A/52 streams. It is
23released under the terms of the GPL license. The A/52 standard is used
24in a variety of applications, including digital television and DVD. It
25is also known as AC-3.
26
79c62e29
JB
27This package contains a52dec utilities.
28
89b38864
JR
29%description -l pl.UTF-8
30liba52 jest wolnodostępną (na licencji GPL) biblioteką do dekodowania
31strumieni ATSC A/52. Standard A/52 jest używany w wielu
32zastosowaniach, w tym cyfrowej telewizji i DVD. Jest znany także jako
8ef8e599
JB
33AC-3.
34
89b38864 35Ten pakiet zawiera narzędzia a52dec.
79c62e29 36
e6bd5d0e 37%package libs
79c62e29 38Summary: a52dec library for handling encrypted DVDs
c4dc132f 39Summary(pl.UTF-8): Biblioteka a52dec - do obsługi zakodowanych DVD
152e5150 40Group: Libraries
e6bd5d0e 41
42%description libs
79c62e29
JB
43liba52 is a free library for decoding ATSC A/52 streams. It is
44released under the terms of the GPL license. The A/52 standard is used
45in a variety of applications, including digital television and DVD. It
46is also known as AC-3.
e6bd5d0e 47
89b38864
JR
48%description libs -l pl.UTF-8
49liba52 jest wolnodostępną (na licencji GPL) biblioteką do dekodowania
50strumieni ATSC A/52. Standard A/52 jest używany w wielu
51zastosowaniach, w tym cyfrowej telewizji i DVD. Jest znany także jako
79c62e29 52AC-3.
e6bd5d0e 53
54%package libs-devel
79c62e29 55Summary: Header files for a52dec library
c4dc132f 56Summary(pl.UTF-8): Pliki nagłówkowe biblioteki a52dec
943438e1 57Group: Development/Libraries
e6bd5d0e 58Requires: %{name}-libs = %{version}-%{release}
59
60%description libs-devel
79c62e29 61Header files for development using a52dec library.
e6bd5d0e 62
89b38864
JR
63%description libs-devel -l pl.UTF-8
64Pliki nagłówkowe do programowania z użyciem biblioteki a52dec.
e6bd5d0e 65
66%package libs-static
79c62e29 67Summary: Static a52dec library
c4dc132f 68Summary(pl.UTF-8): Statyczna biblioteka a52dec
e6bd5d0e 69Group: Development/Libraries
79c62e29 70Requires: %{name}-libs-devel = %{version}-%{release}
943438e1 71
e6bd5d0e 72%description libs-static
79c62e29 73Static a52dec library.
943438e1 74
89b38864 75%description libs-static -l pl.UTF-8
79c62e29 76Statyczna 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
93rm -rf $RPM_BUILD_ROOT
79c62e29 94
7ac83b00
PG
95%{__make} install \
96 DESTDIR=$RPM_BUILD_ROOT
943438e1 97
943438e1
JR
98%clean
99rm -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
This page took 0.118763 seconds and 5 git commands to generate.