kgeography/kgeography.spec

327 lines
13 KiB
RPMSpec

Name: kgeography
Version: 17.04.2
Release: 1mamba
Summary: Geography Trainer
Group: Graphical Desktop/Applications/Educational
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/kgeography-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
#Requires: kde-workspace
BuildRequires: cmake
Provides: kgeography4 = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: kgeography4
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
KGeography is a geography learning tool, which allows you to learn about the political divisions of some countries (divisions, capitals of those divisions and their associated flags if there are some).
Features:
* Browse the maps clicking in a map division to see its name, capital and flag;
* The game tells you a map division name and you have to click on it;
* The game tells you a capital and you have to guess the division it belongs to;
* The game tells you a division and you have to guess its capital;
* The game shows you a map division flag and you have to guess its name;
* The game tells you a map division name and you have to guess its flag;
* The game shows an empty map and you have to place divisions on it one by one.
%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_kcfgdir}/*.kcfg
%{_kde5_icondir}/hicolor/*/apps/%{name}.png
%{_kde5_icondir}/hicolor/scalable/apps/%{name}.svgz
%{_kde5_kxmlguidir}/kgeography/kgeographyui.rc
%{_kde5_xdgappsdir}/org.kde.%{name}.desktop
%lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/kgeography.mo
%lang(ast) %{_datadir}/locale/ast/LC_MESSAGES/kgeography.mo
%lang(bg) %{_datadir}/locale/bg/LC_MESSAGES/kgeography.mo
%lang(bs) %{_datadir}/locale/bs/LC_MESSAGES/kgeography.mo
%lang(ca) %{_datadir}/locale/ca/LC_MESSAGES/kgeography.mo
%lang(ca@valencia) %{_datadir}/locale/ca@valencia/LC_MESSAGES/kgeography.mo
%lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/kgeography.mo
%lang(da) %{_datadir}/locale/da/LC_MESSAGES/kgeography.mo
%lang(de) %{_datadir}/locale/de/LC_MESSAGES/kgeography.mo
%lang(el) %{_datadir}/locale/el/LC_MESSAGES/kgeography.mo
%lang(en) %{_datadir}/locale/en_GB/LC_MESSAGES/kgeography.mo
%lang(eo) %{_datadir}/locale/eo/LC_MESSAGES/kgeography.mo
%lang(es) %{_datadir}/locale/es/LC_MESSAGES/kgeography.mo
%lang(et) %{_datadir}/locale/et/LC_MESSAGES/kgeography.mo
%lang(eu) %{_datadir}/locale/eu/LC_MESSAGES/kgeography.mo
%lang(fa) %{_datadir}/locale/fa/LC_MESSAGES/kgeography.mo
%lang(fi) %{_datadir}/locale/fi/LC_MESSAGES/kgeography.mo
%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/kgeography.mo
%lang(ga) %{_datadir}/locale/ga/LC_MESSAGES/kgeography.mo
%lang(gl) %{_datadir}/locale/gl/LC_MESSAGES/kgeography.mo
%lang(he) %{_datadir}/locale/he/LC_MESSAGES/kgeography.mo
%lang(hi) %{_datadir}/locale/hi/LC_MESSAGES/kgeography.mo
%lang(hr) %{_datadir}/locale/hr/LC_MESSAGES/kgeography.mo
%lang(hu) %{_datadir}/locale/hu/LC_MESSAGES/kgeography.mo
%lang(is) %{_datadir}/locale/is/LC_MESSAGES/kgeography.mo
%lang(it) %{_datadir}/locale/it/LC_MESSAGES/kgeography.mo
%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/kgeography.mo
%lang(kk) %{_datadir}/locale/kk/LC_MESSAGES/kgeography.mo
%lang(km) %{_datadir}/locale/km/LC_MESSAGES/kgeography.mo
%lang(ko) %{_datadir}/locale/ko/LC_MESSAGES/kgeography.mo
%lang(lt) %{_datadir}/locale/lt/LC_MESSAGES/kgeography.mo
%lang(lv) %{_datadir}/locale/lv/LC_MESSAGES/kgeography.mo
%lang(mr) %{_datadir}/locale/mr/LC_MESSAGES/kgeography.mo
%lang(nd) %{_datadir}/locale/nb/LC_MESSAGES/kgeography.mo
%lang(nds) %{_datadir}/locale/nds/LC_MESSAGES/kgeography.mo
%lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/kgeography.mo
%lang(nn) %{_datadir}/locale/nn/LC_MESSAGES/kgeography.mo
%lang(pa) %{_datadir}/locale/pa/LC_MESSAGES/kgeography.mo
%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/kgeography.mo
%lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/kgeography.mo
%lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/kgeography.mo
%lang(ro) %{_datadir}/locale/ro/LC_MESSAGES/kgeography.mo
%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/kgeography.mo
%lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/kgeography.mo
%lang(sl) %{_datadir}/locale/sl/LC_MESSAGES/kgeography.mo
%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/kgeography.mo
%lang(tr) %{_datadir}/locale/tr/LC_MESSAGES/kgeography.mo
%lang(ug) %{_datadir}/locale/ug/LC_MESSAGES/kgeography.mo
%lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/kgeography.mo
%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/kgeography.mo
%lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/kgeography.mo
%doc %lang(ca) %{_kde5_htmldir}/ca/%{name}
%doc %lang(de) %{_kde5_htmldir}/de/%{name}
%doc %lang(es) %{_kde5_htmldir}/es/%{name}
%doc %lang(et) %{_kde5_htmldir}/et/%{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(sv) %{_kde5_htmldir}/sv/%{name}
%doc %lang(uk) %{_kde5_htmldir}/uk/%{name}
%doc %lang(en) %{_kde5_htmldir}/en/%{name}
%doc AUTHORS COPYING COPYING.DOC README TODO
%changelog
* Thu Jul 13 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
* Sat Dec 17 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
* 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
* 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
* Sat May 24 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
* Wed Aug 15 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
* 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
* Sat Oct 01 2011 Davide Madrisan <davide.madrisan@gmail.com> 4.7.1-1mamba
- package created by autospec