Blame SPECS/dragon.spec

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