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

This commit is contained in:
Silvan Calarco 2024-01-06 10:04:31 +01:00
parent 118d8abd3b
commit 44d05ff04c

View File

@ -1,13 +1,13 @@
Name: picmi
Version: 4.14.3
Release: 1mamba
Version: 15.12.0
Release: 2mamba
Summary: A number logic 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/picmi-%{version}.tar.xz
Source: http://download.kde.org/stable/applications/%{version}/src/picmi-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -17,6 +17,7 @@ BuildRequires: libkdegames-devel
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libkdegames5-devel >= %{version}
BuildRequires: automoc4
BuildRequires: cmake
Requires: kdelibs%{?_kde4_version: >= %{_kde4_version}}
@ -31,7 +32,7 @@ A number logic game.
%setup -q
%build
%cmake_kde4 -d build
%cmake_kde5 -d build
%make
%install
@ -42,36 +43,56 @@ A number logic game.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1
touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
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}/picmi
%{_kde4_xdgappsdir}/picmi.desktop
%dir %{_kde4_datadir}/picmi
%{_kde4_datadir}/picmi/*
%doc %lang(en) %{_kde4_htmldir}/en/picmi/*
%{_kde4_icondir}/hicolor/*/apps/picmi.png
%{_kde4_icondir}/hicolor/scalable/apps/picmi.svgz
%{_kde5_bindir}/picmi
%{_datadir}/appdata/org.kde.picmi.appdata.xml
%{_datadir}/applications/org.kde.picmi.desktop
%{_datadir}/kxmlgui5/picmi/picmiui.rc
%dir %{_kde5_sharedir}/picmi
%{_kde5_datadir}/picmi/*
%doc %lang(en) %{_kde5_htmldir}/en/picmi/*
%{_kde5_icondir}/hicolor/*/apps/picmi.png
#%{_kde5_icondir}/hicolor/scalable/apps/picmi.svgz
%doc AUTHORS COPYING COPYING.DOC
%changelog
* Sun Jan 03 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 15.12.0-2mamba
- rebuilt with libkdegames5
* Thu Dec 24 2015 Automatic Build System <autodist@mambasoft.it> 15.12.0-1mamba
- automatic version update by autodist
* Wed Nov 11 2015 Automatic Build System <autodist@mambasoft.it> 15.08.3-1mamba
- automatic version update by autodist
* Wed Oct 14 2015 Automatic Build System <autodist@mambasoft.it> 15.08.2-1mamba
- automatic version update by autodist
* Mon Sep 21 2015 Automatic Build System <autodist@mambasoft.it> 15.08.1-1mamba
- automatic version update by autodist
* Tue Sep 15 2015 Automatic Build System <autodist@mambasoft.it> 15.08.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