]> git.pld-linux.org Git - packages/a52dec.git/blob - a52dec.spec
- -libs Group: Libraries
[packages/a52dec.git] / a52dec.spec
1 %define         subver  20040611
2 %define         rel             4
3 Summary:        A library for handling encrypted DVDs
4 Summary(pl.UTF-8):      Biblioteka do obsługi zakodowanych DVD
5 Name:           a52dec
6 Version:        0.7.5
7 Release:        0.%{subver}.%{rel}
8 License:        GPL
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)
20
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
27 This package contains a52dec utilities.
28
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
33 AC-3.
34
35 Ten pakiet zawiera narzędzia a52dec.
36
37 %package libs
38 Summary:        a52dec library for handling encrypted DVDs
39 Summary(pl.UTF-8):      Biblioteka a52dec - do obsługi zakodowanych DVD
40 Group:          Libraries
41
42 %description libs
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.
47
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
52 AC-3.
53
54 %package libs-devel
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}
59
60 %description libs-devel
61 Header files for development using a52dec library.
62
63 %description libs-devel -l pl.UTF-8
64 Pliki nagłówkowe do programowania z użyciem biblioteki a52dec.
65
66 %package libs-static
67 Summary:        Static a52dec library
68 Summary(pl.UTF-8):      Statyczna biblioteka a52dec
69 Group:          Development/Libraries
70 Requires:       %{name}-libs-devel = %{version}-%{release}
71
72 %description libs-static
73 Static a52dec library.
74
75 %description libs-static -l pl.UTF-8
76 Statyczna biblioteka a52dec.
77
78 %prep
79 %setup -q -n %{name}-%{version}-cvs
80 %patch0 -p1
81 %patch1 -p1
82
83 %build
84 %{__libtoolize}
85 %{__aclocal}
86 %{__autoconf}
87 %{__automake}
88 %configure \
89         --enable-shared
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 %{__make} install \
96         DESTDIR=$RPM_BUILD_ROOT
97
98 %clean
99 rm -rf $RPM_BUILD_ROOT
100
101 %post   libs -p /sbin/ldconfig
102 %postun libs -p /sbin/ldconfig
103
104 %files
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*
111
112 %files libs
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/liba52.so.*.*.*
115 %ghost %{_libdir}/liba52.so.0
116
117 %files libs-devel
118 %defattr(644,root,root,755)
119 %{_libdir}/liba52.so
120 %{_libdir}/liba52.la
121 %{_includedir}/a52dec
122 %{_pkgconfigdir}/liba52.pc
123
124 %files libs-static
125 %defattr(644,root,root,755)
126 %{_libdir}/liba52.a
This page took 0.064124 seconds and 3 git commands to generate.