202 lines
6.5 KiB
RPMSpec
202 lines
6.5 KiB
RPMSpec
%define require_libdvdcss 0
|
|
|
|
Name: kaffeine
|
|
Version: 1.2.2
|
|
Release: 3mamba
|
|
Summary: A Media Player for KDE 4
|
|
Group: Graphical Desktop/Applications/Multimedia
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
|
URL: http://kaffeine.sourceforge.net
|
|
Source: http://downloads.sourceforge.net/kaffeine/kaffeine-%{version}.tar.gz
|
|
Patch0: kaffeine-1.2.2-gcc-4.7.patch
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: kdelibs-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libqt4-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libxine1-devel
|
|
BuildRequires: libXScrnSaver-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libphonon-devel
|
|
%if %require_libdvdcss
|
|
BuildRequires: libdvdcss-devel
|
|
%endif
|
|
BuildRequires: pkgconfig
|
|
Provides: kaffeine4
|
|
Obsoletes: kaffeine4
|
|
Provides: libkaffeine
|
|
Obsoletes: libkaffeine
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Kaffeine a Media Player for KDE 4.
|
|
It can load local files or URLs and supports most of the existing audio and video formats, such as AVI, MOV, WMV, DIVX, MP3, MPA, and WAV.
|
|
It also plays back CDs, DVDs, VCDs and can save screenshots in PNG, BMP, and XBM formats.
|
|
Bookmarks and playlist are available.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%cmake_kde4 -d build
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
%makeinstall -C build
|
|
%find_lang kaffeine
|
|
|
|
#echo "InitialPreference=10" >> %{buildroot}%{_kde4_xdgappsdir}/kaffeine.desktop
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%post
|
|
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
|
|
exit 0
|
|
|
|
%postun
|
|
if [ $1 -eq 0 ] ; then
|
|
update-desktop-database -q &>/dev/null
|
|
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
|
|
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
|
|
fi
|
|
|
|
%posttrans
|
|
update-desktop-database -q &>/dev/null
|
|
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
|
|
|
|
%files -f kaffeine.lang
|
|
%defattr(-,root,root)
|
|
%{_kde4_bindir}/kaffeine
|
|
%{_kde4_bindir}/kaffeine-xbu
|
|
%dir %{_kde4_datadir}/kaffeine
|
|
%{_kde4_datadir}/kaffeine/scanfile.dvb
|
|
%{_kde4_datadir}/profiles/kaffeine.profile.xml
|
|
%{_kde4_xdgappsdir}/kaffeine.desktop
|
|
%{_kde4_datadir}/solid/actions/kaffeine_play*.desktop
|
|
%{_kde4_icondir}/hicolor/*/apps/kaffeine.png
|
|
%{_kde4_icondir}/hicolor/scalable/apps/kaffeine.svgz
|
|
%{_kde4_icondir}/oxygen/*/actions/*.png
|
|
%doc COPYING Changelog NOTES
|
|
|
|
%changelog
|
|
* Mon Jan 21 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.2-3mamba
|
|
- remove InitialPreference to make kaffeine no longer the default player
|
|
|
|
* Mon Aug 29 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.2-2mamba
|
|
- add InitialPreference=10 in desktop file to set as preferred video player in KDE
|
|
|
|
* Mon Apr 18 2011 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Apr 05 2011 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Sep 02 2010 Automatic Build System <autodist@mambasoft.it> 1.1-1mamba
|
|
- automatic update to 1.1 by autodist
|
|
|
|
* Sun Jun 06 2010 Davide Madrisan <davide.madrisan@gmail.com> 1.0-5mamba
|
|
- updated to 1.0
|
|
- own %{_kde4_datadir}/kaffeine
|
|
|
|
* Wed Feb 10 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-4mamba
|
|
- updated to 1.0-pre3
|
|
|
|
* Thu Sep 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-3mamba
|
|
- updated to -pre2
|
|
|
|
* Fri May 29 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-2mamba
|
|
- obsolete libkaffeine
|
|
|
|
* Thu May 28 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
|
|
- update to 1.0-pre1
|
|
|
|
* Mon May 18 2009 Automatic Build System <autodist@mambasoft.it> 0.8.7-3mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Thu Jul 24 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.7-2mamba
|
|
- path configure to fix localization support
|
|
|
|
* Tue Jul 22 2008 gil <puntogil@libero.it> 0.8.7-1mamba
|
|
- update to 0.8.7
|
|
|
|
* Mon Jan 21 2008 Aleph0 <aleph0@openmamba.org> 0.8.6-1mamba
|
|
- update to 0.8.6
|
|
|
|
* Mon Jul 30 2007 Aleph0 <aleph0@openmamba.org> 0.8.5-1mamba
|
|
- update to 0.8.5
|
|
- add new build requirement for libxcb-devel
|
|
|
|
* Thu Feb 08 2007 Aleph0 <aleph0@openmamba.org> 0.8.3-1mamba
|
|
- update to version 0.8.3 by autospec
|
|
- rebuilt with the new installation prefix /opt/kde3
|
|
|
|
* Mon Nov 06 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.8.2-1qilnx
|
|
- update to version 0.8.2 by autospec
|
|
- created subpackage lib%{name}
|
|
|
|
* Thu Aug 03 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.8.1-2qilnx
|
|
- removed x-mplayer2.desktop mimelnk now provided by kdelibs
|
|
|
|
* Mon Apr 10 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.8.1-1qilnx
|
|
- update to version 0.8.1 by autospec
|
|
- this release fixes the security issue CVE-2006-0051
|
|
- removed libfam-devel from build requirements
|
|
- removed visibility patch
|
|
|
|
* Thu Feb 23 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.1-2qilnx
|
|
- fix KDE desktop entry location
|
|
|
|
* Mon Sep 05 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.7.1-1qilnx
|
|
- update to version 0.7.1 by autospec
|
|
|
|
* Wed Aug 10 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.7-1qilnx
|
|
- update to version 0.7 by autospec
|
|
- added build requirements for gstreamer-plugins
|
|
|
|
* Tue Apr 05 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6-1qilnx
|
|
- update to version 0.6 by autospec
|
|
|
|
* Tue Mar 01 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.5-4qilnx
|
|
- rebuilt with `--with-xorg' configure option
|
|
|
|
* Sat Jan 01 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5-3qilnx
|
|
- update to version 0.5
|
|
|
|
* Mon Nov 08 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.5-2qilnx
|
|
- update to version 0.5-rc2
|
|
|
|
* Fri Oct 29 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.5-1qilnx
|
|
- update to version 0.5-rc1 by autospec
|
|
|
|
* Sun Jun 27 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.3b-1qilnx
|
|
- new version build
|
|
|
|
* Mon Mar 29 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.4.2-1qilnx
|
|
- new version rebuild
|
|
|
|
* Fri Feb 13 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.4.1-3qilnx
|
|
- rebuild using KDE 3.2.0 core libraries and headers
|
|
|
|
* Thu Jan 29 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.4.1-2qilnx
|
|
- rebuilt
|
|
|
|
* Mon Jan 19 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.4.1-1qilnx
|
|
- rebuilt with the latest available version
|
|
|
|
* Mon Nov 17 2003 Davide Madrisan <davide.madrisan@qilinux.it> 0.4-1qilnx
|
|
- rebuilt with the latest stable version
|
|
|
|
* Tue Oct 07 2003 Davide Madrisan <davide.madrisan@qilinux.it> 0.4beta1-2qilnx
|
|
- removed libdvdcss as requirement
|
|
|
|
* Sun Oct 04 2003 Davide Madrisan <davide.madrisan@qilinux.it> 0.4beta1-1qilnx
|
|
- first build
|