automatic version update by autodist [release 16.12.1-1mamba;Fri Jan 13 2017]
This commit is contained in:
parent
a8f72773ee
commit
8552c1b627
38
ktouch.spec
38
ktouch.spec
@ -1,5 +1,5 @@
|
||||
Name: ktouch
|
||||
Version: 4.14.3
|
||||
Version: 16.12.1
|
||||
Release: 1mamba
|
||||
Summary: Touch Typing Tutor
|
||||
Group: Graphical Desktop/Applications/Educational
|
||||
@ -7,7 +7,7 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||||
URL: http://www.kde.org/applications/education/ktouch
|
||||
Source: http://download.kde.org/stable/%{version}/src/ktouch-%{version}.tar.xz
|
||||
Source: http://download.kde.org/stable/applications/%{version}/src/ktouch-%{version}.tar.xz
|
||||
License: GPL
|
||||
BuildRequires: cmake
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
@ -19,7 +19,7 @@ BuildRequires: libphonon-devel
|
||||
BuildRequires: libqt4-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: kde-workspace
|
||||
#Requires: kde-workspace
|
||||
Provides: ktouch4 = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Obsoletes: ktouch4
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
@ -42,7 +42,7 @@ Features:
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake_kde4 -d build
|
||||
%cmake_kde5 -d build
|
||||
%make
|
||||
|
||||
%install
|
||||
@ -58,37 +58,45 @@ exit 0
|
||||
|
||||
%posttrans
|
||||
update-desktop-database -q &>/dev/null
|
||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_kde5_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
|
||||
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_kde4_bindir}/%{name}
|
||||
%{_kde4_datadir}/%{name}
|
||||
%{_kde4_icondir}/hicolor/*/apps/%{name}.png
|
||||
%{_kde4_icondir}/hicolor/scalable/apps/%{name}.svgz
|
||||
%{_kde4_kcfgdir}/%{name}.kcfg
|
||||
%{_kde4_sharedir}/appdata/ktouch.appdata.xml
|
||||
%{_kde4_xdgappsdir}/%{name}.desktop
|
||||
%{_kde5_bindir}/%{name}
|
||||
%{_kde5_datadir}/%{name}
|
||||
%{_kde5_icondir}/hicolor/*/apps/%{name}.png
|
||||
%{_kde5_icondir}/hicolor/scalable/apps/%{name}.svgz
|
||||
%{_kde5_kcfgdir}/%{name}.kcfg
|
||||
%{_datadir}/applications/org.kde.ktouch.desktop
|
||||
%{_datadir}/metainfo/org.kde.ktouch.appdata.xml
|
||||
#%{_kde5_sharedir}/appdata/ktouch.appdata.xml
|
||||
#%{_kde5_xdgappsdir}/%{name}.desktop
|
||||
#%dir %{_kde4_libdir}/kde4/imports/org/kde/ktouch
|
||||
#%dir %{_kde4_libdir}/kde4/imports/org/kde/ktouch/graph
|
||||
#%{_kde4_libdir}/kde4/imports/org/kde/ktouch/graph/*.qml
|
||||
#%{_kde4_libdir}/kde4/imports/org/kde/ktouch/graph/libgraphplugin.so
|
||||
#%{_kde4_libdir}/kde4/imports/org/kde/ktouch/graph/qmldir
|
||||
%doc %lang(en) %{_kde4_htmldir}/en/%{name}
|
||||
%doc %lang(en) %{_kde5_htmldir}/en/%{name}
|
||||
%{_mandir}/man1/%{name}.*
|
||||
%doc AUTHORS COPYING COPYING.DOC
|
||||
#ChangeLog
|
||||
|
||||
%changelog
|
||||
* Fri Jan 13 2017 Automatic Build System <autodist@mambasoft.it> 16.12.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Dec 31 2016 Automatic Build System <autodist@mambasoft.it> 16.12.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Nov 20 2014 Automatic Build System <autodist@mambasoft.it> 4.14.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user