automatic version update by autodist [release 16.04.0-1mamba;Sat Apr 23 2016]
This commit is contained in:
parent
f2aee51c2d
commit
963b42ca3d
72
kruler.spec
72
kruler.spec
@ -1,5 +1,5 @@
|
||||
Name: kruler
|
||||
Version: 4.14.3
|
||||
Version: 16.04.0
|
||||
Release: 1mamba
|
||||
Summary: A ruler in inch, centimeter and pixel to check distances on the screen
|
||||
Group: Graphical Desktop/Applications/Graphics
|
||||
@ -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/kruler-%{version}.tar.xz
|
||||
Source: http://download.kde.org/stable/applications/%{version}/src/kruler-%{version}.tar.xz
|
||||
License: GPL
|
||||
BuildRequires: cmake
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
@ -26,7 +26,7 @@ BuildRequires: libXext-devel
|
||||
BuildRequires: libXft-devel
|
||||
BuildRequires: libXpm-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: kde-workspace
|
||||
#Requires: kde-workspace
|
||||
Provides: kruler4
|
||||
Obsoletes: kruler4
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
@ -38,7 +38,7 @@ Kruler is a ruler in inch, centimeter and pixel to check distances on the screen
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake_kde4 -d build
|
||||
%cmake_kde5 -d build
|
||||
%make
|
||||
|
||||
%install
|
||||
@ -49,34 +49,74 @@ Kruler is a ruler in inch, centimeter and pixel to check distances on the screen
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post
|
||||
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
|
||||
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
|
||||
exit 0
|
||||
|
||||
%posttrans
|
||||
update-desktop-database -q &>/dev/null
|
||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
|
||||
exit 0
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ]; then
|
||||
update-desktop-database -q &>/dev/null
|
||||
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
|
||||
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_kde4_bindir}/%{name}
|
||||
%{_kde4_datadir}/%{name}
|
||||
%{_kde4_icondir}/hicolor/*/apps/%{name}.png
|
||||
%{_kde4_icondir}/hicolor/*/actions/%{name}-*.png
|
||||
%{_kde4_icondir}/hicolor/scalable/apps/%{name}.svgz
|
||||
%{_kde4_xdgappsdir}/%{name}.desktop
|
||||
%doc %lang(en) %{_kde4_htmldir}/en/%{name}
|
||||
%doc COPYING COPYING.DOC TODO
|
||||
%{_kde5_bindir}/%{name}
|
||||
%{_kde5_datadir}/%{name}
|
||||
%{_kde5_icondir}/hicolor/*/apps/%{name}.png
|
||||
%{_kde5_icondir}/hicolor/*/actions/%{name}-*.png
|
||||
%{_datadir}/applications/org.kde.kruler.desktop
|
||||
%{_datadir}/knotifications5/kruler.notifyrc
|
||||
%doc %lang(en) %{_kde5_htmldir}/en/%{name}
|
||||
%doc COPYING COPYING.DOC
|
||||
#TODO
|
||||
|
||||
%changelog
|
||||
* Sat Apr 23 2016 Automatic Build System <autodist@mambasoft.it> 16.04.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Mar 16 2016 Automatic Build System <autodist@mambasoft.it> 15.12.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Feb 16 2016 Automatic Build System <autodist@mambasoft.it> 15.12.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Jan 12 2016 Automatic Build System <autodist@mambasoft.it> 15.12.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Dec 20 2015 Automatic Build System <autodist@mambasoft.it> 15.12.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Nov 10 2015 Automatic Build System <autodist@mambasoft.it> 15.08.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Oct 13 2015 Automatic Build System <autodist@mambasoft.it> 15.08.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Sep 20 2015 Automatic Build System <autodist@mambasoft.it> 15.08.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Aug 23 2015 Automatic Build System <autodist@mambasoft.it> 15.08.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Jul 02 2015 Automatic Build System <autodist@mambasoft.it> 15.04.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Jun 03 2015 Automatic Build System <autodist@mambasoft.it> 15.04.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue May 12 2015 Automatic Build System <autodist@mambasoft.it> 15.04.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Apr 26 2015 Automatic Build System <autodist@mambasoft.it> 15.04.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