automatic version update by autodist [release 17.08.0-1mamba;Thu Aug 31 2017]

This commit is contained in:
Automatic Build System 2024-01-06 02:57:48 +01:00
parent 61d87e6a58
commit f1d32275d5

View File

@ -1,5 +1,5 @@
Name: ksnakeduel
Version: 4.14.3
Version: 17.08.0
Release: 1mamba
Summary: Snake-like Games
Group: Graphical Desktop/Applications/Games
@ -7,7 +7,7 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: http://download.kde.org/stable/%{version}/src/ksnakeduel-%{version}.tar.xz
Source: http://download.kde.org/stable/applications/%{version}/src/ksnakeduel-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -44,13 +44,15 @@ This package contains libraries and header files for developing applications tha
%setup -q
%build
%cmake_kde4 -d build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -58,20 +60,20 @@ This package contains libraries and header files for developing applications tha
## remove the following line if no dynamic libraries are provided by this package
/sbin/ldconfig
## remove the following line if this package has no hicolor icons
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1
touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
## remove the following line if this package has no oxygen icons
touch --no-create %{_kde4_icondir}/oxygen >/dev/null 2>&1
touch --no-create %{_kde5_icondir}/oxygen >/dev/null 2>&1
exit 0
%posttrans
## remove the following line if no dynamic libraries are provided by this package
/sbin/ldconfig
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
## remove the following line if this package has no hicolor icons
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
## remove the following line if this package has no oxygen icons
gtk-update-icon-cache %{_kde4_icondir}/oxygen >/dev/null 2>&1
gtk-update-icon-cache %{_kde5_icondir}/oxygen >/dev/null 2>&1
exit 0
%postun
@ -79,41 +81,45 @@ exit 0
/sbin/ldconfig
if [ $1 -eq 0 ]; then
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
## remove the following two lines if this package has no hicolor icons
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/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
## remove the following two lines if this package has no oxygen icons
touch --no-create %{_kde4_icondir}/oxygen >/dev/null 2>&1
gtk-update-icon-cache %{_kde4_icondir}/oxygen >/dev/null 2>&1
touch --no-create %{_kde5_icondir}/oxygen >/dev/null 2>&1
gtk-update-icon-cache %{_kde5_icondir}/oxygen >/dev/null 2>&1
fi
exit 0
%files
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_kde4_bindir}/kdesnake
%{_kde4_bindir}/ktron
%{_kde4_xdgappsdir}/kdesnake.desktop
%{_kde4_xdgappsdir}/ktron.desktop
%{_kde4_datadir}/ktron/ktronui.rc
%{_kde4_datadir}/ktron/themes/default.desktop
%{_kde4_datadir}/ktron/themes/default.png
%{_kde4_datadir}/ktron/themes/default.svgz
%{_kde4_datadir}/ktron/themes/neon.desktop
%{_kde4_datadir}/ktron/themes/neon.png
%{_kde4_datadir}/ktron/themes/neon.svg
%{_kde4_kcfgdir}/ktron.kcfg
%config %{_kde4_configdir}/ktron.knsrc
%doc %lang(en) %{_kde4_htmldir}/en/ktron/common
%doc %lang(en) %{_kde4_htmldir}/en/ktron/index.cache.bz2
%doc %lang(en) %{_kde4_htmldir}/en/ktron/index.docbook
%doc %lang(en) %{_kde4_htmldir}/en/ktron/settings-general.png
%doc %lang(en) %{_kde4_htmldir}/en/ktron/settings-theme.png
%{_kde4_icondir}/hicolor/*/apps/kdesnake.png
%{_kde4_icondir}/hicolor/*/apps/ktron.png
%{_sysconfdir}/xdg/ksnakeduel.knsrc
%{_bindir}/ksnakeduel
%{_datadir}/applications/org.kde.ksnakeduel.desktop
%{_datadir}/config.kcfg/ksnakeduel.kcfg
%{_datadir}/icons/hicolor/*/apps/ksnakeduel.png
%dir %{_datadir}/ksnakeduel
%dir %{_datadir}/ksnakeduel/themes
%{_datadir}/ksnakeduel/themes/*
%{_datadir}/kxmlgui5/ksnakeduel/ksnakeduelui.rc
%{_datadir}/metainfo/org.kde.ksnakeduel.appdata.xml
%lang(de) %{_datadir}/doc/HTML/de/ksnakeduel
%lang(en) %{_datadir}/doc/HTML/en/ksnakeduel
%lang(es) %{_datadir}/doc/HTML/es/ksnakeduel
%lang(et) %{_datadir}/doc/HTML/et/ksnakeduel
%lang(fr) %{_datadir}/doc/HTML/fr/ksnakeduel
%lang(it) %{_datadir}/doc/HTML/it/ksnakeduel
%lang(nl) %{_datadir}/doc/HTML/nl/ksnakeduel
%lang(pt) %{_datadir}/doc/HTML/pt/ksnakeduel
%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/ksnakeduel
%lang(sv) %{_datadir}/doc/HTML/sv/ksnakeduel
%lang(uk) %{_datadir}/doc/HTML/uk/ksnakeduel
%doc COPYING COPYING.DOC
%changelog
* Thu Aug 31 2017 Automatic Build System <autodist@mambasoft.it> 17.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