]> git.pld-linux.org Git - packages/a52dec.git/blob - a52dec.spec
- many small fixes, mostly inpired by kloczek
[packages/a52dec.git] / a52dec.spec
1 Summary:        A library for handling encrypted DVDs
2 Summary(pl):    Biblioteka do obs³ugi zakodowanych DVD
3 Name:           a52dec
4 Version:        0.7.4
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications/Multimedia
8 Source0:        http://liba52.sourceforge.net/files/%{name}-%{version}.tar.gz
9 # Source0-md5: caa9f5bc44232dc8aeea773fea56be80
10 Patch0:         %{name}-opt.patch
11 URL:            http://liba52.sourceforge.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 Requires:       %{name}-libs = %{version}-%{release}
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 liba52 is a free library for decoding ATSC A/52 streams. It is
20 released under the terms of the GPL license. The A/52 standard is used
21 in a variety of applications, including digital television and DVD. It
22 is also known as AC-3.
23
24 This package contains a52dec utilities.
25
26 %description -l pl
27 liba52 jest wolnodostêpn± (na licencji GPL) bibliotek± do dekodowania
28 strumieni ATSC A/52. Standard A/52 jest u¿ywany w wielu
29 zastosowaniach, w tym cyfrowej telewizji i DVD. Jest znany tak¿e jako
30 AC-3.
31
32 Ten pakiet zawiera narzêdzia a52dec.
33
34 %package libs
35 Summary:        a52dec library for handling encrypted DVDs
36 Summary(pl):    Biblioteka a52dec - do obs³ugi zakodowanych DVD
37 Group:          Development/Libraries
38
39 %description libs
40 liba52 is a free library for decoding ATSC A/52 streams. It is
41 released under the terms of the GPL license. The A/52 standard is used
42 in a variety of applications, including digital television and DVD. It
43 is also known as AC-3.
44
45 %description libs -l pl
46 liba52 jest wolnodostêpn± (na licencji GPL) bibliotek± do dekodowania
47 strumieni ATSC A/52. Standard A/52 jest u¿ywany w wielu
48 zastosowaniach, w tym cyfrowej telewizji i DVD. Jest znany tak¿e jako
49 AC-3.
50
51 %package libs-devel
52 Summary:        Header files for a52dec library
53 Summary(pl):    Pliki nag³ówkowe biblioteki a52dec
54 Group:          Development/Libraries
55 Requires:       %{name}-libs = %{version}-%{release}
56
57 %description libs-devel
58 Header files for development using a52dec library.
59
60 %description libs-devel -l pl
61 Pliki nag³ówkowe do programowania z u¿yciem biblioteki a52dec.
62
63 %package libs-static
64 Summary:        Static a52dec library
65 Summary(pl):    Statyczna biblioteka a52dec
66 Group:          Development/Libraries
67 Requires:       %{name}-libs-devel = %{version}-%{release}
68
69 %description libs-static
70 Static a52dec library.
71
72 %description libs-static -l pl
73 Statyczna biblioteka a52dec.
74
75 %prep
76 %setup -q
77 %patch -p1
78
79 %build
80 rm -f missing
81 %{__libtoolize}
82 %{__aclocal}
83 %{__autoconf}
84 %{__automake}
85 %configure \
86         --enable-shared
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91
92 %{__make} install \
93         DESTDIR=$RPM_BUILD_ROOT
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %post   -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
100
101 %files
102 %defattr(644,root,root,755)
103 %doc AUTHORS NEWS README TODO
104 %attr(755,root,root) %{_bindir}/*
105 %{_mandir}/man?/*
106
107 %files libs
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/*.so.*.*
110
111 %files libs-devel
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_libdir}/*.so
114 %{_libdir}/*.la
115 %{_includedir}/*
116
117 %files libs-static
118 %defattr(644,root,root,755)
119 %{_libdir}/*.a
This page took 0.060936 seconds and 3 git commands to generate.