automatic version update by autodist [release 15.12.0-1mamba;Wed Dec 23 2015]
This commit is contained in:
parent
349438346f
commit
5b5c971c85
113
kiten.spec
113
kiten.spec
@ -1,5 +1,5 @@
|
||||
Name: kiten
|
||||
Version: 4.14.3
|
||||
Version: 15.12.0
|
||||
Release: 1mamba
|
||||
Summary: Japanese Reference/Study Tool
|
||||
Group: Graphical Desktop/Applications/Educational
|
||||
@ -7,22 +7,34 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||||
URL: http://www.kde.org/applications/education/kiten/
|
||||
Source: http://download.kde.org/stable/%{version}/src/kiten-%{version}.tar.xz
|
||||
Source: http://download.kde.org/stable/applications/%{version}/src/kiten-%{version}.tar.xz
|
||||
License: GPL
|
||||
BuildRequires: cmake
|
||||
BuildRequires: libqt4-devel
|
||||
BuildRequires: kdelibs-devel
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: kdelibs-devel
|
||||
BuildRequires: kde-workspace-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libphonon-devel
|
||||
BuildRequires: libqt4-devel
|
||||
BuildRequires: libsoprano-devel
|
||||
BuildRequires: libkarchive-devel
|
||||
BuildRequires: libkauth-devel
|
||||
BuildRequires: libkcodecs-devel
|
||||
BuildRequires: libkcompletion-devel
|
||||
BuildRequires: libkconfig-devel
|
||||
BuildRequires: libkconfigwidgets-devel
|
||||
BuildRequires: libkcoreaddons-devel
|
||||
BuildRequires: libkcrash-devel
|
||||
BuildRequires: libkhtml-devel
|
||||
BuildRequires: libki18n-devel
|
||||
BuildRequires: libkio-devel
|
||||
BuildRequires: libkjobwidgets-devel
|
||||
BuildRequires: libkjs-devel
|
||||
BuildRequires: libkparts-devel
|
||||
BuildRequires: libkservice-devel
|
||||
BuildRequires: libktextwidgets-devel
|
||||
BuildRequires: libkwidgetsaddons-devel
|
||||
BuildRequires: libkxmlgui-devel
|
||||
BuildRequires: libqt5-devel
|
||||
BuildRequires: libsonnet-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: kde-workspace
|
||||
BuildRequires: cmake
|
||||
Provides: kiten4 = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Obsoletes: kiten4
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
@ -45,7 +57,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake_kde4 -d build
|
||||
%cmake_kde5 -d build
|
||||
%make
|
||||
|
||||
%install
|
||||
@ -57,52 +69,83 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
|
||||
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
|
||||
exit 0
|
||||
|
||||
%posttrans
|
||||
/sbin/ldconfig
|
||||
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
|
||||
/sbin/ldconfig
|
||||
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_bindir}/kitengen
|
||||
%{_kde4_bindir}/kitenkanjibrowser
|
||||
%{_kde4_bindir}/kitenradselect
|
||||
%{_kde4_libdir}/libkiten.so.*
|
||||
%{_kde4_datadir}/%{name}
|
||||
%{_kde4_datadir}/kitenkanjibrowser/kanjibrowserui.rc
|
||||
%{_kde4_datadir}/kitenradselect
|
||||
%{_kde4_icondir}/hicolor/*/apps/%{name}.png
|
||||
%{_kde4_icondir}/hicolor/scalable/apps/%{name}.svgz
|
||||
%{_kde4_kcfgdir}/%{name}.kcfg
|
||||
%{_kde4_sharedir}/fonts/kanjistrokeorders/KanjiStrokeOrders.ttf
|
||||
%{_kde4_sharedir}/appdata/kiten.appdata.xml
|
||||
%{_kde4_xdgappsdir}/%{name}.desktop
|
||||
%{_kde4_xdgappsdir}/kitenkanjibrowser.desktop
|
||||
%{_kde4_xdgappsdir}/kitenradselect.desktop
|
||||
%doc %lang(en) %{_kde4_htmldir}/en/%{name}
|
||||
%{_kde5_bindir}/%{name}
|
||||
%{_kde5_bindir}/kitengen
|
||||
%{_kde5_bindir}/kitenkanjibrowser
|
||||
%{_kde5_bindir}/kitenradselect
|
||||
%{_kde5_libdir}/libkiten.so.*
|
||||
%{_kde5_datadir}/%{name}
|
||||
#%{_kde5_datadir}/kitenkanjibrowser/kanjibrowserui.rc
|
||||
%{_kde5_icondir}/hicolor/*/apps/%{name}.png
|
||||
%{_kde5_icondir}/hicolor/scalable/apps/%{name}.svgz
|
||||
%{_kde5_kcfgdir}/%{name}.kcfg
|
||||
%{_kde5_sharedir}/fonts/kanjistrokeorders/KanjiStrokeOrders.ttf
|
||||
%{_kde5_sharedir}/appdata/kiten.appdata.xml
|
||||
%{_kde5_xdgappsdir}/org.kde.%{name}.desktop
|
||||
%{_kde5_xdgappsdir}/org.kde.kitenkanjibrowser.desktop
|
||||
%{_kde5_xdgappsdir}/org.kde.kitenradselect.desktop
|
||||
%{_datadir}/kxmlgui5/kiten/kitenui.rc
|
||||
%{_datadir}/kxmlgui5/kitenkanjibrowser/kanjibrowserui.rc
|
||||
%{_datadir}/kxmlgui5/kitenradselect/radselectui.rc
|
||||
%doc %lang(en) %{_kde5_htmldir}/en/%{name}
|
||||
%doc AUTHORS COPYING COPYING.DOC COPYING.LIB
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_kde4_includedir}/libkiten
|
||||
%{_kde4_libdir}/libkiten.so
|
||||
%dir %{_includedir}/libkiten
|
||||
%dir %{_includedir}/libkiten/DictEdict/entryedict.h
|
||||
%{_includedir}/libkiten/DictEdict/*.h
|
||||
%dir %{_includedir}/libkiten/DictKanjidic
|
||||
%{_includedir}/libkiten/DictKanjidic/*.h
|
||||
%{_includedir}/libkiten/*.h
|
||||
%{_libdir}/libkiten.so
|
||||
%doc README TODO
|
||||
|
||||
%changelog
|
||||
* Wed Dec 23 2015 Automatic Build System <autodist@mambasoft.it> 15.12.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Nov 10 2015 Automatic Build System <autodist@mambasoft.it> 15.08.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Oct 13 2015 Automatic Build System <autodist@mambasoft.it> 15.08.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Sep 20 2015 Automatic Build System <autodist@mambasoft.it> 15.08.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Aug 23 2015 Automatic Build System <autodist@mambasoft.it> 15.08.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Jul 02 2015 Automatic Build System <autodist@mambasoft.it> 15.04.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Jun 03 2015 Automatic Build System <autodist@mambasoft.it> 15.04.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu May 14 2015 Automatic Build System <autodist@mambasoft.it> 15.04.1-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