added debug package and -tools subpackage [release 1.3.4-2mamba;Mon Feb 21 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 04:15:53 +01:00
parent a15671ee02
commit 777a8b5af6

View File

@ -1,14 +1,13 @@
Name: libflac
Version: 1.3.3
Release: 1mamba
Version: 1.3.4
Release: 2mamba
Summary: Free Lossless Audio Codec (FLAC)
Group: System/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://flac.sourceforge.net/
URL: https://xiph.org/flac/
Source: http://downloads.xiph.org/releases/flac/flac-%{version}.tar.xz
#Source: http://downloads.sourceforge.net/sourceforge/flac/flac-%{version}.tar.gz
Patch0: %{name}-1.1.2-xmms-plugin.patch
Patch1: %{name}-1.1.2-libtool.patch
Patch2: %{name}-1.2.1-gcc43.patch
@ -19,15 +18,8 @@ License: BSD, GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
%if "%{stage1}" != "1"
BuildRequires: libglib1-devel
BuildRequires: libgtk1-devel
BuildRequires: libogg-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
#BuildRequires: libxmms-devel
%endif
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libid3-devel >= 3.8.3
BuildRequires: nasm
@ -36,8 +28,7 @@ BuildRequires: docbook2X >= 0.8.5
BuildRequires: doxygen
%endif
Provides: libflac11
Obsoletes: libflac11
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Obsoletes: libflac11 < 1.3.4
%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.
@ -54,26 +45,35 @@ Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libflac11-devel
Obsoletes: libflac11-devel
Obsoletes: libflac11-devel < 1.3.4
%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.
This package contains static libraries and header files need 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
Provides: libflac11-doc
Obsoletes: libflac11-doc
Obsoletes: libflac11-doc < 1.3.4
%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
@ -81,15 +81,16 @@ Summary: Flac plugin for XMMS
Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libflac11-plugins-xmms
Obsoletes: libflac11-plugins-xmms
Obsoletes: libflac11-plugins-xmms < 1.3.4
%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}
#%patch2 -p1
@ -124,11 +125,8 @@ This package contains the Flac plugin for XMMS.
%files
%defattr(-,root,root)
%{_bindir}/flac
%{_bindir}/metaflac
%{_libdir}/*.so.*
%{_mandir}/man1/flac.*
%{_mandir}/man1/metaflac.*
%{_libdir}/libFLAC.so.*
%{_libdir}/libFLAC++.so.*
%doc AUTHORS COPYING.*
%files devel
@ -136,15 +134,12 @@ This package contains the Flac plugin for XMMS.
%{_datadir}/aclocal/*.m4
%dir %{_includedir}/FLAC++
%dir %{_includedir}/FLAC
#%dir %{_includedir}/OggFLAC++
#%dir %{_includedir}/OggFLAC
%{_includedir}/FLAC++/*.h
%{_includedir}/FLAC/*.h
#%{_includedir}/OggFLAC++/*.h
#%{_includedir}/OggFLAC/*.h
#%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/libFLAC.la
%{_libdir}/libFLAC.so
%{_libdir}/libFLAC++.la
%{_libdir}/libFLAC++.so
%{_libdir}/pkgconfig/flac++.pc
%{_libdir}/pkgconfig/flac.pc
@ -153,6 +148,13 @@ This package contains the Flac plugin for XMMS.
%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)
@ -161,6 +163,12 @@ This package contains the Flac plugin for XMMS.
#%endif
%changelog
* Mon Feb 21 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.4-2mamba
- added debug package and -tools subpackage
* Mon Feb 21 2022 Automatic Build System <autodist@mambasoft.it> 1.3.4-1mamba
- automatic version update by autodist
* Wed Aug 28 2019 Automatic Build System <autodist@mambasoft.it> 1.3.3-1mamba
- automatic version update by autodist
@ -186,7 +194,7 @@ This package contains the Flac plugin for XMMS.
* Wed Jun 14 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.1.2-3qilnx
- added libtool patch
* Mon Sep 25 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.2-2qilnx
* Sun Sep 25 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.2-2qilnx
- rebuilt against libxmms
* Thu Jun 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.2-1qilnx