kruler/kruler.spec

337 lines
13 KiB
RPMSpec
Raw Permalink Normal View History

Name: kruler
Version: 17.04.3
Release: 1mamba
Summary: A ruler in inch, centimeter and pixel to check distances on the screen
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.kde.org
Source: http://download.kde.org/stable/applications/%{version}/src/kruler-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libICE-devel
BuildRequires: libqt5-devel
BuildRequires: libSM-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXft-devel
BuildRequires: libXpm-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
#Requires: kde-workspace
Provides: kruler4
Obsoletes: kruler4
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Kruler is a ruler in inch, centimeter and pixel to check distances on the screen.
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
exit 0
%posttrans
update-desktop-database -q &>/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 %{_kde5_icondir}/hicolor &>/dev/null
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
fi
exit 0
%files
%defattr(-,root,root)
%{_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}/metainfo/org.kde.kruler.appdata.xml
%{_datadir}/knotifications5/kruler.notifyrc
%doc %lang(en) %{_kde5_htmldir}/en/%{name}
%doc %lang(ca) %{_kde5_htmldir}/ca/%{name}
%doc %lang(de) %{_kde5_htmldir}/de/%{name}
%doc %lang(es) %{_kde5_htmldir}/es/%{name}
%doc %lang(it) %{_kde5_htmldir}/it/%{name}
%doc %lang(nl) %{_kde5_htmldir}/nl/%{name}
%doc %lang(pt_BR) %{_kde5_htmldir}/pt_BR/%{name}
%doc %lang(ru) %{_kde5_htmldir}/ru/%{name}
%doc %lang(sv) %{_kde5_htmldir}/sv/%{name}
%doc %lang(uk) %{_kde5_htmldir}/uk/%{name}
%lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/kruler.mo
%lang(ast) %{_datadir}/locale/ast/LC_MESSAGES/kruler.mo
%lang(bg) %{_datadir}/locale/bg/LC_MESSAGES/kruler.mo
%lang(bs) %{_datadir}/locale/bs/LC_MESSAGES/kruler.mo
%lang(ca) %{_datadir}/locale/ca/LC_MESSAGES/kruler.mo
%lang(ca@valencia) %{_datadir}/locale/ca@valencia/LC_MESSAGES/kruler.mo
%lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/kruler.mo
%lang(da) %{_datadir}/locale/da/LC_MESSAGES/kruler.mo
%lang(de) %{_datadir}/locale/de/LC_MESSAGES/kruler.mo
%lang(lc) %{_datadir}/locale/el/LC_MESSAGES/kruler.mo
%lang(en_GB) %{_datadir}/locale/en_GB/LC_MESSAGES/kruler.mo
%lang(eo) %{_datadir}/locale/eo/LC_MESSAGES/kruler.mo
%lang(es) %{_datadir}/locale/es/LC_MESSAGES/kruler.mo
%lang(et) %{_datadir}/locale/et/LC_MESSAGES/kruler.mo
%lang(eu) %{_datadir}/locale/eu/LC_MESSAGES/kruler.mo
%lang(fa) %{_datadir}/locale/fa/LC_MESSAGES/kruler.mo
%lang(fi) %{_datadir}/locale/fi/LC_MESSAGES/kruler.mo
%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/kruler.mo
%lang(ga) %{_datadir}/locale/ga/LC_MESSAGES/kruler.mo
%lang(gl) %{_datadir}/locale/gl/LC_MESSAGES/kruler.mo
%lang(he) %{_datadir}/locale/he/LC_MESSAGES/kruler.mo
%lang(hi) %{_datadir}/locale/hi/LC_MESSAGES/kruler.mo
%lang(hr) %{_datadir}/locale/hr/LC_MESSAGES/kruler.mo
%lang(hu) %{_datadir}/locale/hu/LC_MESSAGES/kruler.mo
%lang(ia) %{_datadir}/locale/ia/LC_MESSAGES/kruler.mo
%lang(id) %{_datadir}/locale/id/LC_MESSAGES/kruler.mo
%lang(is) %{_datadir}/locale/is/LC_MESSAGES/kruler.mo
%lang(it) %{_datadir}/locale/it/LC_MESSAGES/kruler.mo
%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/kruler.mo
%lang(kk) %{_datadir}/locale/kk/LC_MESSAGES/kruler.mo
%lang(km) %{_datadir}/locale/km/LC_MESSAGES/kruler.mo
%lang(ko) %{_datadir}/locale/ko/LC_MESSAGES/kruler.mo
%lang(lt) %{_datadir}/locale/lt/LC_MESSAGES/kruler.mo
%lang(lv) %{_datadir}/locale/lv/LC_MESSAGES/kruler.mo
%lang(mr) %{_datadir}/locale/mr/LC_MESSAGES/kruler.mo
%lang(nb) %{_datadir}/locale/nb/LC_MESSAGES/kruler.mo
%lang(nds) %{_datadir}/locale/nds/LC_MESSAGES/kruler.mo
%lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/kruler.mo
%lang(nn) %{_datadir}/locale/nn/LC_MESSAGES/kruler.mo
%lang(pa) %{_datadir}/locale/pa/LC_MESSAGES/kruler.mo
%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/kruler.mo
%lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/kruler.mo
%lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/kruler.mo
%lang(ro) %{_datadir}/locale/ro/LC_MESSAGES/kruler.mo
%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/kruler.mo
%lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/kruler.mo
%lang(sl) %{_datadir}/locale/sl/LC_MESSAGES/kruler.mo
%lang(sr) %{_datadir}/locale/sr/LC_MESSAGES/kruler.mo
%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/kruler.mo
%lang(tr) %{_datadir}/locale/tr/LC_MESSAGES/kruler.mo
%lang(ug) %{_datadir}/locale/ug/LC_MESSAGES/kruler.mo
%lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/kruler.mo
%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/kruler.mo
%lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/kruler.mo
%doc COPYING COPYING.DOC
#TODO
%changelog
* Wed Jul 19 2017 Automatic Build System <autodist@mambasoft.it> 17.04.3-1mamba
- automatic version update by autodist
* Tue Jun 27 2017 Automatic Build System <autodist@mambasoft.it> 17.04.2-1mamba
- automatic version update by autodist
* Fri Mar 10 2017 Automatic Build System <autodist@mambasoft.it> 16.12.3-1mamba
- automatic version update by autodist
* Fri Feb 10 2017 Automatic Build System <autodist@mambasoft.it> 16.12.2-1mamba
- automatic version update by autodist
* Fri Jan 13 2017 Automatic Build System <autodist@mambasoft.it> 16.12.1-1mamba
- automatic version update by autodist
* Mon Dec 19 2016 Automatic Build System <autodist@mambasoft.it> 16.12.0-1mamba
- automatic version update by autodist
* Fri Nov 11 2016 Automatic Build System <autodist@mambasoft.it> 16.08.3-1mamba
- automatic version update by autodist
* Sun Oct 16 2016 Automatic Build System <autodist@mambasoft.it> 16.08.2-1mamba
- automatic version update by autodist
* Fri Sep 09 2016 Automatic Build System <autodist@mambasoft.it> 16.08.1-1mamba
- automatic version update by autodist
* Fri Aug 26 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 16.08.0-1mamba
- automatic version update by autodist
* Wed Jul 13 2016 Automatic Build System <autodist@mambasoft.it> 16.04.3-1mamba
- automatic version update by autodist
* Wed Jun 15 2016 Automatic Build System <autodist@mambasoft.it> 16.04.2-1mamba
- automatic version update by autodist
* Wed May 11 2016 Automatic Build System <autodist@mambasoft.it> 16.04.1-1mamba
- automatic version update by autodist
* 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
* Mon Oct 20 2014 Automatic Build System <autodist@mambasoft.it> 4.14.2-1mamba
- automatic version update by autodist
* Sat Sep 27 2014 Automatic Build System <autodist@mambasoft.it> 4.14.1-1mamba
- automatic version update by autodist
* Thu Aug 21 2014 Automatic Build System <autodist@mambasoft.it> 4.14.0-1mamba
- automatic version update by autodist
* Tue Jul 15 2014 Automatic Build System <autodist@mambasoft.it> 4.13.3-1mamba
- automatic version update by autodist
* Fri Jun 13 2014 Automatic Build System <autodist@mambasoft.it> 4.13.2-1mamba
- automatic version update by autodist
* Mon May 19 2014 Automatic Build System <autodist@mambasoft.it> 4.13.1-1mamba
- automatic version update by autodist
* Thu Apr 17 2014 Automatic Build System <autodist@mambasoft.it> 4.13.0-1mamba
- automatic version update by autodist
* Thu Apr 03 2014 Automatic Build System <autodist@mambasoft.it> 4.12.4-1mamba
- automatic version update by autodist
* Wed Mar 05 2014 Automatic Build System <autodist@mambasoft.it> 4.12.3-1mamba
- automatic version update by autodist
* Wed Feb 05 2014 Automatic Build System <autodist@mambasoft.it> 4.12.2-1mamba
- automatic version update by autodist
* Tue Jan 14 2014 Automatic Build System <autodist@mambasoft.it> 4.12.1-1mamba
- automatic version update by autodist
* Thu Dec 19 2013 Automatic Build System <autodist@mambasoft.it> 4.12.0-1mamba
- automatic version update by autodist
* Thu Dec 05 2013 Automatic Build System <autodist@mambasoft.it> 4.11.4-1mamba
- automatic version update by autodist
* Wed Nov 06 2013 Automatic Build System <autodist@mambasoft.it> 4.11.3-1mamba
- automatic version update by autodist
* Wed Oct 02 2013 Automatic Build System <autodist@mambasoft.it> 4.11.2-1mamba
- automatic version update by autodist
* Wed Sep 04 2013 Automatic Build System <autodist@mambasoft.it> 4.11.1-1mamba
- automatic version update by autodist
* Wed Aug 14 2013 Automatic Build System <autodist@mambasoft.it> 4.11.0-1mamba
- automatic version update by autodist
* Tue Jul 02 2013 Automatic Build System <autodist@mambasoft.it> 4.10.5-1mamba
- automatic version update by autodist
* Wed Jun 05 2013 Automatic Build System <autodist@mambasoft.it> 4.10.4-1mamba
- automatic version update by autodist
* Tue May 07 2013 Automatic Build System <autodist@mambasoft.it> 4.10.3-1mamba
- automatic version update by autodist
* Wed Apr 03 2013 Automatic Build System <autodist@mambasoft.it> 4.10.2-1mamba
- automatic version update by autodist
* Tue Mar 05 2013 Automatic Build System <autodist@mambasoft.it> 4.10.1-1mamba
- automatic version update by autodist
* Wed Feb 13 2013 Automatic Build System <autodist@mambasoft.it> 4.10.0-1mamba
- automatic version update by autodist
* Thu Jan 03 2013 Automatic Build System <autodist@mambasoft.it> 4.9.5-1mamba
- automatic version update by autodist
* Wed Dec 05 2012 Automatic Build System <autodist@mambasoft.it> 4.9.4-1mamba
- automatic version update by autodist
* Thu Nov 08 2012 Automatic Build System <autodist@mambasoft.it> 4.9.3-1mamba
- automatic version update by autodist
* Thu Oct 04 2012 Automatic Build System <autodist@mambasoft.it> 4.9.2-1mamba
- automatic version update by autodist
* Thu Sep 06 2012 Automatic Build System <autodist@mambasoft.it> 4.9.1-1mamba
- automatic version update by autodist
* Thu Aug 16 2012 Automatic Build System <autodist@mambasoft.it> 4.9.0-1mamba
- automatic version update by autodist
* Sun Jun 10 2012 Automatic Build System <autodist@mambasoft.it> 4.8.4-1mamba
- automatic version update by autodist
* Sat May 05 2012 Automatic Build System <autodist@mambasoft.it> 4.8.3-1mamba
- automatic version update by autodist
* Sat Apr 07 2012 Automatic Build System <autodist@mambasoft.it> 4.8.2-1mamba
- automatic version update by autodist
* Tue Mar 27 2012 Automatic Build System <autodist@mambasoft.it> 4.8.1-1mamba
- automatic version update by autodist
* Wed Mar 07 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.4-2mamba
- obsolete kruler4
* Sun Dec 11 2011 Automatic Build System <autodist@mambasoft.it> 4.7.4-1mamba
- automatic version update by autodist
* Thu Nov 03 2011 Automatic Build System <autodist@mambasoft.it> 4.7.3-1mamba
- automatic version update by autodist
* Fri Oct 14 2011 Automatic Build System <autodist@mambasoft.it> 4.7.2-1mamba
- automatic version update by autodist
* Sun Sep 25 2011 Davide Madrisan <davide.madrisan@gmail.com> 4.7.1-1mamba
- package created by autospec