audiofile/audiofile.spec

127 lines
3.1 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:31:49 -04:00
Name: audiofile
Version: 0.3.6
2021-09-06 10:29:52 +08:00
Release: 27
2019-09-30 10:31:49 -04:00
Summary: Library for reading and writing audio files in many common formats
License: LGPLv2+ and GPLv2+
URL: http://audiofile.68k.org/
Source0: http://audiofile.68k.org/%{name}-%{version}.tar.gz
2020-01-09 17:03:07 +08:00
Patch0: audiofile-CVE-2015-7747.patch
Patch1: audiofile-fix-gcc6-compile-error.patch
2020-03-21 19:05:31 +08:00
Patch2: audiofile-fix-test-compile-err.patch
Patch3: backport-CVE-2017-6828.patch
Patch4: backport-CVE-2017-6829.patch
Patch5: backport-CVE-2017-6831.patch
Patch6: backport-CVE-2017-6838.patch
Patch7: backport-CVE-2017-6839.patch
2019-09-30 10:31:49 -04:00
2021-09-06 10:29:52 +08:00
BuildRequires: gcc-c++ libtool alsa-lib-devel flac-devel chrpath
2019-09-30 10:31:49 -04:00
%description
The Audio File Library is a C-based library for reading and writing audio files in many
common formats.
The Audio File Library provides a uniform API which abstracts away details of file formats
and data formats. The same calls for opening a file, accessing and manipulating audio
metadata (e.g. sample rate, sample format, textual information, MIDI parameters), and
reading and writing sample data will work with any supported audio file format.
%package devel
Summary: Development files for Audio File applications
Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: audiofile-static
Obsoletes: audiofile-static
%description devel
The audiofile-devel package contains libraries, include files, and
other resources you can use to develop Audio File applications.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure
%make_build
%install
rm -rf $RPM_BUILD_ROOT
%make_install
rm -f $RPM_BUILD_ROOT%{_libdir}/libaudiofile.la
2021-09-06 10:29:52 +08:00
chrpath --delete %{buildroot}%{_bindir}/sfinfo
chrpath --delete %{buildroot}%{_bindir}/sfconvert
2019-09-30 10:31:49 -04:00
%check
make check
%pre
%preun
%post
%postun
%ldconfig_scriptlets
%files
%doc ACKNOWLEDGEMENTS AUTHORS NEWS NOTES README TODO COPYING*
%{_bindir}/sfconvert
%{_bindir}/sfinfo
%{_libdir}/lib*.so.1*
%files devel
%doc ChangeLog docs/*.3.txt
%{_libdir}/libaudiofile.so
%{_libdir}/pkgconfig/audiofile.pc
%{_includedir}/*
%{_libdir}/libaudiofile.a
%files help
%{_mandir}/man1/*
%{_mandir}/man3/*
%changelog
2021-09-06 10:29:52 +08:00
* Mon Sep 6 2021 Hongxun Ren<renhongxun@huawei.com> - 0.3.6-27
- Type:enhanence
- ID:NA
- SUG:NA
- DESC:remove rpath
2021-07-22 17:09:09 +08:00
* Thu Jul 22 2021 wuchaochao <wuchaochao4@huawei.com> - 0.3.6-26
- Remove BuildRequires gdb
* Fri Feb 19 2021 shixuantong<shixuantong@huawei.com> - 0.3.6-25
- Type:cves
- ID:CVE-2017-6828 CVE-2017-6829 CVE-2017-6831 CVE-2017-6838 CVE-2017-6839
- SUG:NA
- DESC:fix CVE-2017-6828 CVE-2017-6829 CVE-2017-6831 CVE-2017-6838 CVE-2017-6839
2020-03-21 19:05:31 +08:00
* Sat Mar 21 2020 Shouping Wang<wangshouping@huawei.com> - 0.3.6-24
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix test compile err
2020-01-09 17:03:07 +08:00
* Thu Jan 9 2020 JeanLeo<liujianliu.liu@huawei.com> - 0.3.6-23
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:update software package
2019-09-30 10:31:49 -04:00
* Fri Sep 27 2019 chengquan<chengquan3@huawei.com> - 0.3.6-22
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add help package and merge devel package
* Tue Sep 17 2019 shenyangyang<shenyangyang4@huawei.com> - 0.3.6-21
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:and % before isa of devel
* Tue Aug 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.3.6-20
- Package init