]> git.pld-linux.org Git - packages/ac3dec.git/blob - ac3dec.spec
- many small fixes, mostly inpired by kloczek
[packages/ac3dec.git] / ac3dec.spec
1 Summary:        a free AC-3 stream decoder
2 Summary(pl):    darmowy dekoder strumieni AC-3
3 Name:           ac3dec
4 Version:        0.6.1
5 Release:        4
6 Epoch:          1
7 License:        GPL
8 Group:          X11/Applications/Multimedia
9 Source0:        http://gusnet.cx/aaron/codecs/ac3/tarballs/%{name}-%{version}.tar.gz
10 # Source0-md5:  92b8d3af8d0d06318bb2bb04b8093eef
11 Patch0:         %{name}-make.patch
12 Patch1:         %{name}-am_fix.patch
13 Patch2:         %{name}-ppc.patch
14 URL:            http://gusnet.cx/aaron/codecs/ac3/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libtool
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 A free AC-3 stream decoder.
22
23 %description -l pl
24 Darmowy dekoder strumieni AC-3.
25
26 %package devel
27 Summary:        Header file required to build programs using ac3dec library
28 Summary(pl):    Pliki nag³ówkowe wymagane przez programy u¿ywaj±ce ac3dec
29 Group:          X11/Development/Libraries
30 Requires:       %{name} = %{epoch}:%{version}
31
32 %description devel
33 Header files required to build programs using ac3dec library
34
35 %description devel -l pl
36 Pliki nag³ówkowe niezbêdne do kompilacji programów korzystaj±cych z
37 biblioteki ac3dec.
38
39 %package static
40 Summary:        Static ac3dec library
41 Summary(pl):    Statyczna biblioteka ac3dec
42 Group:          X11/Development/Libraries
43 Requires:       %{name}-devel = %{epoch}:%{version}
44
45 %description static
46 Static ac3dec library.
47
48 %description static -l pl
49 Statyczna biblioteka ac3dec.
50
51 %prep
52 %setup -q
53 %patch0 -p1
54 %patch1 -p1
55 %patch2 -p1
56
57 %build
58 rm -f missing
59 %{__libtoolize}
60 %{__aclocal}
61 %{__autoheader}
62 %{__autoconf}
63 %{__automake}
64 %configure
65
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post   -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
79
80 %files
81 %defattr(644,root,root,755)
82 %doc TODO README Change*
83 %attr(755,root,root) %{_bindir}/*
84 %attr(755,root,root) %{_libdir}/lib*.so.*.*
85
86 %files devel
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/lib*.so
89 %{_libdir}/lib*.la
90 %{_includedir}/ac3
91
92 %files static
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_libdir}/lib*.a
This page took 0.075054 seconds and 4 git commands to generate.