rebuilt with libkdegames5 [release 15.12.0-2mamba;Sun Jan 03 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 02:02:03 +01:00
parent 657c941a06
commit 29f3cf4363

View File

@ -1,23 +1,24 @@
Name: klickety
Version: 4.14.3
Release: 1mamba
Version: 15.12.0
Release: 2mamba
Summary: KDE Board Game
Group: Graphical Desktop/Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: http://download.kde.org/stable/%{version}/src/klickety-%{version}.tar.xz
Source: http://download.kde.org/stable/applications/%{version}/src/klickety-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kdelibs-devel
BuildRequires: libgcc
BuildRequires: libkdegames-devel
BuildRequires: libqt4-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: libkdegames5-devel >= %{version}
BuildRequires: automoc4
BuildRequires: cmake
Requires: kdelibs%{?_kde4_version: >= %{_kde4_version}}
@ -34,7 +35,7 @@ KDE Board Game.
%setup -q
%build
%cmake_kde4 -d build
%cmake_kde5 -d build
%make
%install
@ -50,36 +51,44 @@ exit 0
%posttrans
update-desktop-database -q >/dev/null 2>&1
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
exit 0
%postun
if [ $1 -eq 0 ]; then
update-desktop-database -q >/dev/null 2>&1
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
fi
exit 0
%files
%defattr(-,root,root)
%{_kde4_bindir}/klickety
%{_kde4_xdgappsdir}/klickety.desktop
%{_kde4_xdgappsdir}/ksame.desktop
%{_kde4_kconfupdatedir}/klickety-2.0-inherit-ksame-highscore.pl
%{_kde4_kconfupdatedir}/klickety.upd
%dir %{_kde4_datadir}/klickety
%{_kde4_datadir}/klickety/*
%dir %{_kde4_datadir}/klickety/themes
%{_kde4_datadir}/klickety/themes/*
%{_kde4_icondir}/hicolor/*/apps/klickety.png
%{_kde4_icondir}/hicolor/*/apps/ksame.png
%doc %lang(en) %{_kde4_htmldir}/en/klickety/*
%{_kde5_bindir}/klickety
%{_kde5_xdgappsdir}/org.kde.klickety.desktop
%{_kde5_xdgappsdir}/org.kde.ksame.desktop
%{_kde5_kconfupdatedir}/klickety-2.0-inherit-ksame-highscore.pl
%{_kde5_kconfupdatedir}/klickety.upd
%dir %{_kde5_datadir}/klickety
%{_kde5_datadir}/klickety/*
%dir %{_kde5_datadir}/klickety/themes
%{_kde5_datadir}/klickety/themes/*
%{_datadir}/knotifications5/klickety.notifyrc
%{_datadir}/kxmlgui5/klickety/klicketyui.rc
%{_kde5_icondir}/hicolor/*/apps/klickety.png
%{_kde5_icondir}/hicolor/*/apps/ksame.png
%doc %lang(en) %{_kde5_htmldir}/en/klickety/*
%doc COPYING COPYING.DOC
%changelog
* Sun Jan 03 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 15.12.0-2mamba
- rebuilt with libkdegames5
* Wed Dec 23 2015 Automatic Build System <autodist@mambasoft.it> 15.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