3 BuildRequires: gettext-tools
4 BuildRequires: libogg-devel
6 BuildRequires: pkg-config
13 Summary: Free Lossless Audio Codec
14 Url: http://flac.sourceforge.net/
15 #X-Vcs-Url: https://git.xiph.org/flac.git
16 Group: Multimedia/Audio
17 Source: %{name}-%{version}.tar.bz2
18 Source1001: flac.manifest
21 FLAC is an open source lossless audio codec developed by Josh Coalson.
24 Summary: Free Lossless Audio Codec Library
26 %description -n libflac
27 This package contains the library for FLAC (Free Lossless Audio Codec)
28 developed by Josh Coalson.
31 Summary: Free Lossless Audio Codec Library
33 %description -n libflac++
34 This package contains the C++ library for FLAC (Free Lossless Audio
35 Codec) developed by Josh Coalson.
38 Summary: FLAC Library Development Package
40 Requires: libflac = %{version}
41 Requires: libflac = %{version}
42 Requires: libstdc++-devel
45 This package contains the files needed to compile programs that use the
54 %define warn_flags -O3 -W -Wall -Wstrict-prototypes -Wformat-security
55 export CFLAGS="%{optflags} %{warn_flags}"
56 export CXXFLAGS="$CFLAGS"
57 %configure --disable-thorough-tests --disable-exhaustive-tests\
58 --disable-xmms-plugin \
64 %__make %{?_smp_mflags}
68 rm -rf %{buildroot}%{_datadir}/doc/%{name}-%{version}
70 %post -n libflac -p /sbin/ldconfig
72 %postun -n libflac -p /sbin/ldconfig
74 %post -n libflac++ -p /sbin/ldconfig
76 %postun -n libflac++ -p /sbin/ldconfig
79 %manifest %{name}.manifest
80 %defattr(-, root, root)
86 %manifest %{name}.manifest
87 %defattr(-, root, root)
88 %{_libdir}/libFLAC.so.8*
91 %manifest %{name}.manifest
92 %defattr(-, root, root)
93 %{_libdir}/libFLAC++.so.6*
96 %manifest %{name}.manifest
97 %defattr(-, root, root)
100 %{_libdir}/pkgconfig/*.pc
101 %{_datadir}/aclocal/*.m4