kcalc/kcalc.spec

348 lines
13 KiB
RPMSpec

Name: kcalc
Version: 18.04.1
Release: 1mamba
Summary: Scientific calculator
Group: Graphical Desktop/Applications/Utilities
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/kcalc-%{version}.tar.xz
License: GPL
BuildRequires: cmake
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libgmp-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
#Requires: kde-workspace
Provides: kcalc4
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%posttrans
update-desktop-database -q >/dev/null 2>&1
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
exit 0
%postun
if [ $1 -eq 0 ]; then
update-desktop-database -q >/dev/null 2>&1
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
fi
exit 0
%files
%defattr(-,root,root)
%{_kde5_bindir}/%{name}
%{_kde5_libdir}/libkdeinit5_kcalc.so
%dir %{_kde5_datadir}/kcalc
%{_kde5_datadir}/kcalc/scienceconstants.xml
%{_kde5_datadir}/kxmlgui5/kcalc/kcalcui.rc
%{_datadir}/metainfo/org.kde.kcalc.appdata.xml
%{_kde5_xdgappsdir}/org.kde.%{name}.desktop
%{_kde5_kconfupdatedir}/kcalcrc.upd
%{_kde5_kcfgdir}/%{name}.kcfg
%doc %lang(en) %{_kde5_htmldir}/en/%{name}
%doc %lang(de) %{_kde5_htmldir}/de/%{name}
%doc %lang(es) %{_kde5_htmldir}/es/%{name}
%doc %lang(et) %{_kde5_htmldir}/et/%{name}
%doc %lang(fr) %{_kde5_htmldir}/fr/%{name}
%doc %lang(gl) %{_kde5_htmldir}/gl/%{name}
%doc %lang(it) %{_kde5_htmldir}/it/%{name}
%doc %lang(lt) %{_kde5_htmldir}/lt/%{name}
%doc %lang(nl) %{_kde5_htmldir}/nl/%{name}
%doc %lang(pt) %{_kde5_htmldir}/pt/%{name}
%doc %lang(pt_BR) %{_kde5_htmldir}/pt_BR/%{name}
%doc %lang(ru) %{_kde5_htmldir}/ru/%{name}
%doc %lang(sr) %{_kde5_htmldir}/sr/%{name}
%doc %lang(sv) %{_kde5_htmldir}/sv/%{name}
%doc %lang(uk) %{_kde5_htmldir}/uk/%{name}
%{_datadir}/locale/ar/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/ast/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/bg/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/bs/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/ca/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/ca@valencia/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/cs/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/da/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/de/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/el/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/en_GB/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/eo/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/es/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/et/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/eu/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/fa/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/fi/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/fr/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/ga/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/gl/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/he/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/hi/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/hr/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/hu/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/ia/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/id/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/is/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/it/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/ja/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/kk/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/km/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/ko/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/lt/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/lv/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/mr/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/nb/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/nds/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/nl/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/nn/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/pa/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/pl/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/pt/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/pt_BR/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/ro/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/ru/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/sk/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/sl/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/sr/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/sv/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/tr/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/ug/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/uk/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/wa/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/zh_CN/LC_MESSAGES/kcalc.mo
%{_datadir}/locale/zh_TW/LC_MESSAGES/kcalc.mo
%doc COPYING COPYING.LIB
%changelog
* Thu May 10 2018 Automatic Build System <autodist@mambasoft.it> 18.04.1-1mamba
- automatic version update by autodist
* Sat Apr 21 2018 Automatic Build System <autodist@mambasoft.it> 18.04.0-1mamba
- automatic version update by autodist
* Thu Mar 08 2018 Automatic Build System <autodist@mambasoft.it> 17.12.3-1mamba
- automatic version update by autodist
* Fri Feb 09 2018 Automatic Build System <autodist@mambasoft.it> 17.12.2-1mamba
- automatic version update by autodist
* Thu Jan 11 2018 Automatic Build System <autodist@mambasoft.it> 17.12.1-1mamba
- automatic version update by autodist
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 17.12.0-1mamba
- automatic version update by autodist
* Fri Nov 10 2017 Automatic Build System <autodist@mambasoft.it> 17.08.3-1mamba
- automatic version update by autodist
* Thu Oct 12 2017 Automatic Build System <autodist@mambasoft.it> 17.08.2-1mamba
- automatic version update by autodist
* Fri Sep 08 2017 Automatic Build System <autodist@mambasoft.it> 17.08.1-1mamba
- automatic version update by autodist
* Tue Aug 22 2017 Automatic Build System <autodist@mambasoft.it> 17.08.0-1mamba
- automatic version update by autodist
* Fri Jul 14 2017 Automatic Build System <autodist@mambasoft.it> 17.04.3-1mamba
- automatic version update by autodist
* Mon Jun 26 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
* Thu Sep 08 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
* Tue Jul 12 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
* Wed Nov 11 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
* Thu Apr 30 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
* Sun Sep 28 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
* Sat Aug 18 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
* Fri Jun 01 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.3-2mamba
- provide kcalc4
* Sat May 05 2012 Automatic Build System <autodist@mambasoft.it> 4.8.3-1mamba
- automatic version update by autodist
* Fri Apr 13 2012 Davide Madrisan <davide.madrisan@gmail.com> 4.8.2-1mamba
- package created by autospec