Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
Name:    kdeedu-data
Rex Dieter 5cbaaa
Summary: Shared icons, artwork and data files for educational applications
Rex Dieter c435cc
Version: 16.07.90
Rex Dieter 072e84
Release: 1%{?dist}
Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
License: GPLv2
Rex Dieter c6818a
URL:     https://quickgit.kde.org/?p=%{name}.git
Rex Dieter c6818a
Rex Dieter 5cbaaa
%global revision %(echo %{version} | cut -d. -f3)
Rex Dieter 5cbaaa
%if %{revision} >= 50
Rex Dieter 5cbaaa
%global stable unstable
Rex Dieter 5cbaaa
%else
Rex Dieter 5cbaaa
%global stable stable
Rex Dieter 5cbaaa
%endif
Rex Dieter 5cbaaa
Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz
Rex Dieter 5cbaaa
BuildArch: noarch
Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
BuildRequires: kde-filesystem
Rex Dieter 5cbaaa
BuildRequires: extra-cmake-modules
Rex Dieter 5cbaaa
BuildRequires: kf5-rpm-macros
Dan Vrátil 8478dc
# ECM macro used in kdeedu-data needs qmake
Dan Vrátil 8478dc
BuildRequires: qt5-qtbase-devel
Rex Dieter 5cbaaa
Rex Dieter 7f83d0
# when kdeedu-data was split out from libkdeedu, upgrade path
Rex Dieter 7f83d0
Obsoletes: libkdeedu < 14
Rex Dieter 7f83d0
Rex Dieter 5cbaaa
Requires: hicolor-icon-theme
Rex Dieter 5cbaaa
Requires: kde-filesystem
Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
%description
Rex Dieter 5cbaaa
%{summary}.
Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
%prep
Rex Dieter 5cbaaa
%setup -q
Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
%build
Rex Dieter 5cbaaa
mkdir %{_target_platform}
Rex Dieter 5cbaaa
pushd %{_target_platform}
Rex Dieter 5cbaaa
%{cmake_kf5} ..
Rex Dieter 5cbaaa
popd
Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
make %{?_smp_mflags} -C %{_target_platform}
Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
%install
Rex Dieter 5cbaaa
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Rex Dieter 5cbaaa
Rex Dieter 34b547
# previous packages shipped %%{_kde4_appsdir}/kvtml , so let's
Rex Dieter 34b547
# (hard)link data in in both places
Rex Dieter 5cbaaa
mkdir -p %{buildroot}%{_kde4_appsdir}
Rex Dieter 34b547
cp -alf \
Rex Dieter 34b547
   %{buildroot}%{_kf5_datadir}/apps/kvtml/ \
