rebuild for qt5/kde5 [release 3.3.2-2mamba;Thu Mar 17 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 01:42:27 +01:00
parent c9211524f4
commit 44eedab612

133
kid3.spec
View File

@ -1,6 +1,6 @@
Name: kid3 Name: kid3
Version: 3.3.1 Version: 3.3.2
Release: 1mamba Release: 2mamba
Summary: A Kde ID3 tagger Summary: A Kde ID3 tagger
Group: Graphical Desktop/Applications/Multimedia Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba Vendor: openmamba
@ -9,106 +9,105 @@ Packager: Marco Bellezza <superbel@hotmail.it>
URL: http://kid3.sourceforge.net/ URL: http://kid3.sourceforge.net/
Source: http://prdownloads.sourceforge.net/kid3/kid3-%{version}.tar.gz Source: http://prdownloads.sourceforge.net/kid3/kid3-%{version}.tar.gz
License: GPL License: GPL
BuildRequires: cmake
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: kdelibs-devel BuildRequires: libchromaprint-devel
BuildRequires: libflac-devel BuildRequires: libflac-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libid3-devel BuildRequires: libid3-devel
BuildRequires: libmp4v2-devel BuildRequires: libkauth-devel
BuildRequires: libkbookmarks-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkio-devel
BuildRequires: libkitemviews-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libkservice-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libogg-devel BuildRequires: libogg-devel
BuildRequires: libqt-devel BuildRequires: libqt5-devel
BuildRequires: libreadline-devel
BuildRequires: libsolid-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libtag-devel BuildRequires: libtag-devel
BuildRequires: libtermcap-devel
BuildRequires: libvorbis-devel BuildRequires: libvorbis-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libchromaprint-devel BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
If you want to easily tag multiple MP3, Ogg/Vorbis, FLAC, MPC, MP4/AAC, MP2, Speex, TrueAudio and WavPack files (e.g. full albums) without typing the same information again and again and have control over both ID3v1 and ID3v2 tags, then Kid3 is the program you are looking for. If you want to easily tag multiple MP3, Ogg/Vorbis, FLAC, MPC, MP4/AAC, MP2, Speex, TrueAudio and WavPack files (e.g. full albums) without typing the same information again and again and have control over both ID3v1 and ID3v2 tags, then Kid3 is the program you are looking for.
%prep %prep
%setup -q %setup -q
%build %build
%cmake_kde4 -d build %cmake_kde5 -d build \
-DWITH_QT5=1
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %makeinstall -C build
install -d -m0755 %{buildroot}%{_datadir}/dbus-1/interfaces %find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
mv %{buildroot}%{_kde4_sharedir}/dbus-1/interfaces/net.sourceforge.Kid3.xml \
%{buildroot}%{_datadir}/dbus-1/interfaces/net.sourceforge.Kid3.xml
mv %{buildroot}/opt/kde/share/applications/kid3-qt.desktop %{buildroot}%{_kde4_xdgappsdir}/
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %files -f %{name}5_qt.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_bindir}/kid3 %{_kde5_bindir}/kid3
%{_kde4_bindir}/kid3-cli %{_kde5_bindir}/kid3-cli
%{_kde4_bindir}/kid3-qt %{_kde5_bindir}/kid3-qt
%dir %{_kde4_libdir}/kid3 %dir %{_kde5_libdir}/kid3
%{_kde4_libdir}/kid3/libkid3-core.so* %{_kde5_libdir}/kid3/libkid3-core.so*
%{_kde4_libdir}/kid3/libkid3-gui.so* %{_kde5_libdir}/kid3/libkid3-gui.so*
%dir %{_kde4_libdir}/kid3/plugins %dir %{_kde5_libdir}/kid3/plugins
%{_kde4_libdir}/kid3/plugins/*.so %{_kde5_libdir}/kid3/plugins/*.so
%dir %{_kde4_libdir}/kid3/plugins/imports %dir %{_kde5_libdir}/kid3/plugins/imports
%dir %{_kde4_libdir}/kid3/plugins/imports/Kid3 %dir %{_kde5_libdir}/kid3/plugins/imports/Kid3
%{_kde4_libdir}/kid3/plugins/imports/Kid3/* %{_kde5_libdir}/kid3/plugins/imports/Kid3/*
%{_kde4_xdgappsdir}/kid3.desktop %{_kde5_xdgappsdir}/kid3.desktop
%{_kde4_xdgappsdir}/kid3-qt.desktop %{_kde5_xdgappsdir}/kid3-qt.desktop
%{_kde4_sharedir}/appdata/kid3-qt.appdata.xml %{_kde5_sharedir}/appdata/kid3-qt.appdata.xml
%{_kde4_sharedir}/appdata/kid3.appdata.xml %{_kde5_sharedir}/appdata/kid3.appdata.xml
%{_kde4_sharedir}/appdata/kid3-qt.appdata.xml %{_kde5_sharedir}/appdata/kid3-qt.appdata.xml
%{_kde4_sharedir}/appdata/kid3.appdata.xml %{_kde5_sharedir}/appdata/kid3.appdata.xml
%dir %{_kde4_sharedir}/kid3/qml %dir %{_kde5_sharedir}/kid3/qml
%dir %{_kde4_sharedir}/kid3/qml/script %dir %{_kde5_sharedir}/kid3/qml/script
%{_kde4_sharedir}/kid3/qml/script/* %{_kde5_sharedir}/kid3/qml/script/*
%{_datadir}/dbus-1/interfaces/net.sourceforge.Kid3.xml %{_datadir}/dbus-1/interfaces/net.sourceforge.Kid3.xml
%{_kde4_datadir}/kid3/kid3ui.rc %{_datadir}/kxmlgui5/kid3/kid3ui.rc
%{_kde4_icondir}/hicolor/*/apps/kid3.png %{_kde5_icondir}/hicolor/*/apps/kid3.png
%{_kde4_sharedir}/icons/hicolor/*/apps/kid3-qt.png %{_kde5_sharedir}/icons/hicolor/*/apps/kid3-qt.png
%{_kde4_icondir}/hicolor/scalable/apps/kid3.svgz %{_kde5_icondir}/hicolor/scalable/apps/kid3.svgz
%{_kde4_sharedir}/icons/hicolor/scalable/apps/kid3-qt.svg %{_kde5_sharedir}/icons/hicolor/scalable/apps/kid3-qt.svg
%{_kde4_htmldir}/de/kid3/common %doc %lang(de) %{_kde5_htmldir}/de/kid3/*
%{_kde4_htmldir}/de/kid3/index.cache.bz2 %doc %lang(en) %{_kde5_htmldir}/en/kid3/*
%{_kde4_htmldir}/de/kid3/index.docbook %lang(de) %{_kde5_sharedir}/man/de/man1/kid3*
%lang(cs) %{_kde4_sharedir}/kid3/translations/kid3_cs.qm %{_kde5_sharedir}/doc/kid3-qt/kid3_de.html
%lang(de) %{_kde4_sharedir}/kid3/translations/kid3_de.qm %{_kde5_sharedir}/doc/kid3-qt/kid3_en.html
%lang(es) %{_kde4_sharedir}/kid3/translations/kid3_es.qm %{_kde5_sharedir}/man/man1/kid3-cli.1.gz
%lang(et) %{_kde4_sharedir}/kid3/translations/kid3_et.qm %{_kde5_sharedir}/man/man1/kid3-qt.1.gz
%lang(fi) %{_kde4_sharedir}/kid3/translations/kid3_fi.qm %{_kde5_sharedir}/man/man1/kid3.1.gz
%lang(fr) %{_kde4_sharedir}/kid3/translations/kid3_fr.qm
%lang(it) %{_kde4_sharedir}/kid3/translations/kid3_it.qm
%lang(ns) %{_kde4_sharedir}/kid3/translations/kid3_nl.qm
%lang(pl) %{_kde4_sharedir}/kid3/translations/kid3_pl.qm
%lang(ru) %{_kde4_sharedir}/kid3/translations/kid3_ru.qm
%lang(zh_CN) %{_kde4_sharedir}/kid3/translations/kid3_zh_CN.qm
%lang(sr) %{_kde4_sharedir}/kid3/translations/kid3_sr*.qm
%lang(re) %{_kde4_sharedir}/kid3/translations/kid3_tr.qm
%lang(zh_CN) %{_kde4_sharedir}/kid3/translations/kid3_zh_CN.qm
%lang(zh_TW) %{_kde4_sharedir}/kid3/translations/kid3_zh_TW.qm
%doc %lang(en) %{_kde4_htmldir}/en/kid3/common
%doc %lang(en) %{_kde4_htmldir}/en/kid3/index.cache.bz2
%doc %lang(en) %{_kde4_htmldir}/en/kid3/index.docbook
%lang(de) %{_kde4_sharedir}/man/de/man1/kid3*
%{_kde4_sharedir}/doc/kid3-qt/kid3_de.html
%{_kde4_sharedir}/doc/kid3-qt/kid3_en.html
%{_kde4_sharedir}/man/man1/kid3-cli.1.gz
%{_kde4_sharedir}/man/man1/kid3-qt.1.gz
%{_kde4_sharedir}/man/man1/kid3.1.gz
%doc AUTHORS COPYING %doc AUTHORS COPYING
#ChangeLog LICENSE NEWS README #ChangeLog LICENSE NEWS README
%changelog %changelog
* Thu Mar 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.2-2mamba
- rebuild for qt5/kde5
* Tue Mar 15 2016 Automatic Build System <autodist@mambasoft.it> 3.3.2-1mamba
- automatic version update by autodist
* Sun Dec 20 2015 Automatic Build System <autodist@mambasoft.it> 3.3.1-1mamba * Sun Dec 20 2015 Automatic Build System <autodist@mambasoft.it> 3.3.1-1mamba
- automatic version update by autodist - automatic version update by autodist