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