Rex Dieter 34b547
   %{buildroot}%{_kde4_appsdir}
Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
%post
Rex Dieter 5cbaaa
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
%posttrans
Rex Dieter 5cbaaa
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
%postun
Rex Dieter 5cbaaa
if [ $1 -eq 0 ] ; then
Rex Dieter 5cbaaa
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
Rex Dieter 5cbaaa
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
Rex Dieter 5cbaaa
fi
Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
%files
Rex Dieter a1ba70
%license COPYING
Rex Dieter 5cbaaa
%{_kde4_appsdir}/kvtml/
Rex Dieter 34b547
%{_kf5_datadir}/apps/kvtml/
Rex Dieter 5cbaaa
%{_datadir}/icons/hicolor/*/*/*
Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
%changelog
Rex Dieter c435cc
* Sat Aug 06 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.07.90-1
Rex Dieter c435cc
- 16.07.90
Rex Dieter c435cc
Rex Dieter 06955e
* Fri Jul 29 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.07.80-1
Rex Dieter 06955e
- 16.07.80
Rex Dieter 06955e
Rex Dieter f27b5d
* Sat Jul 09 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.3-1
Rex Dieter f27b5d
- 16.04.3
Rex Dieter f27b5d
Rex Dieter cc2cc0
* Sun Jun 12 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.2-1
Rex Dieter cc2cc0
- 16.04.2
Rex Dieter cc2cc0
Rex Dieter 915645
* Sun May 08 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.1-1
Rex Dieter 915645
- 16.04.1
Rex Dieter 915645
Rex Dieter 7d9817
* Fri Apr 22 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.0-1
Rex Dieter 7d9817
- 16.04.0
Rex Dieter 7d9817
Rex Dieter e2c3f1
* Tue Mar 15 2016 Rex Dieter <rdieter@fedoraproject.org> - 15.12.3-1
Rex Dieter e2c3f1
- 15.12.3
Rex Dieter e2c3f1
Rex Dieter 072e84
* Sun Feb 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 15.12.2-1
Rex Dieter 072e84
- 15.12.2
Rex Dieter 072e84
d84550
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 15.12.1-2
d84550
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d84550
Rex Dieter 8dc571
* Mon Jan 25 2016 Rex Dieter <rdieter@fedoraproject.org> - 15.12.1-1
Rex Dieter 8dc571
- 15.12.1
Rex Dieter 8dc571
Rex Dieter e67ada
* Fri Dec 25 2015 Rex Dieter <rdieter@fedoraproject.org> - 15.12.0-1
Rex Dieter e67ada
- 15.12.0
Rex Dieter e67ada
Rex Dieter a1ba70
* Fri Dec 25 2015 Rex Dieter <rdieter@fedoraproject.org> 15.08.3-2
Rex Dieter a1ba70
- .spec cosmetics, %%license COPYING
Rex Dieter a1ba70
Rex Dieter e65d44
* Mon Nov 30 2015 Rex Dieter <rdieter@fedoraproject.org> - 15.08.3-1
Rex Dieter e65d44
- 15.08.3
Rex Dieter e65d44
Rex Dieter 30b486
* Sun Sep 20 2015 Rex Dieter <rdieter@fedoraproject.org> - 15.08.1-1
Rex Dieter 30b486
- 15.08.1
Rex Dieter 30b486
378b26
* Thu Aug 20 2015 Than Ngo <than@redhat.com> - 15.08.0-1
378b26
- 15.08.0
378b26
c8a164
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 15.04.2-2
c8a164
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c8a164
Rex Dieter 3b6109
* Wed Jun 10 2015 Rex Dieter <rdieter@fedoraproject.org> - 15.04.2-1
Rex Dieter 3b6109
- 15.04.2
Rex Dieter 3b6109
Rex Dieter 4fedb1
* Thu May 28 2015 Rex Dieter <rdieter@fedoraproject.org> - 15.04.1-1
Rex Dieter 4fedb1
- 15.04.1
Rex Dieter 4fedb1
Rex Dieter 15d506
* Tue Apr 14 2015 Rex Dieter <rdieter@fedoraproject.org> - 15.04.0-1
Rex Dieter 15d506
- 15.04.0
Rex Dieter 15d506
428133
* Sun Mar 01 2015 Rex Dieter <rdieter@fedoraproject.org> - 14.12.3-1
428133
- 14.12.3
428133
a0d392
* Tue Feb 24 2015 Than Ngo <than@redhat.com> - 14.12.2-1
a0d392
- 14.12.2
a0d392
Rex Dieter 34b547
* Thu Jan 29 2015 Rex Dieter <rdieter@fedoraproject.org> 14.12.1-4
Rex Dieter 34b547
- use (hard)links instead
Rex Dieter 34b547
Rex Dieter 7f83d0
* Mon Jan 26 2015 Rex Dieter <rdieter@fedoraproject.org> 14.12.1-3
Rex Dieter 7f83d0
- Obsoletes: libkdeedu < 14
Rex Dieter 7f83d0
Rex Dieter 5cbaaa
* Fri Jan 23 2015 Rex Dieter <rdieter@fedoraproject.org> 14.12.1-2
Rex Dieter 5cbaaa
- Requires: hicolor-icon-theme
Rex Dieter 5cbaaa
- use %%setup -q
Rex Dieter 5cbaaa
Rex Dieter 5cbaaa
* Fri Jan 16 2015 Rex Dieter <rdieter@fedoraproject.org>  14.12.1-1
Rex Dieter 5cbaaa
- 14.12.1
Rex Dieter 5cbaaa