|
|
b2d56c |
Name: dragon
|
|
|
b2d56c |
Summary: Media player
|
|
|
b2d56c |
Version: 4.10.5
|
|
|
10da30 |
Release: 3%{?dist}
|
|
|
b2d56c |
|
|
|
b2d56c |
# code: KDE e.V. may determine that future GPL versions are accepted
|
|
|
b2d56c |
# docs: GFDL
|
|
|
b2d56c |
License: (GPLv2 or GPLv3) and GFDL
|
|
|
b2d56c |
URL: https://projects.kde.org/projects/kde/kdemultimedia/%{name}
|
|
|
b2d56c |
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
b2d56c |
%if %{revision} >= 50
|
|
|
b2d56c |
%global stable unstable
|
|
|
b2d56c |
%else
|
|
|
b2d56c |
%global stable stable
|
|
|
b2d56c |
%endif
|
|
|
b2d56c |
Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz
|
|
|
b2d56c |
|
|
|
b2d56c |
BuildRequires: desktop-file-utils
|
|
|
b2d56c |
BuildRequires: kdelibs4-devel >= %{version}
|
|
|
b2d56c |
BuildRequires: pkgconfig(phonon)
|
|
|
b2d56c |
|
|
|
b2d56c |
Requires: kde-runtime%{?_kde4_version: >= %{_kde4_version}}
|
|
|
b2d56c |
|
|
|
b2d56c |
# when split occurred
|
|
|
b2d56c |
Obsoletes: kdemultimedia-dragonplayer < 6:4.8.80
|
|
|
b2d56c |
Provides: kdemultimedia-dragonplayer = 6:%{version}-%{release}
|
|
|
b2d56c |
Provides: dragonplayer = %{version}-%{release}
|
|
|
b2d56c |
|
|
|
b2d56c |
|
|
|
b2d56c |
%description
|
|
|
b2d56c |
%{summary}.
|
|
|
b2d56c |
|
|
|
b2d56c |
|
|
|
b2d56c |
%prep
|
|
|
b2d56c |
%setup -q
|
|
|
b2d56c |
|
|
|
b2d56c |
|
|
|
b2d56c |
%build
|
|
|
b2d56c |
mkdir -p %{_target_platform}
|
|
|
b2d56c |
pushd %{_target_platform}
|
|
|
b2d56c |
%{cmake_kde4} ..
|
|
|
b2d56c |
popd
|
|
|
b2d56c |
|
|
|
b2d56c |
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
b2d56c |
|
|
|
b2d56c |
|
|
|
b2d56c |
%install
|
|
|
b2d56c |
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
b2d56c |
|
|
|
b2d56c |
%find_lang %{name} --with-kde --all-name
|
|
|
b2d56c |
|
|
|
b2d56c |
|
|
|
b2d56c |
%check
|
|
|
b2d56c |
desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/dragonplayer.desktop
|
|
|
b2d56c |
|
|
|
b2d56c |
|
|
|
b2d56c |
%post
|
|
|
b2d56c |
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||:
|
|
|
b2d56c |
touch --no-create %{_kde4_iconsdir}/oxygen &> /dev/null ||:
|
|
|
b2d56c |
|
|
|
b2d56c |
%posttrans
|
|
|
b2d56c |
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||:
|
|
|
b2d56c |
gtk-update-icon-cache %{_kde4_iconsdir}/oxygen &> /dev/null ||:
|
|
|
b2d56c |
update-desktop-database -q &> /dev/null ||:
|
|
|
b2d56c |
|
|
|
b2d56c |
%postun
|
|
|
b2d56c |
if [ $1 -eq 0 ] ; then
|
|
|
b2d56c |
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||:
|
|
|
b2d56c |
touch --no-create %{_kde4_iconsdir}/oxygen &> /dev/null ||:
|
|
|
b2d56c |
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||:
|
|
|
b2d56c |
gtk-update-icon-cache %{_kde4_iconsdir}/oxygen &> /dev/null ||:
|
|
|
b2d56c |
update-desktop-database -q &> /dev/null ||:
|
|
|
b2d56c |
fi
|
|
|
b2d56c |
|
|
|
b2d56c |
%files -f %{name}.lang
|
|
|
b2d56c |
%doc COPYING COPYING.DOC
|
|
|
b2d56c |
%doc README HACKING TODO
|
|
|
b2d56c |
%{_kde4_appsdir}/dragonplayer/
|
|
|
b2d56c |
%{_kde4_appsdir}/solid/actions/dragonplayer-opendvd.desktop
|
|
|
b2d56c |
%{_kde4_bindir}/dragon
|
|
|
b2d56c |
%{_kde4_configdir}/dragonplayerrc
|
|
|
b2d56c |
%{_kde4_datadir}/kde4/services/ServiceMenus/dragonplayer_play_dvd.desktop
|
|
|
b2d56c |
%{_kde4_datadir}/applications/kde4/dragonplayer.desktop
|
|
|
b2d56c |
%{_kde4_datadir}/kde4/services/dragonplayer_part.desktop
|
|
|
b2d56c |
%{_kde4_iconsdir}/hicolor/*/apps/dragonplayer.*
|
|
|
b2d56c |
%{_kde4_iconsdir}/oxygen/*/actions/player-volume-muted.*
|
|
|
b2d56c |
%{_kde4_libdir}/kde4/dragonpart.so
|
|
|
b2d56c |
%{_mandir}/man1/dragon.1*
|
|
|
b2d56c |
|
|
|
b2d56c |
|
|
|
b2d56c |
%changelog
|
|
|
10da30 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 4.10.5-3
|
|
|
10da30 |
- Mass rebuild 2014-01-24
|
|
|
10da30 |
|
|
|
10da30 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 4.10.5-2
|
|
|
10da30 |
- Mass rebuild 2013-12-27
|
|
|
10da30 |
|
|
|
b2d56c |
* Sun Jun 30 2013 Than Ngo <than@redhat.com> - 4.10.5-1
|
|
|
b2d56c |
- 4.10.5
|
|
|
b2d56c |
|
|
|
b2d56c |
* Sat Jun 01 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.4-1
|
|
|
b2d56c |
- 4.10.4
|
|
|
b2d56c |
|
|
|
b2d56c |
* Mon May 06 2013 Than Ngo <than@redhat.com> - 4.10.3-1
|
|
|
b2d56c |
- 4.10.3
|
|
|
b2d56c |
|
|
|
b2d56c |
* Sun Mar 31 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.2-1
|
|
|
b2d56c |
- 4.10.2
|
|
|
b2d56c |
|
|
|
b2d56c |
* Sat Mar 02 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.1-1
|
|
|
b2d56c |
- 4.10.1
|
|
|
b2d56c |
|
|
|
b2d56c |
* Fri Feb 01 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.0-1
|
|
|
b2d56c |
- 4.10.0
|
|
|
b2d56c |
|
|
|
b2d56c |
* Tue Jan 22 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.9.98-1
|
|
|
b2d56c |
- 4.9.98
|
|
|
b2d56c |
|
|
|
b2d56c |
* Fri Jan 04 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.9.97-1
|
|
|
b2d56c |
- 4.9.97
|
|
|
b2d56c |
|
|
|
b2d56c |
* Thu Dec 20 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.9.95-1
|
|
|
b2d56c |
- 4.9.95
|
|
|
b2d56c |
|
|
|
b2d56c |
* Tue Dec 04 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.9.90-1
|
|
|
b2d56c |
- 4.9.90
|
|
|
b2d56c |
|
|
|
b2d56c |
* Mon Dec 03 2012 Than Ngo <than@redhat.com> - 4.9.4-1
|
|
|
b2d56c |
- 4.9.4
|
|
|
b2d56c |
|
|
|
b2d56c |
* Sat Nov 03 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.9.3-1
|
|
|
b2d56c |
- 4.9.3
|
|
|
b2d56c |
|
|
|
b2d56c |
* Sat Sep 29 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.9.2-1
|
|
|
b2d56c |
- 4.9.2
|
|
|
b2d56c |
|
|
|
b2d56c |
* Mon Sep 03 2012 Than Ngo <than@redhat.com> - 4.9.1-1
|
|
|
b2d56c |
- 4.9.1
|
|
|
b2d56c |
|
|
|
b2d56c |
* Thu Jul 26 2012 Lukas Tinkl <ltinkl@redhat.com> - 4.9.0-1
|
|
|
b2d56c |
- 4.9.0
|
|
|
b2d56c |
|
|
|
b2d56c |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.8.97-2
|
|
|
b2d56c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
b2d56c |
|
|
|
b2d56c |
* Wed Jul 11 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.8.97-1
|
|
|
b2d56c |
- 4.8.97
|
|
|
b2d56c |
|
|
|
b2d56c |
* Wed Jun 27 2012 Jaroslav Reznik <jreznik@redhat.com> - 4.8.95-1
|
|
|
b2d56c |
- 4.8.95
|
|
|
b2d56c |
|
|
|
b2d56c |
* Tue Jun 12 2012 Rex Dieter <rdieter@fedoraproject.org> 4.8.90-2
|
|
|
b2d56c |
- License: License: (GPLv2 or GPLv3) and GDFL
|
|
|
b2d56c |
- %%doc README ... COPYING ...
|
|
|
b2d56c |
|
|
|
b2d56c |
* Fri Jun 08 2012 Rex Dieter <rdieter@fedoraproject.org> 4.8.90-1
|
|
|
b2d56c |
- dragon-4.8.90
|
|
|
b2d56c |
|