k3b/k3b.spec

537 lines
18 KiB
RPMSpec
Raw Permalink Normal View History

%define dirver %(echo %version | sed "s,alpha.*,,;s,rc.*,,")
%define pkgver %(echo %version | sed "s|[a-z]||")
Name: k3b
Version: 19.12.0
Release: 1mamba
Summary: The CD/DVD/Blu-Ray Creator for KDE
License: GPL
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.k3b.org
Source: https://download.kde.org/stable/release-service/%{version}/src/k3b-%{version}.tar.xz
Patch0: %{name}-1.0.4-configure_ffmpeg.patch
Patch1: k3b-2.0.2-ffmpeg.patch
Patch2: k3b-2.0.3-disable-lsof-check.patch
Patch3: k3b-2.0.3a-CMakeLists.patch
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5WebKit-devel
BuildRequires: libattica5-devel
BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavutil-ffmpeg-devel
BuildRequires: libdvdread-devel
BuildRequires: libflac-devel
BuildRequires: libgcc
BuildRequires: libkarchive-devel
BuildRequires: libkauth-devel
BuildRequires: libkbookmarks-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: libmad-devel
BuildRequires: libmusepack-devel
BuildRequires: libmusicbrainz2-devel
BuildRequires: libogg-devel
BuildRequires: libqt5-devel
BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel
BuildRequires: libsolid-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtag-devel
BuildRequires: libvorbis-devel
## AUTOBUILDREQ-END
BuildRequires: gettext-devel
BuildRequires: zlib-devel
BuildRequires: libaudiofile-devel
BuildRequires: libid3-devel
BuildRequires: libtag-devel >= 1.9.1
Requires: cdrdao
Requires: cdrskin
Requires: /usr/bin/mkisofs
Requires: /usr/bin/readcd
Requires: emovix
Requires: transcode
Requires: normalize
Requires: sox
Requires: vcdimager
Requires: dvd+rw-tools
Provides: k3b-i18n-ca
Provides: k3b-i18n-de
Provides: k3b-i18n-es
Provides: k3b-i18n-fr
Provides: k3b-i18n-it
Provides: k3b-i18n-nl
Provides: k3b-i18n-pt
Provides: k3b-i18n-pt_BR
Provides: k3b-i18n-sv
Provides: k3b-i18n-uk
Obsoletes: k3b-i18n-ca
Obsoletes: k3b-i18n-de
Obsoletes: k3b-i18n-es
Obsoletes: k3b-i18n-fr
Obsoletes: k3b-i18n-it
Obsoletes: k3b-i18n-nl
Obsoletes: k3b-i18n-pt
Obsoletes: k3b-i18n-pt_BR
Obsoletes: k3b-i18n-sv
Obsoletes: k3b-i18n-uk
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
K3b is a highly usable and very userfriendly cd writing program.
It has an extremely easy to use interface and supports many features:
* Supports CD, DVD, and Blu-ray burning
* Burn iso, cue, and cdrdao images
* Create audio, data, mixed mode, video cd, video dvd, and emovix projects
* Rip audio CDs to wav, ogg, flac, mp3, and more
* Rip Video DVDs to mpeg4
* Copy CD, DVD, and Blu-ray media 1-to-1
* Copy write protected Video DVDs with libdvdcss<
* CDDB support
* and more...
%package devel
Summary: Development files for k3b
Group: Development/Applications
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
K3b is a highly usable and very userfriendly cd writing program.
It has an extremely easy to use interface and supports many features:
* Supports CD, DVD, and Blu-ray burning
* Burn iso, cue, and cdrdao images
* Create audio, data, mixed mode, video cd, video dvd, and emovix projects
* Rip audio CDs to wav, ogg, flac, mp3, and more
* Rip Video DVDs to mpeg4
* Copy CD, DVD, and Blu-ray media 1-to-1
* Copy write protected Video DVDs with libdvdcss<
* CDDB support
* and more...
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q -n %{name}-%{pkgver}
#%patch1 -p1
%patch2 -p1
#%patch3 -p1
#rm -f doc/*/CMakeLists.txt
%build
%cmake_kde5 -d build \
-Wno-dev
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang
#install -d %{buildroot}%{_datadir}/polkit-1/actions
#mv %{buildroot}%{_kde4_sharedir}/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
#mv %{buildroot}%{_kde4_sharedir}/dbus-1/system-services/org.kde.kcontrol.k3bsetup.service \
# %{buildroot}%{_datadir}/dbus-1/system-services/org.kde.kcontrol.k3bsetup.service
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%postun
/sbin/ldconfig
if [ $1 -eq 0 ]; then
update-desktop-database -q &>/dev/null
update-mime-database %{_kde5_mimedir} &>/dev/null
fi
%posttrans
/sbin/ldconfig
update-desktop-database -q &>/dev/null
update-mime-database %{_kde5_mimedir} >&/dev/null
exit 0
%files -f %{name}5_qt.lang
%defattr(-,root,root)
#%{_sysconfdir}/xdg/k3btheme.knsrc
%{_kde5_bindir}/k3b
%{_kde5_libdir}/libk3bdevice.so.*
%{_kde5_libdir}/libk3blib.so.*
%{_libdir}/qt5/plugins/*.so
%{_libdir}/qt5/plugins/kf5/kio/videodvd.so
%{_libexecdir}/k3bhelper
%{_datadir}/applications/org.kde.k3b.desktop
%{_datadir}/knotifications5/k3b.notifyrc
%dir %{_datadir}/kxmlgui5/k3b
%{_datadir}/kxmlgui5/k3b/k3b*.rc
%{_datadir}/metainfo/org.kde.k3b.appdata.xml
%{_datadir}/dbus-1/system-services/org.kde.k3b.service
%{_datadir}/dbus-1/system.d/org.kde.k3b.conf
%{_datadir}/polkit-1/actions/org.kde.k3b.policy
%{_kde5_xdgmimedir}/x-k3b.xml
%{_kde5_datadir}/k3b/cdi/*
%{_kde5_datadir}/k3b/extra/k3bphoto*.mpg
%{_kde5_datadir}/k3b/icons
%{_kde5_datadir}/k3b/pics
%{_datadir}/icons/hicolor/*/mimetypes/application-x-k3b.png
%{_datadir}/icons/hicolor/scalable/mimetypes/application-x-k3b.svgz
%{_kde5_datadir}/konqsidebartng/virtual_folders/services/videodvd.desktop
%{_datadir}/knsrcfiles/k3btheme.knsrc
%{_kde5_datadir}/solid/actions/k3b*.desktop
%{_kde5_servicesdir}/ServiceMenus/k3b*.desktop
%{_kde5_servicesdir}/k3b*.desktop
%{_kde5_servicesdir}/videodvd.protocol
%{_kde5_servicesdir}/kcm_k3b*.desktop
%{_kde5_servicetypesdir}/k3bplugin.desktop
%{_kde5_icondir}/hicolor/*/apps/k3b.png
%{_kde5_icondir}/hicolor/*/apps/k3b.svgz
%doc COPYING COPYING.DOC
%files devel
%defattr(-,root,root)
%{_includedir}/k3b*.h
%{_kde5_libdir}/libk3bdevice.so
%{_kde5_libdir}/libk3blib.so
%doc ChangeLog
%changelog
* Tue Dec 31 2019 Automatic Build System <autodist@mambasoft.it> 19.12.0-1mamba
- automatic version update by autodist
* Thu Nov 07 2019 Automatic Build System <autodist@mambasoft.it> 19.08.3-1mamba
- automatic version update by autodist
* Thu Oct 10 2019 Automatic Build System <autodist@mambasoft.it> 19.08.2-1mamba
- automatic version update by autodist
* Fri Sep 06 2019 Automatic Build System <autodist@mambasoft.it> 19.08.1-1mamba
- automatic version update by autodist
* Sat Aug 17 2019 Automatic Build System <autodist@mambasoft.it> 19.08.0-1mamba
- automatic version update by autodist
* Thu Jul 11 2019 Automatic Build System <autodist@mambasoft.it> 19.04.3-1mamba
- automatic version update by autodist
* Fri Jun 07 2019 Automatic Build System <autodist@mambasoft.it> 19.04.2-1mamba
- automatic version update by autodist
* Thu May 09 2019 Automatic Build System <autodist@mambasoft.it> 19.04.1-1mamba
- automatic version update by autodist
* Fri Apr 19 2019 Automatic Build System <autodist@mambasoft.it> 19.04.0-1mamba
- automatic version update by autodist
* Thu Mar 07 2019 Automatic Build System <autodist@mambasoft.it> 18.12.3-1mamba
- automatic version update by autodist
* Thu Feb 07 2019 Automatic Build System <autodist@mambasoft.it> 18.12.2-1mamba
- automatic version update by autodist
* Fri Jan 11 2019 Automatic Build System <autodist@mambasoft.it> 18.12.1-1mamba
- automatic version update by autodist
* Fri Dec 14 2018 Automatic Build System <autodist@mambasoft.it> 18.12.0-1mamba
- automatic version update by autodist
* Sun Nov 11 2018 Automatic Build System <autodist@mambasoft.it> 18.08.3-1mamba
- automatic version update by autodist
* Thu Oct 11 2018 Automatic Build System <autodist@mambasoft.it> 18.08.2-1mamba
- automatic version update by autodist
* Thu Sep 06 2018 Automatic Build System <autodist@mambasoft.it> 18.08.1-1mamba
- automatic version update by autodist
* Fri Aug 17 2018 Automatic Build System <autodist@mambasoft.it> 18.08.0-1mamba
- automatic version update by autodist
* Fri Jul 13 2018 Automatic Build System <autodist@mambasoft.it> 18.04.3-1mamba
- automatic version update by autodist
* Thu Jun 07 2018 Automatic Build System <autodist@mambasoft.it> 18.04.2-1mamba
- automatic version update by autodist
* Thu May 10 2018 Automatic Build System <autodist@mambasoft.it> 18.04.1-1mamba
- automatic version update by autodist
* Thu Apr 19 2018 Automatic Build System <autodist@mambasoft.it> 18.04.0-1mamba
- automatic version update by autodist
* Thu Mar 08 2018 Automatic Build System <autodist@mambasoft.it> 17.12.3-1mamba
- automatic version update by autodist
* Fri Feb 09 2018 Automatic Build System <autodist@mambasoft.it> 17.12.2-1mamba
- automatic version update by autodist
* Thu Jan 11 2018 Automatic Build System <autodist@mambasoft.it> 17.12.1-1mamba
- automatic version update by autodist
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 17.12.0-1mamba
- automatic version update by autodist
* Fri Nov 10 2017 Automatic Build System <autodist@mambasoft.it> 17.08.3-1mamba
- automatic version update by autodist
* Thu Oct 12 2017 Automatic Build System <autodist@mambasoft.it> 17.08.2-1mamba
- automatic version update by autodist
* Fri Sep 08 2017 Automatic Build System <autodist@mambasoft.it> 17.08.1-1mamba
- automatic version update by autodist
* Tue Aug 22 2017 Automatic Build System <autodist@mambasoft.it> 17.08.0-1mamba
- automatic version update by autodist
* Thu Aug 17 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 17.04.3-2mamba
- require cdrskin
* 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
- rebuilt with libtag 1.9.1
* Sun Apr 12 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.3a-3mamba
- patch to disable lsof check
* Fri Nov 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.3a-2mamba
- remove old obsoletes for i18n packages
* Wed Nov 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.3a-1mamba
- update to 2.0.3a
* Wed Nov 07 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-3mamba
- ffmpeg 0.10 mass rebuild
* Wed Oct 19 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-2mamba
- remove requirement for cdrtools, replace with /usr/bin/cdrecord and other file requirements
* Tue Jan 25 2011 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
- automatic update by autodist
* Thu Aug 26 2010 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
- automatic update to 2.0.1 by autodist
* Wed Jun 30 2010 Automatic Build System <autodist@mambasoft.it> 2.0.0-2mamba
- automatic rebuild by autodist
* Mon Jun 28 2010 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
- automatic update to 2.0.0 by autodist
* Thu Jun 10 2010 Automatic Build System <autodist@mambasoft.it> 1.92.0rc3-2mamba
- automatic rebuild by autodist
* Wed Jun 02 2010 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.92.0rc3-1mamba
- update to 1.92.0rc3
* Sun Mar 28 2010 Davide Madrisan <davide.madrisan@gmail.com> 1.91.0rc2-1mamba
- update to 1.91.0rc2
* Mon Feb 08 2010 Davide Madrisan <davide.madrisan@gmail.com> 1.68.0alpha3-3mamba
- rebuilt
- move PolicyKit policy to %{_datadir}/PolicyKit/policy
* Tue Dec 08 2009 Automatic Build System <autodist@mambasoft.it> 1.68.0alpha3-2mamba
- automatic rebuild by autodist
* Wed Nov 04 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.68.0alpha3-1mamba
- update to 1.68.0alpha
* Thu May 28 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.66.0alpha2-1mamba
- update to 1.66.0alpha2
* Mon May 18 2009 Automatic Build System <autodist@mambasoft.it> 1.0.5-5mamba
- automatic rebuild by autodist
* Fri Jan 09 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-4mamba
- automatic rebuild by autodist
* Wed Dec 10 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-3mamba
- automatic rebuild by autodist
* Fri Nov 14 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-2mamba
- automatic rebuild by autodist
* Sun Jun 01 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-1mamba
- update to 1.0.5
* Mon May 26 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-3mamba
- rebuilt against libdvdread 4.1.2
- arts support disabled
* Fri Dec 14 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-2mamba
- rebuild against recent libffmpeg
* Wed Nov 07 2007 Aleph0 <aleph0@openmamba.org> 1.0.4-1mamba
- update to 1.0.4
* Mon Jul 23 2007 Aleph0 <aleph0@openmamba.org> 1.0.3-1mamba
- update to 1.0.3
* Fri Apr 20 2007 Aleph0 <aleph0@openmamba.org> 1.0.1-1mamba
- update to version 1.0.1 by autospec
* Mon Mar 19 2007 Aleph0 <aleph0@openmamba.org> 1.0-1qilnx
- update to version 1.0 by autospec
- enable support for alsa
* Fri Feb 09 2007 Aleph0 <aleph0@openmamba.org> 0.12.17-2qilnx
- rebuilt with the new installation prefix /opt/kde3
* Mon Sep 04 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.12.17-1qilnx
- update to version 0.12.17 by autospec
* Tue Jun 27 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.12.16-1qilnx
- update to version 0.12.16 by autospec
* Wed Apr 12 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.12.15-1qilnx
- update to version 0.12.15 by autospec
- removed obsolete build requirement: libfam-devel
* Wed Mar 08 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.14-1qilnx
- update to version 0.12.14 by autospec
* Fri Mar 03 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.13-1qilnx
- update to version 0.12.13 by autospec
* Wed Feb 15 2006 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.12.12-1qilnx
- update to version 0.12.12 by autospec
* Fri Dec 16 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.12.10-1qilnx
- update to version 0.12.10 by autospec
* Tue Dec 13 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.12.9-1qilnx
- update to version 0.12.9 by autospec
* Tue Nov 29 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.12.8-1qilnx
- update to version 0.12.8 by autospec
* Wed Nov 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.12.7-1qilnx
- update to version 0.12.7 by autospec
* Wed Oct 26 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.12.5-2qilnx
- requires sox, dvd+rw-tools
* Tue Oct 25 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.12.5-1qilnx
- update to version 0.12.5 by autospec
- requires normalize, vcdimager
* Mon Sep 12 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.12.4a-1qilnx
- update to version 0.12.4a by autospec
* Tue Aug 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.12.3-2qilnx
- rebuilt
* Mon Aug 01 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.12.3-1qilnx
- update to version 0.12.3 by autospec
- build requirements for HAL/DBUS added
* Mon Jul 04 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.2-1qilnx
- update to version 0.12.2 by autospec
* Fri Jun 17 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.12-1qilnx
- update to version 0.12 by autospec
- requires transcode
- %%post, %%postun scripts added
- support for libmpcdec and ffmpeg libraries enabled
* Thu Jun 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.11.24-2qilnx
- package rebuild
* Fri May 13 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.24-1qilnx
- update to version 0.11.24 by autospec
* Mon May 02 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.11.23-1qilnx
- update to version 0.11.23 by autospec
- modified package groups
* Sun Feb 06 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.20-1qilnx
- update to version 0.11.20 by autospec
* Sun Jan 30 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.19-1qilnx
- update to version 0.11.19 by autospec
* Wed Dec 29 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.18-1qilnx
- update to version 0.11.18 by autospec
* Thu Aug 26 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.11.14-1qilnx
- update to version 0.11.14 by autospec
* Mon Aug 23 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.11.13-2qilnx
- added missing Requirements (cdrdao, cdrtools)
- added missing BuildRequirements (libflac-devel)
* Wed Aug 04 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.11.13-1qilnx
- update to version 0.11.13
* Mon Jun 28 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.11.12-1qilnx
- new version rebuild
* Mon May 24 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.11.10-1qilnx
- new version rebuild
* Tue Mar 30 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.11.9-1qilnx
- new version rebuild
* Mon Mar 22 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.11.7-1qilnx
- new version rebuild
* Mon Mar 01 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.11.6-1qilnx
- new version rebuild
* Fri Feb 27 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.11.5-1qilnx
- new version rebuild
* Wed Feb 18 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.11.4-1qilnx
- new version rebuild
* Tue Feb 10 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.11.2-1qilnx
- package update
* Mon Jan 26 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.11.1-1qilnx
- package update
- added emovix support
* Sun Dec 21 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.3-2qilnx
- rebuild with libmad (mpeg audio layers 1,2,3 decoding support)
* Wed Dec 17 2003 Davide Madrisan <davide.madrisan@qilinux.it> 0.10.3-1qilnx
- new version build
* Fri Nov 14 2003 Davide Madrisan <davide.madrisan@qilinux.it> 0.10.2-1qilnx
- new version build
* Tue Oct 14 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10-1qilnx
- new version build
* Tue Sep 09 2003 Davide Madrisan <davide.madrisan@qilinux.it> 0.9pre2-2qilnx
- fixed broken dependencies, added Ogg Vorbis support
* Thu Jul 10 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9pre2-1qilnx
- first build for k3b