]> git.pld-linux.org Git - packages/ac3dec.git/blob - ac3dec.spec
- tabs in preamble
[packages/ac3dec.git] / ac3dec.spec
1 Summary:        A free AC-3 stream decoder
2 Summary(pl.UTF-8):      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 Patch4:         %{name}-amd64.patch
16 URL:            http://gusnet.cx/aaron/codecs/ac3/
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  libtool
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.UTF-8
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.UTF-8):      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.UTF-8
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.UTF-8):      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.UTF-8
51 Statyczna biblioteka ac3dec.
52
53 %prep
54 %setup -q
55 %patch0 -p1
56 %patch1 -p1
57 %patch2 -p1
58 %patch3 -p1
59 %patch4 -p1
60
61 %build
62 rm -f missing
63 cp -f /usr/share/automake/config.sub .
64 %{__libtoolize}
65 %{__aclocal}
66 %{__autoheader}
67 %{__autoconf}
68 %{__automake}
69 %configure
70
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post   -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
84
85 %files
86 %defattr(644,root,root,755)
87 %doc TODO README Change*
88 %attr(755,root,root) %{_bindir}/*
89 %attr(755,root,root) %{_libdir}/lib*.so.*.*
90
91 %files devel
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/lib*.so
94 %{_libdir}/lib*.la
95 %{_includedir}/ac3
96
97 %files static
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/lib*.a
This page took 0.070986 seconds and 3 git commands to generate.