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