]> git.pld-linux.org Git - packages/ka5-kubrick.git/blame - ka5-kubrick.spec
- updated to 22.12.0
[packages/ka5-kubrick.git] / ka5-kubrick.spec
CommitLineData
7f6b6e79
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
58ba8cbf 4%define kdeappsver 22.12.0
35386205
WF
5%define kframever 5.94.0
6%define qtver 5.15.2
9fb91503
WF
7%define kaname kubrick
8Summary: kubrick
9Summary(pl.UTF-8): kubrick
10Name: ka5-%{kaname}
58ba8cbf 11Version: 22.12.0
47075f25 12Release: 1
9fb91503
WF
13License: GPL v2+
14Group: X11/Applications/Games
2e99c404 15Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
58ba8cbf 16# Source0-md5: 3f232ebd18ae7297bc2f02d5607a930d
9fb91503
WF
17URL: http://www.kde.org/
18BuildRequires: OpenGL-devel
d884454e 19BuildRequires: OpenGL-GLU-devel
9fb91503
WF
20BuildRequires: Qt5Core-devel
21BuildRequires: Qt5Gui-devel >= 5.11.1
22BuildRequires: Qt5OpenGL-devel
23BuildRequires: Qt5Qml-devel >= 5.11.1
24BuildRequires: Qt5Quick-devel >= 5.11.1
25BuildRequires: Qt5Svg-devel
26BuildRequires: Qt5Widgets-devel
27BuildRequires: gettext-devel
fd76a63b 28BuildRequires: ka5-libkdegames-devel >= %{kdeappsver}
77adc211
WF
29BuildRequires: kf5-extra-cmake-modules >= %{kframever}
30BuildRequires: kf5-kconfig-devel >= %{kframever}
31BuildRequires: kf5-kconfigwidgets-devel >= %{kframever}
32BuildRequires: kf5-kcoreaddons-devel >= %{kframever}
33BuildRequires: kf5-kcrash-devel >= %{kframever}
34BuildRequires: kf5-kdoctools-devel >= %{kframever}
35BuildRequires: kf5-ki18n-devel >= %{kframever}
36BuildRequires: kf5-kio-devel >= %{kframever}
37BuildRequires: kf5-kwidgetsaddons-devel >= %{kframever}
38BuildRequires: kf5-kxmlgui-devel >= %{kframever}
fd76a63b 39BuildRequires: ninja
9fb91503
WF
40BuildRequires: rpmbuild(macros) >= 1.164
41BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43%description
44Kubrick is a game based on the Rubik's Cube™ puzzle. The cube sizes
45range from 2x2x2 up to 6x6x6, or you can play with irregular "bricks"
46such as 5x3x2 or "mats" such as 6x4x1 or 2x2x1. The game has a
47selection of puzzles at several levels of difficulty, as well as demos
48of pretty patterns and solution moves, or you can make up your own
49puzzles.
50
60f6b4ae
WF
51%description -l pl.UTF-8
52Kubrick jest oparty na kostce Rubika z rozmiarami kostki w zakresie
53od 2x2x2 do 6x6x6, a także nieregularnymi kształtami, takimi jak:
545x3x2, 6x4x1 czy 2x2x1. Gra zawiera wybór zagadek do rozwiązania
55różnego poziomu trudności, a także dema, ciekawe wzory, a także
56rozwiązania. Możesz także tworzyć własne układy.
57
9fb91503
WF
58%prep
59%setup -q -n %{kaname}-%{version}
60
61%build
62install -d build
63cd build
64%cmake \
fd76a63b 65 -G Ninja \
7f6b6e79 66 %{!?with_tests:-DBUILD_TESTING=OFF} \
77adc211 67 -DHTML_INSTALL_DIR=%{_kdedocdir} \
9fb91503
WF
68 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
69 ..
fd76a63b 70%ninja_build
9fb91503 71
7f6b6e79
WF
72%if %{with tests}
73ctest
74%endif
75
76
9fb91503
WF
77%install
78rm -rf $RPM_BUILD_ROOT
fd76a63b 79%ninja_install -C build
9fb91503
WF
80
81%find_lang %{kaname} --all-name --with-kde
82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
86%files -f %{kaname}.lang
87%defattr(644,root,root,755)
9fb91503
WF
88%attr(755,root,root) %{_bindir}/kubrick
89%{_desktopdir}/org.kde.kubrick.desktop
90%{_iconsdir}/hicolor/128x128/apps/kubrick.png
91%{_iconsdir}/hicolor/16x16/apps/kubrick.png
92%{_iconsdir}/hicolor/22x22/apps/kubrick.png
93%{_iconsdir}/hicolor/32x32/apps/kubrick.png
94%{_iconsdir}/hicolor/48x48/apps/kubrick.png
95%{_iconsdir}/hicolor/64x64/apps/kubrick.png
96%{_datadir}/kubrick
9fb91503 97%{_datadir}/metainfo/org.kde.kubrick.appdata.xml
1bdeabfa 98%{_datadir}/qlogging-categories5/kubrick.categories
This page took 0.689475 seconds and 4 git commands to generate.