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