2024-01-06 04:15:53 +01:00
|
|
|
Name: libflac
|
2024-01-06 04:15:54 +01:00
|
|
|
Version: 1.4.1
|
2024-01-06 04:15:54 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 04:15:53 +01:00
|
|
|
Summary: Free Lossless Audio Codec (FLAC)
|
|
|
|
Group: System/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 04:15:53 +01:00
|
|
|
URL: https://xiph.org/flac/
|
2024-01-06 04:15:53 +01:00
|
|
|
Source: http://downloads.xiph.org/releases/flac/flac-%{version}.tar.xz
|
|
|
|
Patch0: %{name}-1.1.2-xmms-plugin.patch
|
|
|
|
Patch1: %{name}-1.1.2-libtool.patch
|
|
|
|
Patch2: %{name}-1.2.1-gcc43.patch
|
|
|
|
Patch3: %{name}-1.2.1-asm.patch
|
|
|
|
Patch4: %{name}-1.2.1-hidesyms.patch
|
|
|
|
Patch5: %{name}-1.2.1-bitreader.patch
|
|
|
|
License: BSD, GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libogg-devel
|
2024-01-06 04:15:53 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-06 04:15:53 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libid3-devel >= 3.8.3
|
|
|
|
BuildRequires: nasm
|
|
|
|
%if "%{_host}" == "%{_build}"
|
|
|
|
BuildRequires: docbook2X >= 0.8.5
|
|
|
|
BuildRequires: doxygen
|
|
|
|
%endif
|
|
|
|
Provides: libflac11
|
2024-01-06 04:15:53 +01:00
|
|
|
Obsoletes: libflac11 < 1.3.4
|
2024-01-06 04:15:53 +01:00
|
|
|
|
|
|
|
%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}
|
|
|
|
Provides: libflac11-devel
|
2024-01-06 04:15:53 +01:00
|
|
|
Obsoletes: libflac11-devel < 1.3.4
|
2024-01-06 04:15:53 +01:00
|
|
|
|
|
|
|
%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.
|
2024-01-06 04:15:53 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 04:15:53 +01:00
|
|
|
|
2024-01-06 04:15:53 +01:00
|
|
|
%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}.
|
2024-01-06 04:15:53 +01:00
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
Group: Documentation
|
|
|
|
Provides: libflac11-doc
|
2024-01-06 04:15:53 +01:00
|
|
|
Obsoletes: libflac11-doc < 1.3.4
|
2024-01-06 04:15:53 +01:00
|
|
|
|
|
|
|
%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}
|
|
|
|
Provides: libflac11-plugins-xmms
|
2024-01-06 04:15:53 +01:00
|
|
|
Obsoletes: libflac11-plugins-xmms < 1.3.4
|
2024-01-06 04:15:53 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2024-01-06 04:15:53 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 04:15:53 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n flac-%{version}
|
2024-01-06 04:15:53 +01:00
|
|
|
#%patch2 -p1
|
2024-01-06 04:15:53 +01:00
|
|
|
#%patch3 -p1
|
|
|
|
#%patch4 -p1
|
|
|
|
#%patch5 -p0
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
2024-01-06 04:15:53 +01:00
|
|
|
#cp AUTHORS COPYING* README \
|
|
|
|
# %{buildroot}%{_datadir}/doc/flac-%{version}
|
2024-01-06 04:15:53 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:15:53 +01:00
|
|
|
%{_libdir}/libFLAC.so.*
|
|
|
|
%{_libdir}/libFLAC++.so.*
|
2024-01-06 04:15:53 +01:00
|
|
|
%doc AUTHORS COPYING.*
|
2024-01-06 04:15:53 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/aclocal/*.m4
|
|
|
|
%dir %{_includedir}/FLAC++
|
|
|
|
%dir %{_includedir}/FLAC
|
|
|
|
%{_includedir}/FLAC++/*.h
|
|
|
|
%{_includedir}/FLAC/*.h
|
2024-01-06 04:15:53 +01:00
|
|
|
%{_libdir}/libFLAC.so
|
|
|
|
%{_libdir}/libFLAC++.so
|
2024-01-06 04:15:53 +01:00
|
|
|
%{_libdir}/pkgconfig/flac++.pc
|
|
|
|
%{_libdir}/pkgconfig/flac.pc
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:15:53 +01:00
|
|
|
%dir %{_datadir}/doc/flac
|
|
|
|
%{_datadir}/doc/flac/*
|
2024-01-06 04:15:53 +01:00
|
|
|
|
2024-01-06 04:15:53 +01:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/flac
|
|
|
|
%{_bindir}/metaflac
|
|
|
|
%{_mandir}/man1/flac.*
|
|
|
|
%{_mandir}/man1/metaflac.*
|
|
|
|
|
2024-01-06 04:15:53 +01:00
|
|
|
#%if "%{stage1}" != "1"
|
|
|
|
#%files plugins-xmms
|
|
|
|
#%defattr(-,root,root)
|
|
|
|
#%{_libdir}/xmms/Input/libxmms-flac.la
|
|
|
|
#%{_libdir}/xmms/Input/libxmms-flac.so
|
|
|
|
#%endif
|
2024-01-06 04:15:53 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:15:54 +01:00
|
|
|
* Fri Sep 23 2022 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:15:54 +01:00
|
|
|
* Sun Sep 11 2022 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:15:53 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-06 04:15:53 +01:00
|
|
|
* Wed Aug 28 2019 Automatic Build System <autodist@mambasoft.it> 1.3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:15:53 +01:00
|
|
|
* Fri Feb 03 2017 Automatic Build System <autodist@mambasoft.it> 1.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:15:53 +01:00
|
|
|
* Sat Jan 30 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-2mamba
|
|
|
|
- rebuilt with gcc 5.3.0
|
|
|
|
|
|
|
|
* Thu Dec 04 2014 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:15:53 +01:00
|
|
|
* Tue Jun 04 2013 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
|
|
|
|
- update to 1.3.0
|
|
|
|
|
|
|
|
* Mon May 03 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-2mamba
|
|
|
|
- rebuilt with gcc 4.3 (added patch)
|
|
|
|
- obsoletes libflac11*
|
|
|
|
|
|
|
|
* Sat Jun 21 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-1mamba
|
|
|
|
- update to 1.2.1
|
|
|
|
|
|
|
|
* Wed Jun 14 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.1.2-3qilnx
|
|
|
|
- added libtool patch
|
|
|
|
|
2024-01-06 04:15:53 +01:00
|
|
|
* Sun Sep 25 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.2-2qilnx
|
2024-01-06 04:15:53 +01:00
|
|
|
- rebuilt against libxmms
|
|
|
|
|
|
|
|
* Thu Jun 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.2-1qilnx
|
|
|
|
- update to version 1.1.2 by autospec
|
|
|
|
|
|
|
|
* Fri Apr 09 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.0-1qilnx
|
|
|
|
- first build
|