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:12:17 +01:00
parent 0dafc14bc2
commit 3aa29b50dd

View File

@ -1,5 +1,5 @@
Name: kmousetool
Version: 4.14.3
Version: 17.08.0
Release: 1mamba
Summary: Automatic Mouse Click
Group: Graphical Desktop/Applications/Accessibility
@ -7,7 +7,7 @@ Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.kde.org
Source: http://download.kde.org/stable/%{version}/src/kmousetool-%{version}.tar.xz
Source: http://download.kde.org/stable/applications/%{version}/src/kmousetool-%{version}.tar.xz
License: GPL
BuildRequires: cmake
BuildRequires: libqt4-devel
@ -30,7 +30,7 @@ BuildRequires: libXft-devel
BuildRequires: libXpm-devel
BuildRequires: libXtst-devel
## AUTOBUILDREQ-END
Requires: kde-workspace
#Requires: kde-workspace
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
@ -42,47 +42,63 @@ MouseTool is a program that clicks the mouse for you.
%setup
%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 %{_kde5_icondir}/hicolor >/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
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/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
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
fi
exit 0
%files
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_kde4_bindir}/kmousetool
%{_kde4_xdgappsdir}/kmousetool.desktop
%{_kde4_datadir}/kmousetool
%doc %lang(en) %{_kde4_htmldir}/en/kmousetool
%{_kde4_icondir}/hicolor/*/actions/kmousetool_*.png
%{_kde4_icondir}/hicolor/*/apps/kmousetool.png
%{_kde5_bindir}/kmousetool
%{_datadir}/applications/org.kde.kmousetool.desktop
%{_kde5_datadir}/kmousetool
%doc %lang(en) %{_kde5_htmldir}/en/kmousetool
%{_kde5_icondir}/hicolor/*/actions/kmousetool_*.png
%{_kde5_icondir}/hicolor/*/apps/kmousetool.png
%{_mandir}/man1/kmousetool.*
%lang(ca) %{_datadir}/doc/HTML/ca/kmousetool
%lang(de) %{_datadir}/doc/HTML/de/kmousetool
%lang(es) %{_datadir}/doc/HTML/es/kmousetool
%lang(fr) %{_datadir}/doc/HTML/fr/kmousetool
%lang(it) %{_datadir}/doc/HTML/it/kmousetool
%lang(nl) %{_datadir}/doc/HTML/nl/kmousetool
%lang(pt) %{_datadir}/doc/HTML/pt/kmousetool
%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/kmousetool
%lang(ru) %{_datadir}/doc/HTML/ru/kmousetool
%lang(sv) %{_datadir}/doc/HTML/sv/kmousetool
%lang(uk) %{_datadir}/doc/HTML/uk/kmousetool
%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