automatic version update by autodist [release 17.08.0-1mamba;Tue Aug 29 2017]

This commit is contained in:
Automatic Build System 2024-01-06 02:45:40 +01:00
parent a14da8a02f
commit 27fb1202bd

View File

@ -1,5 +1,5 @@
Name: kreversi Name: kreversi
Version: 4.14.3 Version: 17.08.0
Release: 1mamba Release: 1mamba
Summary: Reversi Board Game Summary: Reversi Board Game
Group: Graphical Desktop/Applications/Games Group: Graphical Desktop/Applications/Games
@ -7,14 +7,13 @@ 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/kreversi-%{version}.tar.xz Source: http://download.kde.org/stable/applications/%{version}/src/kreversi-%{version}.tar.xz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: kdelibs-devel BuildRequires: kdelibs-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libkdegames-devel BuildRequires: libqt5-devel
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: automoc4 BuildRequires: automoc4
@ -31,54 +30,71 @@ Reversi Board Game.
%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 --with-man --all-name || touch %{name}5_qt.lang
%clean %clean
[ "%{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
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
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
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
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
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}/kreversi %{_kde5_bindir}/kreversi
%{_kde4_xdgappsdir}/kreversi.desktop %{_datadir}/applications/org.kde.kreversi.desktop
%dir %{_kde4_datadir}/kreversi %{_datadir}/metainfo/org.kde.kreversi.appdata.xml
%{_kde4_datadir}/kreversi/* %dir %{_kde5_datadir}/kreversi
%doc %lang(en) %{_kde4_htmldir}/en/kreversi/* %{_kde5_datadir}/kreversi/*
%{_kde4_icondir}/hicolor/*/apps/kreversi.png %doc %lang(en) %{_kde5_htmldir}/en/kreversi/*
%{_kde4_icondir}/oxygen/*/actions/lastmoves.png %{_kde5_icondir}/hicolor/*/apps/kreversi.png
%{_kde4_icondir}/oxygen/*/actions/legalmoves.png %{_datadir}/icons/hicolor/*/actions/*
%{_kde4_icondir}/oxygen/scalable/actions/lastmoves.svgz %{_datadir}/knotifications5/kreversi.notifyrc
%{_kde4_icondir}/oxygen/scalable/actions/legalmoves.svgz %{_datadir}/kxmlgui5/kreversi/kreversiui.rc
%lang(de) %{_datadir}/doc/HTML/de/kreversi
%lang(es) %{_datadir}/doc/HTML/es/kreversi
%lang(et) %{_datadir}/doc/HTML/et/kreversi
%lang(fr) %{_datadir}/doc/HTML/fr/kreversi
%lang(it) %{_datadir}/doc/HTML/it/kreversi
%lang(nl) %{_datadir}/doc/HTML/nl/kreversi
%lang(pl) %{_datadir}/doc/HTML/pl/kreversi
%lang(pt) %{_datadir}/doc/HTML/pt/kreversi
%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/kreversi
%lang(ru) %{_datadir}/doc/HTML/ru/kreversi
%lang(sv) %{_datadir}/doc/HTML/sv/kreversi
%lang(uk) %{_datadir}/doc/HTML/uk/kreversi
%doc AUTHORS COPYING COPYING.DOC %doc AUTHORS COPYING COPYING.DOC
%changelog %changelog
* Tue Aug 29 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