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