- new
[packages/faac.git] / faac.spec
1 Summary:        Freeware Advanced Audio Codec
2 Name:           faac
3 Version:        1.23.1
4 Release:        1
5 License:        LGPL 2.1+
6 Group:          Libraries
7 Source0:        http://dl.sourceforge.net/faac/%{name}-%{version}.tar.gz
8 # Source0-md5:  75aa397a9b123a2bf6f0ce9f78db8b3d
9 URL:            http://www.audiocoding.com/
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  libtool
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 .
17
18 %package devel
19 Summary:        Devel files for faac
20 Summary(pl):    Pliki nag³ówkowe faac
21 Group:          Development/Libraries
22 Requires:       %{name} = %{version}
23
24 %description devel
25 Devel files for faac.
26
27 %description devel -l pl
28 Pliki nag³ówkowe faac.
29
30 %package static
31 Summary:        Static faac library
32 Summary(pl):    Statyczna biblioteka faac
33 Group:          Development/Libraries
34 Requires:       %{name}-devel = %{version}
35
36 %description static
37 Static faac library.
38
39 %description static -l pl
40 Statyczna biblioteka faac.
41
42 %prep
43 %setup -q -n %{name}
44
45 %build
46 sh ./bootstrap
47 %configure
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post   -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
61
62 %files
63 %defattr(644,root,root,755)
64 %doc ChangeLog README TODO
65 %attr(755,root,root) %{_bindir}/*
66 %attr(755,root,root) %{_libdir}/lib*.so.*.*
67
68 %files devel
69 %defattr(644,root,root,755)
70 %attr(755,root,root) %{_libdir}/lib*.so
71 %{_libdir}/lib*.la
72 %{_includedir}/*.h
73
74 %files static
75 %defattr(644,root,root,755)
76 %{_libdir}/lib*.a
This page took 0.034002 seconds and 3 git commands to generate.