automatic version update by autodist [release 17.08.0-1mamba;Tue Aug 29 2017]
This commit is contained in:
parent
a14da8a02f
commit
27fb1202bd
@ -1,5 +1,5 @@
|
||||
Name: kreversi
|
||||
Version: 4.14.3
|
||||
Version: 17.08.0
|
||||
Release: 1mamba
|
||||
Summary: Reversi Board Game
|
||||
Group: Graphical Desktop/Applications/Games
|
||||
@ -7,14 +7,13 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
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
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: kdelibs-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libkdegames-devel
|
||||
BuildRequires: libqt4-devel
|
||||
BuildRequires: libqt5-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: automoc4
|
||||
@ -31,54 +30,71 @@ Reversi Board Game.
|
||||
%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 --with-man --all-name || touch %{name}5_qt.lang
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post
|
||||
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1
|
||||
touch --no-create %{_kde4_icondir}/oxygen >/dev/null 2>&1
|
||||
touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||
touch --no-create %{_kde5_icondir}/oxygen >/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
|
||||
gtk-update-icon-cache %{_kde4_icondir}/oxygen >/dev/null 2>&1
|
||||
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kde5_icondir}/oxygen >/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
|
||||
touch --no-create %{_kde4_icondir}/oxygen >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kde4_icondir}/oxygen >/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
|
||||
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}/kreversi
|
||||
%{_kde4_xdgappsdir}/kreversi.desktop
|
||||
%dir %{_kde4_datadir}/kreversi
|
||||
%{_kde4_datadir}/kreversi/*
|
||||
%doc %lang(en) %{_kde4_htmldir}/en/kreversi/*
|
||||
%{_kde4_icondir}/hicolor/*/apps/kreversi.png
|
||||
%{_kde4_icondir}/oxygen/*/actions/lastmoves.png
|
||||
%{_kde4_icondir}/oxygen/*/actions/legalmoves.png
|
||||
%{_kde4_icondir}/oxygen/scalable/actions/lastmoves.svgz
|
||||
%{_kde4_icondir}/oxygen/scalable/actions/legalmoves.svgz
|
||||
%{_kde5_bindir}/kreversi
|
||||
%{_datadir}/applications/org.kde.kreversi.desktop
|
||||
%{_datadir}/metainfo/org.kde.kreversi.appdata.xml
|
||||
%dir %{_kde5_datadir}/kreversi
|
||||
%{_kde5_datadir}/kreversi/*
|
||||
%doc %lang(en) %{_kde5_htmldir}/en/kreversi/*
|
||||
%{_kde5_icondir}/hicolor/*/apps/kreversi.png
|
||||
%{_datadir}/icons/hicolor/*/actions/*
|
||||
%{_datadir}/knotifications5/kreversi.notifyrc
|
||||
%{_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
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user