]> git.pld-linux.org Git - packages/ka5-katomic.git/blob - ka5-katomic.spec
11f63a778008dabb599e23b6b1f760a5fcb40247
[packages/ka5-katomic.git] / ka5-katomic.spec
1 %define         kdeappsver      21.08.0
2 %define         kframever       5.56.0
3 %define         qtver           5.9.0
4 %define         kaname          katomic
5 Summary:        katomic
6 Name:           ka5-%{kaname}
7 Version:        21.08.0
8 Release:        1
9 License:        GPL v2+/LGPL v2.1+
10 Group:          X11/Applications/Games
11 Source0:        http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
12 # Source0-md5:  2296ad3bde84f184e654bef458899ff0
13 URL:            http://www.kde.org/
14 BuildRequires:  Qt5Core-devel >= %{qtver}
15 BuildRequires:  Qt5Gui-devel >= 5.11.1
16 BuildRequires:  Qt5Qml-devel >= 5.11.1
17 BuildRequires:  Qt5Quick-devel >= 5.11.1
18 BuildRequires:  Qt5Widgets-devel
19 BuildRequires:  cmake >= 2.8.12
20 BuildRequires:  gettext-devel
21 BuildRequires:  ka5-libkdegames-devel >= %{kdeappsver}
22 BuildRequires:  kf5-extra-cmake-modules >= %{kframever}
23 BuildRequires:  kf5-kconfig-devel >= %{kframever}
24 BuildRequires:  kf5-kcoreaddons-devel >= %{kframever}
25 BuildRequires:  kf5-kcrash-devel >= %{kframever}
26 BuildRequires:  kf5-kdbusaddons-devel >= %{kframever}
27 BuildRequires:  kf5-kdoctools-devel >= %{kframever}
28 BuildRequires:  kf5-ki18n-devel >= %{kframever}
29 BuildRequires:  kf5-knewstuff-devel >= %{kframever}
30 BuildRequires:  kf5-kwidgetsaddons-devel >= %{kframever}
31 BuildRequires:  kf5-kxmlgui-devel >= %{kframever}
32 BuildRequires:  ninja
33 BuildRequires:  qt5-build >= %{qtver}
34 BuildRequires:  rpmbuild(macros) >= 1.164
35 BuildRequires:  shared-mime-info
36 BuildRequires:  tar >= 1:1.22
37 BuildRequires:  xz
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %description
41 KAtomic is a fun educational game built around molecular geometry. It
42 employs simplistic two-dimensional looks at different chemical
43 elements.
44
45 %description -l pl.UTF-8
46 KAtomic jest edukacyjną grą zbudowaną wokół geometrii cząsteczek
47 chemicznych. Pokazuje uproszczony dwuwymiarowy obraz różnych
48 chemicznych pierwiastków i związków.
49
50 %prep
51 %setup -q -n %{kaname}-%{version}
52
53 %build
54 install -d build
55 cd build
56 %cmake \
57         -G Ninja \
58         -DHTML_INSTALL_DIR=%{_kdedocdir} \
59         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
60         ..
61 %ninja_build
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 %ninja_install -C build
66
67 %find_lang %{kaname} --all-name --with-kde
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files -f %{kaname}.lang
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/katomic
75 %{_desktopdir}/org.kde.katomic.desktop
76 %{_iconsdir}/hicolor/128x128/apps/katomic.png
77 %{_iconsdir}/hicolor/16x16/apps/katomic.png
78 %{_iconsdir}/hicolor/22x22/apps/katomic.png
79 %{_iconsdir}/hicolor/32x32/apps/katomic.png
80 %{_iconsdir}/hicolor/48x48/apps/katomic.png
81 %{_iconsdir}/hicolor/64x64/apps/katomic.png
82 %{_datadir}/katomic
83 %attr(755,root,root) %{_datadir}/kconf_update/katomic-levelset-upd.pl
84 %{_datadir}/kconf_update/katomic-levelset.upd
85 %{_datadir}/metainfo/org.kde.katomic.appdata.xml
86 %{_datadir}/knsrcfiles/katomic.knsrc
87 %{_datadir}/qlogging-categories5/katomic.categories
This page took 0.078796 seconds and 2 git commands to generate.