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