Rex Dieter db3ae74
Name:    plasma-mediacenter
Rex Dieter bc5e77e
Version: 5.6.95
Daniel Vrátil 3213237
Release: 1%{?dist}
Rex Dieter db3ae74
Summary: A mediacenter user interface written with the Plasma framework
Rex Dieter db3ae74
Rex Dieter db3ae74
License: GPLv2
Rex Dieter db3ae74
URL:     https://quickgit.kde.org/?p=%{name}.git
414202f
Dan Vrátil 073fbb5
%global revision %(echo %{version} | cut -d. -f3)
Dan Vrátil 073fbb5
%if %{revision} >= 50
Dan Vrátil 073fbb5
%global stable unstable
Dan Vrátil 073fbb5
%else
Dan Vrátil 073fbb5
%global stable stable
Dan Vrátil 073fbb5
%endif
Dan Vrátil 073fbb5
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
Dan Vrátil 073fbb5
Rex Dieter 25864af
BuildRequires:  desktop-file-utils
Dan Vrátil 073fbb5
BuildRequires:  extra-cmake-modules
Rex Dieter 25864af
BuildRequires:  kf5-baloo-devel
Rex Dieter 25864af
BuildRequires:  kf5-kactivities-devel
Dan Vrátil 073fbb5
BuildRequires:  kf5-kconfig-devel
Rex Dieter 25864af
BuildRequires:  kf5-kcoreaddons-devel
Rex Dieter 25864af
BuildRequires:  kf5-kdeclarative-devel
Dan Vrátil 073fbb5
BuildRequires:  kf5-kguiaddons-devel
Rex Dieter 25864af
BuildRequires:  kf5-ki18n-devel
Dan Vrátil 073fbb5
BuildRequires:  kf5-kio-devel
Rex Dieter 25864af
BuildRequires:  kf5-kservice-devel
Dan Vrátil 073fbb5
BuildRequires:  kf5-plasma-devel
Rex Dieter 25864af
BuildRequires:  kf5-rpm-macros
Rex Dieter 25864af
BuildRequires:  qt5-qtbase-devel
Rex Dieter 25864af
BuildRequires:  qt5-qtdeclarative-devel
Rex Dieter 25864af
BuildRequires:  qt5-qtxmlpatterns-devel
85e39dc
BuildRequires:  taglib-devel
85e39dc
Rex Dieter 25864af
Obsoletes: plasma-mediacenter-devel < 5.0.0
Rex Dieter 25864af
Rex Dieter 25864af
Requires:       qt5-qtmultimedia%{?_isa}
414202f
414202f
%description
Dan Vrátil 073fbb5
Plasma Media Center is designed to provide an easy and comfortable
Dan Vrátil 073fbb5
way to watch your videos, browse your photo collection and listen to
Dan Vrátil 073fbb5
your music, all in one place. This release brings many refinements
Dan Vrátil 073fbb5
and a host of new features, making consuming media even easier and
Dan Vrátil 073fbb5
more fun.
414202f
bd9f766
414202f
%prep
Dan Vrátil 073fbb5
%autosetup -n %{name}-%{version} -p1
414202f
Rex Dieter 25864af
414202f
%build
Rex Dieter 25864af
mkdir %{_target_platform}
414202f
pushd %{_target_platform}
Dan Vrátil 073fbb5
%{cmake_kf5} ..
414202f
popd
414202f
make %{?_smp_mflags} -C %{_target_platform}
414202f
414202f
414202f
%install
414202f
make install/fast -C %{_target_platform} DESTDIR=%{buildroot}
414202f
Dan Vrátil 073fbb5
%find_lang all --all-name
414202f
Rex Dieter 25864af
bd9f766
%check
Dan Vrátil 073fbb5
desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/plasma-mediacenter.desktop
Dan Vrátil 073fbb5
Rex Dieter 25864af
Dan Vrátil 073fbb5
%post
Dan Vrátil 073fbb5
/sbin/ldconfig
Dan Vrátil 073fbb5
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
Dan Vrátil 073fbb5
Dan Vrátil 073fbb5
%postun
Dan Vrátil 073fbb5
/sbin/ldconfig
Dan Vrátil 073fbb5
if [ $1 -eq 0 ] ; then
Dan Vrátil 073fbb5
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
Dan Vrátil 073fbb5
    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Dan Vrátil 073fbb5
