libid3tag/libid3tag.spec

72 lines
1.7 KiB
RPMSpec
Raw Normal View History

2019-12-14 18:56:49 +08:00
Name: libid3tag
2023-10-23 17:47:31 +08:00
Version: 0.16.3
Release: 1
2019-12-14 18:56:49 +08:00
Summary: ID3 tag manipulation library
License: GPLv2+
2023-10-23 17:47:31 +08:00
URL: http://codeberg.org/tenacityteam/libid3tag
Source0: http://codeberg.org/tenacityteam/libid3tag/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: Add_unversioned_so.patch
BuildRequires: gcc-c++ cmake make zlib-devel >= 1.1.4 libtool gperf >= 3.1
2019-12-14 18:56:49 +08:00
%description
libid3tag is a library for reading and (eventually) writing ID3 tags,
both ID3v1 and the various versions of ID3v2.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
ID3 tag library development files.
%prep
2023-10-23 17:47:31 +08:00
%autosetup -p1 -n %{name}
2019-12-14 18:56:49 +08:00
%build
2023-10-23 17:47:31 +08:00
%cmake
%make_build
2019-12-14 18:56:49 +08:00
%install
2023-10-23 17:47:31 +08:00
%make_install
2019-12-14 18:56:49 +08:00
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc CHANGES COPYING COPYRIGHT CREDITS README TODO
%{_libdir}/libid3tag.so.*
%files devel
%{_includedir}/id3tag.h
2023-10-23 17:47:31 +08:00
%{_libdir}/libid3tag.so
%{_libdir}/cmake/id3tag
2019-12-14 18:56:49 +08:00
%{_libdir}/pkgconfig/id3tag.pc
%changelog
2023-10-23 17:47:31 +08:00
* Wed Oct 18 2023 chenyaqiang <chengyaqiang@huawei.com> - 0.16.3-1
- update to 0.16.3
2020-07-15 15:07:33 +08:00
* Wed Jul 15 2020 zhangjiapeng<zhangjiapeng9@huawei.com> - 0.15.1b-21
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: fix the build issue with gperf-3.1
2020-03-20 15:29:28 +08:00
* Fri Mar 20 2020 lingsheng<lingsheng@huawei.com> - 0.15.1b-20
- Type:cves
- ID:CVE-2017-11550
- SUG:restart
- DESC: fix CVE-2017-11550
* Tue Dec 24 2019 daiqianwen<daiqianwen@huawei.com> - 0.15.1b-19
- Type:cves
- ID:CVE-2004-2779
- SUG:restart
- DESC: fix CVE-2004-2779
2019-12-14 18:56:49 +08:00
* Sat Dec 7 2018 openEuler Buildteam <buildteam@openeuler.org> - 0.15.1b-18
- Package init