代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/id3lib 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Summary: Library for manipulating ID3v1 and ID3v2 tags
Name: id3lib
Version: 3.8.3
Release: 1
License: LGPLv2+
URL: http://id3lib.sourceforge.net/
Source0: http://downloads.sourceforge.net/id3lib/%{name}-%{version}.tar.gz
Source1: id3lib-no_date_footer.hml
Patch0: id3lib-dox.patch
Patch1: id3lib-3.8.3-autoreconf.patch
Patch2: id3lib-3.8.3-io_helpers-163101.patch
Patch3: fix-compilation-with-cpp-headers.patch
Patch4: fix-headers-of-main-functions.patch
Patch5: deal-with-mkstemp.patch
Patch6: remove-outdated-check.patch
Patch7: create-manpages.patch
Patch8: id3lib-missing-nullpointer-check.patch
Patch9: fix_make_check.patch
Patch10: fix_vbr_stack_smash.patch
BuildRequires: autoconf automake doxygen gcc gcc-c++
BuildRequires: libtool zlib-devel make
%description
This package provides a software library for manipulating ID3v1 and ID3v2 tags.
It provides a convenient interface for software developers to include
standards-compliant ID3v1/2 tagging capabilities in their applications.
Features include identification of valid tags, automatic size conversions,
(re)synchronisation of tag frames, seamless tag (de)compression, and optional
padding facilities. Additionally, it can tell mp3 header info, like bitrate etc.
%package devel
Summary: Development tools for the id3lib library
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: zlib-devel
%description devel
This package provides files needed to develop with the id3lib library.
%prep
%autosetup -p1
for i in doc/id3v2.3.0.txt doc/id3v2.3.0.html ChangeLog THANKS; do
iconv --from-code=ISO-8859-1 --to-code=UTF8 $i --output=tmp
sed -i -e 's/\r//' tmp
touch --reference=$i tmp
mv tmp $i
done
sed -i -e 's|@DOX_DIR_HTML@|%{_docdir}/%{name}-devel/api|' doc/index.html.in
sed -i -e "s,HTML_FOOTER.*$,HTML_FOOTER = id3lib-no_date_footer.hml,g" doc/Doxyfile.in
cp %{SOURCE1} doc
%build
autoreconf --force --install
%configure --disable-dependency-tracking --disable-static
%make_build libid3_la_LIBADD=-lz
%install
%make_install
make docs
mkdir -p __doc/doc ; cp -p doc/*.{gif,jpg,png,html,txt,ico,css} __doc/doc
rm -f $RPM_BUILD_ROOT%{_libdir}/libid3.la
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
install -pm 644 doc/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
%check
make check
%ldconfig_scriptlets
%files
%doc AUTHORS ChangeLog HISTORY NEWS README THANKS TODO __doc/doc/
%license COPYING
%{_libdir}/libid3-3.8.so.*
%{_bindir}/id3convert
%{_bindir}/id3cp
%{_bindir}/id3info
%{_bindir}/id3tag
%{_mandir}/man1/id3convert.1*
%{_mandir}/man1/id3cp.1*
%{_mandir}/man1/id3info.1*
%{_mandir}/man1/id3tag.1*
%files devel
%doc doc/id3lib.css doc/api/
%{_includedir}/id3.h
%{_includedir}/id3/
%{_libdir}/libid3.so
%changelog
* Thu Jan 27 2022 konglidong <konglidong@uniontech.com> - 3.8.1-1
- package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。