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