]> git.pld-linux.org Git - packages/faac.git/blob - faac.spec
- updated to 1.30 (fixes CVE-2018-19886)
[packages/faac.git] / faac.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static libraries
4 #
5 Summary:        Freeware Advanced Audio Codec
6 Summary(pl.UTF-8):      Freeware Advanced Audio Codec - darmowy zaawansowany kodek dźwięku
7 Name:           faac
8 Version:        1.29.9.2
9 Release:        1
10 License:        LGPL v2.1+
11 Group:          Applications/Sound
12 Source0:        http://downloads.sourceforge.net/faac/%{name}-%{version}.tar.gz
13 # Source0-md5:  2b58d621fad8fda879f07b7cad8bfe10
14 URL:            http://www.audiocoding.com/
15 BuildRequires:  autoconf >= 2.50
16 BuildRequires:  automake
17 BuildRequires:  dos2unix
18 BuildRequires:  libtool
19 Requires:       %{name}-libs = %{version}-%{release}
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 FAAC is an ISO/MPEG 2/4 AAC encoder library developed for the Freeware
24 Advanced Audio Coding project.
25
26 %description -l pl.UTF-8
27 FAAC to biblioteka kodera ISO/MPEG 2/4 AAC stworzona dla projektu
28 Freeware Advanced Audio Coding (darmowego zaawansowanego kodowania
29 dźwięku).
30
31 %package libs
32 Summary:        Freeware Advanced Audio Codec library
33 Summary(pl.UTF-8):      Freeware Advanced Audio Codec - biblioteka darmowego zaawansowanego kodeka dźwięku
34 Group:          Libraries
35
36 %description libs
37 FAAC is an ISO/MPEG 2/4 AAC encoder library developed for the Freeware
38 Advanced Audio Coding project.
39
40 %description libs -l pl.UTF-8
41 FAAC to biblioteka kodera ISO/MPEG 2/4 AAC stworzona dla projektu
42 Freeware Advanced Audio Coding (darmowego zaawansowanego kodowania
43 dźwięku).
44
45 %package devel
46 Summary:        Header files for faac library
47 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki faac
48 Group:          Development/Libraries
49 Requires:       %{name}-libs = %{version}-%{release}
50
51 %description devel
52 Header files for faac library.
53
54 %description devel -l pl.UTF-8
55 Pliki nagłówkowe biblioteki faac.
56
57 %package static
58 Summary:        Static faac library
59 Summary(pl.UTF-8):      Statyczna biblioteka faac
60 Group:          Development/Libraries
61 Requires:       %{name}-devel = %{version}-%{release}
62
63 %description static
64 Static faac library.
65
66 %description static -l pl.UTF-8
67 Statyczna biblioteka faac.
68
69 %prep
70 %setup -q
71
72 %build
73 %{__libtoolize}
74 %{__aclocal}
75 %{__autoconf}
76 %{__autoheader}
77 %{__automake}
78 %configure \
79         %{!?with_static_libs:--disable-static}
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %post   libs -p /sbin/ldconfig
92 %postun libs -p /sbin/ldconfig
93
94 %files
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_bindir}/faac
97 %{_mandir}/man1/faac.1*
98
99 %files libs
100 %defattr(644,root,root,755)
101 %doc AUTHORS ChangeLog NEWS README TODO
102 %attr(755,root,root) %{_libdir}/libfaac.so.*.*.*
103 %attr(755,root,root) %ghost %{_libdir}/libfaac.so.0
104
105 %files devel
106 %defattr(644,root,root,755)
107 %attr(755,root,root) %{_libdir}/libfaac.so
108 %{_libdir}/libfaac.la
109 %{_includedir}/faac*.h
110
111 %if %{with static_libs}
112 %files static
113 %defattr(644,root,root,755)
114 %{_libdir}/libfaac.a
115 %endif
This page took 0.107474 seconds and 3 git commands to generate.