update to 17.04.3 [release 17.04.3-1mamba;Sun Aug 06 2017]

This commit is contained in:
Silvan Calarco 2024-01-06 00:23:06 +01:00
parent 1ca6d200b2
commit 7edde3775f

162
k3b.spec
View File

@ -1,8 +1,8 @@
%define dirver %(echo %version | sed "s,alpha.*,,;s,rc.*,,") %define dirver %(echo %version | sed "s,alpha.*,,;s,rc.*,,")
%define pkgver %(echo %version | sed "s|[a-z]||") %define pkgver %(echo %version | sed "s|[a-z]||")
Name: k3b Name: k3b
Version: 2.0.3a Version: 17.04.3
Release: 4mamba Release: 1mamba
Summary: The CD/DVD/Blu-Ray Creator for KDE Summary: The CD/DVD/Blu-Ray Creator for KDE
License: GPL License: GPL
Group: Graphical Desktop/Applications/Multimedia Group: Graphical Desktop/Applications/Multimedia
@ -10,38 +10,52 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.k3b.org URL: http://www.k3b.org
Source: http://download.kde.org/stable/k3b/k3b-%{version}.tar.xz Source: https://download.kde.org/stable/applications/%{version}/src/k3b-%{version}.tar.xz
Patch0: %{name}-1.0.4-configure_ffmpeg.patch Patch0: %{name}-1.0.4-configure_ffmpeg.patch
Patch1: k3b-2.0.2-ffmpeg.patch Patch1: k3b-2.0.2-ffmpeg.patch
Patch2: k3b-2.0.3-disable-lsof-check.patch Patch2: k3b-2.0.3-disable-lsof-check.patch
Patch3: k3b-2.0.3a-CMakeLists.patch Patch3: k3b-2.0.3a-CMakeLists.patch
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: kdelibs-devel BuildRequires: libQt5WebKit-devel
BuildRequires: libICE-devel BuildRequires: libattica5-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXft-devel
BuildRequires: libXpm-devel
BuildRequires: libavcodec-ffmpeg-devel BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavutil-ffmpeg-devel BuildRequires: libavutil-ffmpeg-devel
BuildRequires: libdvdread-devel BuildRequires: libdvdread-devel
BuildRequires: libflac-devel BuildRequires: libflac-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libkarchive-devel
BuildRequires: libkauth-devel
BuildRequires: libkbookmarks-devel
BuildRequires: libkcddb-devel BuildRequires: libkcddb-devel
BuildRequires: libkcmutils-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkfilemetadata-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkitemviews-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libknewstuff-devel
BuildRequires: libknotifications-devel
BuildRequires: libknotifyconfig-devel
BuildRequires: libkservice-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkxmlgui-devel
BuildRequires: liblame-devel BuildRequires: liblame-devel
BuildRequires: libmad-devel BuildRequires: libmad-devel
BuildRequires: libmusepack-devel BuildRequires: libmusepack-devel
BuildRequires: libmusicbrainz2-devel BuildRequires: libmusicbrainz2-devel
BuildRequires: libogg-devel BuildRequires: libogg-devel
BuildRequires: libqt4-devel BuildRequires: libqt5-devel
BuildRequires: libsamplerate-devel BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel BuildRequires: libsndfile-devel
BuildRequires: libsoprano-devel BuildRequires: libsolid-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libtag-devel BuildRequires: libtag-devel
BuildRequires: libvorbis-devel BuildRequires: libvorbis-devel
@ -178,12 +192,12 @@ Ukrainian language support for %{name}.
%setup -q -n %{name}-%{pkgver} %setup -q -n %{name}-%{pkgver}
#%patch1 -p1 #%patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3 -p1 #%patch3 -p1
#rm -f doc/*/CMakeLists.txt #rm -f doc/*/CMakeLists.txt
%build %build
%cmake_kde4 -d build \ %cmake_kde5 -d build \
-Wno-dev -Wno-dev
%make %make
@ -192,11 +206,11 @@ Ukrainian language support for %{name}.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %makeinstall -C build
%find_lang k3b --all-name --with-kde || touch k3b.lang %find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
install -d %{buildroot}%{_datadir}/polkit-1/actions #install -d %{buildroot}%{_datadir}/polkit-1/actions
mv %{buildroot}%{_kde4_sharedir}/polkit-1/actions/org.kde.kcontrol.k3bsetup.policy \ #mv %{buildroot}%{_kde4_sharedir}/polkit-1/actions/org.kde.kcontrol.k3bsetup.policy \
%{buildroot}%{_datadir}/polkit-1/actions/org.kde.kcontrol.k3bsetup.policy # %{buildroot}%{_datadir}/polkit-1/actions/org.kde.kcontrol.k3bsetup.policy
#install -d %{buildroot}%{_datadir}/dbus-1/system-services #install -d %{buildroot}%{_datadir}/dbus-1/system-services
#mv %{buildroot}%{_kde4_sharedir}/dbus-1/system-services/org.kde.kcontrol.k3bsetup.service \ #mv %{buildroot}%{_kde4_sharedir}/dbus-1/system-services/org.kde.kcontrol.k3bsetup.service \
@ -209,103 +223,103 @@ mv %{buildroot}%{_kde4_sharedir}/polkit-1/actions/org.kde.kcontrol.k3bsetup.poli
/sbin/ldconfig /sbin/ldconfig
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
update-desktop-database -q &>/dev/null update-desktop-database -q &>/dev/null
update-mime-database %{_kde4_mimedir} &>/dev/null update-mime-database %{_kde5_mimedir} &>/dev/null
fi fi
%posttrans %posttrans
/sbin/ldconfig /sbin/ldconfig
update-desktop-database -q &>/dev/null update-desktop-database -q &>/dev/null
update-mime-database %{_kde4_mimedir} >&/dev/null update-mime-database %{_kde5_mimedir} >&/dev/null
exit 0 exit 0
%files -f k3b.lang %files -f %{name}5_qt.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/dbus-1/system.d/org.kde.kcontrol.k3bsetup.conf %{_sysconfdir}/xdg/k3btheme.knsrc
%{_kde4_bindir}/k3b %{_kde5_bindir}/k3b
%{_kde4_bindir}/k3bsetup %{_kde5_libdir}/libk3bdevice.so.*
%{_kde4_libdir}/kde4/k3b*.so %{_kde5_libdir}/libk3blib.so.*
%{_kde4_libdir}/kde4/kcm*.so %{_libdir}/qt5/plugins/k3b*.so
%{_kde4_libdir}/kde4/kio*.so %{_libdir}/qt5/plugins/kcm_k3b*.so
%{_kde4_libdir}/libk3bdevice.so.* %{_libdir}/qt5/plugins/kio_videodvd.so
%{_kde4_libdir}/libk3blib.so.* %{_datadir}/applications/org.kde.k3b.desktop
%{_kde4_libexecdir}/k3bsetuphelper %{_datadir}/knotifications5/k3b.notifyrc
%{_kde4_xdgappsdir}/k3b.desktop %dir %{_datadir}/kxmlgui5/k3b
%{_kde4_xdgmimedir}/x-k3b.xml %{_datadir}/kxmlgui5/k3b/k3b*.rc
%{_kde4_datadir}/k3b/cdi/* %{_datadir}/metainfo/org.kde.k3b.appdata.xml
%{_kde4_datadir}/k3b/extra/k3bphoto*.mpg %{_kde5_xdgmimedir}/x-k3b.xml
%{_kde4_datadir}/k3b/icons %{_kde5_datadir}/k3b/cdi/*
%{_kde4_datadir}/k3b/k3b.notifyrc %{_kde5_datadir}/k3b/extra/k3bphoto*.mpg
%{_kde4_datadir}/k3b/k3bdeviceui.rc %{_kde5_datadir}/k3b/icons
%{_kde4_datadir}/k3b/k3bui.rc %{_kde5_datadir}/k3b/pics
%{_kde4_datadir}/k3b/pics %{_datadir}/icons/hicolor/*/mimetypes/application-x-k3b.png
%{_kde4_datadir}/k3b/tips %{_datadir}/icons/hicolor/scalable/mimetypes/application-x-k3b.svgz
%{_kde4_datadir}/konqsidebartng/virtual_folders/services/videodvd.desktop %{_kde5_datadir}/konqsidebartng/virtual_folders/services/videodvd.desktop
%{_kde4_datadir}/solid/actions/k3b*.desktop %{_kde5_datadir}/solid/actions/k3b*.desktop
%{_kde4_servicesdir}/ServiceMenus/k3b*.desktop %{_kde5_servicesdir}/ServiceMenus/k3b*.desktop
%{_kde4_servicesdir}/k3b*.desktop %{_kde5_servicesdir}/k3b*.desktop
%{_kde4_servicesdir}/videodvd.protocol %{_kde5_servicesdir}/videodvd.protocol
%{_kde4_servicesdir}/kcm_k3b*.desktop %{_kde5_servicesdir}/kcm_k3b*.desktop
%{_kde4_servicetypesdir}/k3bplugin.desktop %{_kde5_servicetypesdir}/k3bplugin.desktop
#%{_kde4_soundsdir}/k3b_*.wav %{_kde5_htmldir}/en/k3b
%{_kde4_htmldir}/en/k3b %{_kde5_icondir}/hicolor/*/apps/k3b.png
%{_datadir}/polkit-1/actions/org.kde.kcontrol.k3bsetup.policy %{_kde5_icondir}/hicolor/*/apps/k3b.svgz
%{_datadir}/dbus-1/system-services/org.kde.kcontrol.k3bsetup.service
%{_kde4_icondir}/hicolor/*/apps/k3b.png
%{_kde4_icondir}/hicolor/*/apps/k3b.svgz
%doc COPYING COPYING.DOC %doc COPYING COPYING.DOC
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_includedir}/k3b*.h %{_includedir}/k3b*.h
%{_kde4_libdir}/libk3bdevice.so %{_kde5_libdir}/libk3bdevice.so
%{_kde4_libdir}/libk3blib.so %{_kde5_libdir}/libk3blib.so
%doc ChangeLog FAQ PERMISSIONS README %doc ChangeLog
%files -n k3b-i18n-ca %files -n k3b-i18n-ca
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_htmldir}/ca/k3b %{_kde5_htmldir}/ca/k3b
%files -n k3b-i18n-de %files -n k3b-i18n-de
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_htmldir}/de/k3b %{_kde5_htmldir}/de/k3b
%files -n k3b-i18n-es %files -n k3b-i18n-es
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_htmldir}/es/k3b %{_kde5_htmldir}/es/k3b
%files -n k3b-i18n-et #%files -n k3b-i18n-et
%defattr(-,root,root) #%defattr(-,root,root)
%{_kde4_htmldir}/et/k3b #%{_kde5_htmldir}/et/k3b
%files -n k3b-i18n-fr %files -n k3b-i18n-fr
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_htmldir}/fr/k3b %{_kde5_htmldir}/fr/k3b
%files -n k3b-i18n-it %files -n k3b-i18n-it
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_htmldir}/it/k3b %{_kde5_htmldir}/it/k3b
%files -n k3b-i18n-nl %files -n k3b-i18n-nl
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_htmldir}/nl/k3b %{_kde5_htmldir}/nl/k3b
%files -n k3b-i18n-pt %files -n k3b-i18n-pt
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_htmldir}/pt/k3b %{_kde5_htmldir}/pt/k3b
%files -n k3b-i18n-pt_BR %files -n k3b-i18n-pt_BR
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_htmldir}/pt_BR/k3b %{_kde5_htmldir}/pt_BR/k3b
#%files -n k3b-i18n-sv %files -n k3b-i18n-sv
#%defattr(-,root,root) %defattr(-,root,root)
#%{_kde4_htmldir}/sv/k3b %{_kde5_htmldir}/sv/k3b
%files -n k3b-i18n-uk %files -n k3b-i18n-uk
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_htmldir}/uk/k3b %{_kde5_htmldir}/uk/k3b
%changelog %changelog
* Sun Aug 06 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 17.04.3-1mamba
- update to 17.04.3
* Thu Nov 12 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.3a-4mamba * Thu Nov 12 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.3a-4mamba
- rebuilt with libtag 1.9.1 - rebuilt with libtag 1.9.1