]> git.pld-linux.org Git - packages/ac3dec.git/blob - ac3dec.spec
- fixed epoch:version issue
[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
21 %description
22 A free AC-3 stream decoder.
23
24 %description -l pl
25 Darmowy dekoder strumieni AC-3.
26
27 %package devel
28 Summary:        Header file required to build programs using ac3dec library
29 Summary(pl):    Pliki nag³ówkowe wymagane przez programy u¿ywaj±ce ac3dec
30 Group:          X11/Development/Libraries
31 Requires:       %{name} = %{epoch}:%{version}
32
33 %description devel
34 Header files required to build programs using ac3dec library
35
36 %description devel -l pl
37 Pliki nag³ówkowe niezbêdne do kompilacji programów korzystaj±cych z
38 biblioteki ac3dec.
39
40 %package static
41 Summary:        Static ac3dec library
42 Summary(pl):    Statyczna biblioteka ac3dec
43 Group:          X11/Development/Libraries
44 Requires:       %{name}-devel = %{epoch}:%{version}
45
46 %description static
47 Static ac3dec library.
48
49 %description static -l pl
50 Statyczna biblioteka ac3dec.
51
52 %prep
53 %setup -q
54 %patch0 -p1
55 %patch1 -p1
56 %patch2 -p1
57
58 %build
59 rm -f missing
60 %{__libtoolize}
61 %{__aclocal}
62 %{__autoheader}
63 %{__autoconf}
64 %{__automake}
65 %configure
66
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 %{__make} install \
73         DESTDIR="$RPM_BUILD_ROOT"
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post   -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
80
81 %files
82 %defattr(644,root,root,755)
83 %doc TODO README Change*
84 %attr(755,root,root) %{_bindir}/*
85 %attr(755,root,root) %{_libdir}/lib*.so.*.*
86
87 %files devel
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/lib*.so
90 %{_libdir}/lib*.la
91 %{_includedir}/ac3
92
93 %files static
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_libdir}/lib*.a
This page took 0.085217 seconds and 4 git commands to generate.