rebuilt with libkdegames5 [release 15.12.0-2mamba;Wed Jan 06 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 02:16:16 +01:00
parent 80fa52e9f5
commit 3d8ecca9bd

View File

@ -1,25 +1,23 @@
Name: knetwalk Name: knetwalk
Version: 4.14.3 Version: 15.12.0
Release: 1mamba Release: 2mamba
Summary: Network Construction Game Summary: Network Construction Game
Group: Graphical Desktop/Applications/Games Group: Graphical Desktop/Applications/Games
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org URL: http://www.kde.org
Source: http://download.kde.org/stable/%{version}/src/knetwalk-%{version}.tar.xz Source: http://download.kde.org/stable/applications/%{version}/src/knetwalk-%{version}.tar.xz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: kdelibs-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libkdegames-devel BuildRequires: libkdegames-devel
BuildRequires: libqt4-devel BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: automoc4 BuildRequires: libkdegames5-devel >= %{version}
BuildRequires: cmake BuildRequires: cmake
Requires: kdelibs%{?_kde4_version: >= %{_kde4_version}}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -31,7 +29,7 @@ Network Construction Game.
%setup -q %setup -q
%build %build
%cmake_kde4 -d build %cmake_kde5 -d build
%make %make
%install %install
@ -42,36 +40,65 @@ Network Construction Game.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post %post
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1 touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
exit 0 exit 0
%posttrans %posttrans
update-desktop-database -q >/dev/null 2>&1 update-desktop-database -q >/dev/null 2>&1
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1 update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1 gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
exit 0 exit 0
%postun %postun
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
update-desktop-database -q >/dev/null 2>&1 update-desktop-database -q >/dev/null 2>&1
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1 update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1 touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1 gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
fi fi
exit 0 exit 0
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_bindir}/knetwalk %{_kde5_bindir}/knetwalk
%{_kde4_xdgappsdir}/knetwalk.desktop %{_kde5_xdgappsdir}/org.kde.knetwalk.desktop
%dir %{_kde4_datadir}/knetwalk %dir %{_kde5_datadir}/knetwalk
%{_kde4_datadir}/knetwalk/* %{_kde5_datadir}/knetwalk/*
%doc %lang(en) %{_kde4_htmldir}/en/knetwalk/* %doc %lang(en) %{_kde5_htmldir}/en/knetwalk/*
%{_kde4_icondir}/hicolor/*/apps/knetwalk.png %{_datadir}/icons/hicolor/*/apps/knetwalk.png
%{_kde4_icondir}/hicolor/scalable/apps/knetwalk.svgz #%{_datadir}/icons/hicolor/scalable/apps/knetwalk.svgz
%dir %{_datadir}/kxmlgui5/knetwalk
%{_datadir}/kxmlgui5/knetwalk/knetwalkui.rc
%doc AUTHORS COPYING COPYING.DOC %doc AUTHORS COPYING COPYING.DOC
%changelog %changelog
* Wed Jan 06 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 15.12.0-2mamba
- rebuilt with libkdegames5
* Sun Dec 20 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 * Thu Nov 20 2014 Automatic Build System <autodist@mambasoft.it> 4.14.3-1mamba
- automatic version update by autodist - automatic version update by autodist