fi
Dan Vrátil 073fbb5
Dan Vrátil 073fbb5
%posttrans
Dan Vrátil 073fbb5
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Dan Vrátil 073fbb5
Dan Vrátil 073fbb5
%files -f all.lang
Dan Vrátil 073fbb5
%license COPYING COPYING.LIB
Dan Vrátil 073fbb5
%doc README
Dan Vrátil 073fbb5
%{_kf5_libdir}/libplasmamediacenter.so.*
Dan Vrátil 073fbb5
%{_kf5_qtplugindir}/plasma/mediacenter/
Dan Vrátil 073fbb5
%{_kf5_qmldir}/org/kde/plasma/mediacenter/
Dan Vrátil 073fbb5
%{_kf5_datadir}/applications/plasma-mediacenter.desktop
Dan Vrátil 073fbb5
%{_kf5_datadir}/kservices5/plasma-shell-org.kde.plasma.mediacenter.desktop
Dan Vrátil 073fbb5
%{_kf5_datadir}/kservicetypes5/*.desktop
Dan Vrátil 073fbb5
%{_kf5_datadir}/plasma/shells/org.kde.plasma.mediacenter/
Dan Vrátil 073fbb5
%{_datadir}/xsessions/plasma-mediacenter.desktop
Dan Vrátil 073fbb5
%{_datadir}/icons/hicolor/*/*/*
414202f
Rex Dieter 25864af
414202f
%changelog
Rex Dieter bc5e77e
* Sat Jun 25 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.95-1
Rex Dieter bc5e77e
- 5.6.95
Rex Dieter bc5e77e
Rex Dieter a2bb089
* Tue Jun 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.5-1
Rex Dieter a2bb089
- 5.6.5
Rex Dieter a2bb089
Rex Dieter 815b9dc
* Sat May 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.4-1
Rex Dieter 815b9dc
- 5.6.4
Rex Dieter 815b9dc
Rex Dieter 6885838
* Tue Apr 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.3-1
Rex Dieter 6885838
- 5.6.3
Rex Dieter 6885838
Rex Dieter c420d87
* Sat Apr 09 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.2-1
Rex Dieter c420d87
- 5.6.2
Rex Dieter c420d87
Rex Dieter db3ae74
* Fri Apr 08 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-1
Rex Dieter db3ae74
- 5.6.1
Rex Dieter db3ae74
Daniel Vrátil 3213237
* Tue Mar 01 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.5-1
Daniel Vrátil 3213237
- Plasma 5.5.5
Daniel Vrátil 3213237
b364430
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.4-2
b364430
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b364430
Daniel Vrátil bdedb15
* Wed Jan 27 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.4-1
Daniel Vrátil bdedb15
- Plasma 5.5.4
Daniel Vrátil bdedb15
Daniel Vrátil ab18a20
* Thu Jan 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.3-1
Daniel Vrátil ab18a20
- Plasma 5.5.3
Daniel Vrátil ab18a20
Rex Dieter 5daa641
* Thu Dec 31 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.5.2-1
Rex Dieter 5daa641
- 5.5.2
Rex Dieter 5daa641
Dan Vrátil 23b8dfa
* Fri Dec 18 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.1-1
Dan Vrátil 23b8dfa
- Plasma 5.5.1
Dan Vrátil 23b8dfa
Rex Dieter 25864af
* Fri Dec 11 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
Rex Dieter 25864af
- .spec cosmetics, Obsoletes: plasma-mediacenter-devel (#1290669)
Rex Dieter 25864af
Dan Vrátil 6006c72
* Thu Dec 03 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.0-1
Dan Vrátil 6006c72
- Plasma 5.5.0
Dan Vrátil 6006c72
Dan Vrátil f3faec8
* Wed Nov 25 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.4.3-1
Dan Vrátil 073fbb5
- Update to Plasma 5.4.3
Dan Vrátil 073fbb5
bf15e42
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-4
bf15e42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bf15e42
beed8f6
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.3.0-3
beed8f6
- Rebuilt for GCC 5 C++11 ABI change
beed8f6
f5be500
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
f5be500
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f5be500
220646c
* Tue Jun 24 2014 Sinny Kumari<ksinny@gmail.com> - 1.3.0-1
220646c
- New release 1.3.0
0a53773
39986d4
* Sat Nov 23 2013 siddharth sharma<siddharth.kde@gmail.com> - 1.1.9-1
39986d4
- New Release 1.1.9
39986d4
- Patch include translations sub-directory
39986d4
d3e74a8
* Fri Sep 13 2013 siddharth <siddharth.kde@gmail.com> - 1.1.0a-2
d3e74a8
- New Release 1.1.0a
d3e74a8
- Add gettext for BuildRequires
d3e74a8
0f18f50
* Mon Aug 12 2013 siddharth sharma <siddharth.kde@gmail.com> - 1.0.95-1
0f18f50
- new release plasma-mediacenter-1.0.95
0f18f50
d791d36
* Thu Aug 01 2013 siddharth sharma <siddharth.kde@gmail.com> - 1.0.90-1
d791d36
- new release plasma-mediacenter-1.0.90
d791d36
- remove kdenetwork-fileshare-samba
d791d36
- Adding youtube icon
d791d36
- Changing Requires
d791d36
b2e130d
* Wed Jul 31 2013 siddharth sharma <siddharth.kde@gmail.com> - 1.0.0-3
b2e130d
- remove plasma-mobile from buildrequires
85e39dc
85e39dc
* Wed Mar 20 2013 siddharth <siddharths@fedoraproject.org> - 1.0.0-2
85e39dc
- rebuilt, Fixing missing BuildRequires for new package
85e39dc
013921f
* Wed Mar 20 2013 siddharth sharma <siddharths@fedoraproject.org> -1.0.0-1
013921f
- new upstream release
013921f
8f8e496
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.90-7
8f8e496
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8f8e496
bd9f766
* Wed Oct 24 2012 Rex Dieter <rdieter@fedoraproject.org> - 0.8.90-6
bd9f766
- %%files cleanup
bd9f766
- remove deprecated .spec
bd9f766
- remove unneccessary hacks (in particular, move plugins back to where they belong)
bd9f766
e1ab7cf
* Wed Oct 24 2012 siddharth <siddharth.kde@gmail.com> - 0.8.90-5
e1ab7cf
- Removed unwanted Requires and BuildRequires
35f3394
- Removed Hicolor icons
e1ab7cf
414202f
* Wed Sep 12 2012 siddharth <siddharth.kde@gmail.com> - 0.8.90-4
414202f
- Fix installing plugins path
414202f
414202f
* Thu Jun 14 2012 Siddharth Sharma <siddharth.kde@gmail.com> - 0.8.90-3
414202f
- Packaging Fixes
414202f
- Package update Beta Release
414202f
414202f
* Sun Jun 03 2012 siddharth <siddharth.kde@gmail.com> - 0.9-2
414202f
- rebuilt for devel package split
414202f
414202f
* Sat Jun 2 2012 siddharth Sharma <siddharths@fedoraproject.org> - 0.9-1
414202f
- Initial Release 1
414202f