1 # TODO: split (c++, ogg?)
2 Summary: Free Lossless Audio Codec
3 Summary(pl): Free Lossless Audio Codec - Darmowy Bezstratny Kodek Audio
9 Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
10 Patch0: %{name}-acfix.patch
11 Patch1: %{name}-lt.patch
12 URL: http://flac.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libogg-devel
16 BuildRequires: libstdc++-devel
17 BuildRequires: libtool >= 2:1.4d
18 BuildRequires: xmms-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _xmms_input_path %(xmms-config --input-plugin-dir)
24 FLAC is an Open Source lossless audio codec developed by Josh Coalson.
27 FLAC jest bezstratnym kodekiem audio z otwartymi ¼ród³ami, rozwijanym
31 Summary: FLAC - development files
32 Summary(pl): FLAC - pliki nag³ówkowe
33 Group: Development/Libraries
34 Requires: %{name} = %{version}
37 The package contains the development header files for flac.
39 %description devel -l pl
40 Ten pakiet zawiera pliki nag³ówkowe biblioteki flac.
43 Summary: FLAC - static libraries
44 Summary(pl): FLAC - biblioteki statyczne
45 Group: Development/Libraries
46 Requires: %{name}-devel = %{version}
49 The package contains flac static libraries.
51 %description static -l pl
52 Ten pakiet zawiera biblioteki statyczne flac.
54 %package -n xmms-input-flac
55 Summary: Free Lossless Audio Codec - XMMS plugin
56 Summary(pl): Wtyczka FLAC dla XMMS
59 Requires: %{name} = %{version}
62 %description -n xmms-input-flac
63 FLAC input plugin for XMMS.
65 %description -n xmms-input-flac -l pl
66 Wtyczka dla XMMS umo¿liwiaj±ca odtwarzanie plików w formacie FLAC.
83 rm -rf $RPM_BUILD_ROOT
86 DESTDIR=$RPM_BUILD_ROOT
89 rm -rf $RPM_BUILD_ROOT
91 %post -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
95 %defattr(644,root,root,755)
96 %doc doc/{*.html,images/{*.gif,*.jpg},ru/*.html}
97 %attr(755,root,root) %{_bindir}/*
98 %attr(755,root,root) %{_libdir}/lib*.so.*.*
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_libdir}/lib*.so
109 %defattr(644,root,root,755)
112 %files -n xmms-input-flac
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_xmms_input_path}/*.so
115 %{_xmms_input_path}/*.la