From 5b9780ea6e6315bf2a65e6977baaf7c540946518 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:16:02 +0100 Subject: [PATCH] remove obsoletes from -doc package [release 1.3.4-4mamba;Mon Sep 12 2022] --- README.md | 9 +++ libflac13.spec | 190 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 199 insertions(+) create mode 100644 libflac13.spec diff --git a/README.md b/README.md index 970484f..af85ee1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ # libflac13 +FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC is similar to MP3, but lossless, meaning that audio is compressed in FLAC without any loss in quality. This is similar to how Zip works, except with FLAC you will get much better compression because it is designed specifically for audio, and you can play back compressed FLAC files in your favorite player (or your car or home stereo, see links to the right for supported devices) just like you would an MP3 file. + +The FLAC project consists of: +* the stream format +* reference encoders and decoders in library form +* flac, a command-line program to encode and decode FLAC files +* metaflac, a command-line metadata editor for FLAC files +* input plugins for various music players + diff --git a/libflac13.spec b/libflac13.spec new file mode 100644 index 0000000..d8f9e83 --- /dev/null +++ b/libflac13.spec @@ -0,0 +1,190 @@ +Name: libflac13 +Version: 1.3.4 +Release: 4mamba +Summary: Free Lossless Audio Codec (FLAC) +Group: System/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://xiph.org/flac/ +Source: http://downloads.xiph.org/releases/flac/flac-%{version}.tar.xz +License: BSD, GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libogg-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: libid3-devel >= 3.8.3 +BuildRequires: nasm +%if "%{_host}" == "%{_build}" +BuildRequires: docbook2X >= 0.8.5 +BuildRequires: doxygen +%endif + +%description +FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC is similar to MP3, but lossless, meaning that audio is compressed in FLAC without any loss in quality. This is similar to how Zip works, except with FLAC you will get much better compression because it is designed specifically for audio, and you can play back compressed FLAC files in your favorite player (or your car or home stereo, see links to the right for supported devices) just like you would an MP3 file. + +The FLAC project consists of: +* the stream format +* reference encoders and decoders in library form +* flac, a command-line program to encode and decode FLAC files +* metaflac, a command-line metadata editor for FLAC files +* input plugins for various music players + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +FLAC stands for Free Lossless Audio Codec. +Grossly oversimplified, FLAC is similar to MP3, but lossless, meaning that audio is compressed in FLAC without any loss in quality. +This is similar to how Zip works, except with FLAC you will get much better compression because it is designed specifically for audio, and you can play back compressed FLAC files in your favorite player (or your car or home stereo, see links to the right for supported devices) just like you would an MP3 file. +This package contains static libraries and header files needed for development. + +%package tools +Summary: Tools provided with %{name} +Group: Applications/Multimedia +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +FLAC stands for Free Lossless Audio Codec. +Grossly oversimplified, FLAC is similar to MP3, but lossless, meaning that audio is compressed in FLAC without any loss in quality. +This is similar to how Zip works, except with FLAC you will get much better compression because it is designed specifically for audio, and you can play back compressed FLAC files in your favorite player (or your car or home stereo, see links to the right for supported devices) just like you would an MP3 file. +This package contains the tools provided with %{name}. + +%package doc +Summary: Documentation for %{name} +Group: Documentation + +%description doc +FLAC stands for Free Lossless Audio Codec. +Grossly oversimplified, FLAC is similar to MP3, but lossless, meaning that audio is compressed in FLAC without any loss in quality. +This is similar to how Zip works, except with FLAC you will get much better compression because it is designed specifically for audio, and you can play back compressed FLAC files in your favorite player (or your car or home stereo, see links to the right for supported devices) just like you would an MP3 file. +This package contains the documentation HTML pages for %{name}. + +%package plugins-xmms +Summary: Flac plugin for XMMS +Group: System/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description plugins-xmms +FLAC stands for Free Lossless Audio Codec. +Grossly oversimplified, FLAC is similar to MP3, but lossless, meaning that audio is compressed in FLAC without any loss in quality. +This is similar to how Zip works, except with FLAC you will get much better compression because it is designed specifically for audio, and you can play back compressed FLAC files in your favorite player (or your car or home stereo, see links to the right for supported devices) just like you would an MP3 file. +This package contains the Flac plugin for XMMS. + +%debug_package + +%prep +%setup -q -n flac-%{version} + +%build +%configure \ + --disable-rpath \ + --with-pic \ + --disable-xmms-plugin \ +%if "%{_host}" != "%{_build}" + --with-ogg-includes=%{_prefix}/%{_host}/includes \ + --with-ogg-libraries=%{_prefix}/%{_host}/lib +%endif + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +#cp AUTHORS COPYING* README \ +# %{buildroot}%{_datadir}/doc/flac-%{version} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libFLAC.so.* +%{_libdir}/libFLAC++.so.* +%doc AUTHORS COPYING.* + +%files devel +%defattr(-,root,root) +%{_datadir}/aclocal/*.m4 +%dir %{_includedir}/FLAC++ +%dir %{_includedir}/FLAC +%{_includedir}/FLAC++/*.h +%{_includedir}/FLAC/*.h +%{_libdir}/libFLAC.so +%{_libdir}/libFLAC++.so +%{_libdir}/pkgconfig/flac++.pc +%{_libdir}/pkgconfig/flac.pc + +%files doc +%defattr(-,root,root) +%dir %{_datadir}/doc/flac +%{_datadir}/doc/flac/* + +%files tools +%defattr(-,root,root) +%{_bindir}/flac +%{_bindir}/metaflac +%{_mandir}/man1/flac.* +%{_mandir}/man1/metaflac.* + +#%if "%{stage1}" != "1" +#%files plugins-xmms +#%defattr(-,root,root) +#%{_libdir}/xmms/Input/libxmms-flac.la +#%{_libdir}/xmms/Input/libxmms-flac.so +#%endif + +%changelog +* Mon Sep 12 2022 Silvan Calarco 1.3.4-4mamba +- remove obsoletes from -doc package + +* Mon Sep 12 2022 Silvan Calarco 1.3.4-3mamba +- legacy package + +* Mon Feb 21 2022 Silvan Calarco 1.3.4-2mamba +- added debug package and -tools subpackage + +* Mon Feb 21 2022 Automatic Build System 1.3.4-1mamba +- automatic version update by autodist + +* Wed Aug 28 2019 Automatic Build System 1.3.3-1mamba +- automatic version update by autodist + +* Fri Feb 03 2017 Automatic Build System 1.3.2-1mamba +- automatic version update by autodist + +* Sat Jan 30 2016 Silvan Calarco 1.3.1-2mamba +- rebuilt with gcc 5.3.0 + +* Thu Dec 04 2014 Automatic Build System 1.3.1-1mamba +- automatic version update by autodist + +* Tue Jun 04 2013 Automatic Build System 1.3.0-1mamba +- update to 1.3.0 + +* Mon May 03 2010 Silvan Calarco 1.2.1-2mamba +- rebuilt with gcc 4.3 (added patch) +- obsoletes libflac11* + +* Sat Jun 21 2008 Silvan Calarco 1.2.1-1mamba +- update to 1.2.1 + +* Wed Jun 14 2006 Stefano Cotta Ramusino 1.1.2-3qilnx +- added libtool patch + +* Sun Sep 25 2005 Silvan Calarco 1.1.2-2qilnx +- rebuilt against libxmms + +* Thu Jun 09 2005 Davide Madrisan 1.1.2-1qilnx +- update to version 1.1.2 by autospec + +* Fri Apr 09 2004 Davide Madrisan 1.1.0-1qilnx +- first build