]> git.pld-linux.org Git - packages/ka5-kanagram.git/blame - ka5-kanagram.spec
- updated to 23.08.5
[packages/ka5-kanagram.git] / ka5-kanagram.spec
CommitLineData
8decf24b
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
e3c7a912 4%define kdeappsver 23.08.5
5ea3bbf1
WF
5%define kframever 5.94.0
6%define qtver 5.15.2
abd8a667
WF
7%define kaname kanagram
8Summary: kanagram
9Name: ka5-%{kaname}
e3c7a912 10Version: 23.08.5
76f4ded7 11Release: 1
abd8a667 12License: GPL v2+/LGPL v2.1+
11306103 13Group: X11/Applications/Games
76f4ded7 14Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
e3c7a912 15# Source0-md5: 5dd0d7811c190076dc025bf18ac185b9
abd8a667 16URL: http://www.kde.org/
76f4ded7
WF
17BuildRequires: Qt5Core-devel >= %{qtver}
18BuildRequires: Qt5Gui-devel >= 5.11.1
19BuildRequires: Qt5Network-devel >= 5.11.1
20BuildRequires: Qt5OpenGL-devel
21BuildRequires: Qt5Qml-devel
22BuildRequires: Qt5Quick-devel
23BuildRequires: Qt5Widgets-devel >= 5.11.1
8b6b8acb 24BuildRequires: cmake >= 3.20
11306103 25BuildRequires: gettext-devel
abd8a667 26BuildRequires: ka5-libkeduvocdocument-devel >= %{version}
76f4ded7
WF
27BuildRequires: kf5-extra-cmake-modules >= %{kframever}
28BuildRequires: kf5-kconfig-devel >= %{kframever}
29BuildRequires: kf5-kconfigwidgets-devel >= %{kframever}
30BuildRequires: kf5-kcoreaddons-devel >= %{kframever}
31BuildRequires: kf5-kcrash-devel >= %{kframever}
32BuildRequires: kf5-kdeclarative-devel >= %{kframever}
33BuildRequires: kf5-kdoctools-devel >= %{kframever}
34BuildRequires: kf5-ki18n-devel >= %{kframever}
35BuildRequires: kf5-kio-devel >= %{kframever}
36BuildRequires: kf5-knewstuff-devel >= %{kframever}
37BuildRequires: kf5-sonnet-devel >= %{kframever}
02a05a89 38BuildRequires: ninja
76f4ded7 39BuildRequires: qt5-build >= %{qtver}
abd8a667
WF
40BuildRequires: rpmbuild(macros) >= 1.164
41BuildRequires: shared-mime-info
42BuildRequires: tar >= 1:1.22
43BuildRequires: xz
76f4ded7 44Requires: Qt5MultimediaQuick
73a7399f 45Requires: %{name}-data = %{version}-%{release}
abd8a667
WF
46BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47
48%description
11306103
WF
49Kanagram is a game based on anagrams of words: the puzzle is solved
50when the letters of the scrambled word are put back in the correct
51order. There is no limit on either time taken, or the amount of
52attempts to solve the word.
53
54Features
55
56• Several word lists included • Hints and cheat help system • Word
57list editor • Word lists distribution via KNewStuff • Scalable user
58interface appropriate for children
abd8a667 59
701277aa
WF
60%description -l pl.UTF-8
61Kanagram jest grą bazującą na anagramach słów; zagadka jest rozwiązana
22b691b9
WF
62gdy litery szukanego słowa są ustawione z powrotem w poprawnej
63kolejności. Nie ma ograniczeń na wykorzystany czas ani na liczbę prób.
701277aa
WF
64
65Właściwości
66
22b691b9
WF
67• Wiele list słów wbudowanych • System podpowiedzi • Edytor listy słów
68• Dystrybucja listy słów przez KNewStuff • Skalowalny interfejs
69użytkownika odpowiedni dla dzieci
701277aa 70
73a7399f
WF
71%package data
72Summary: Data files for %{kaname}
73Summary(pl.UTF-8): Dane dla %{kaname}
74Group: X11/Applications/Games
75BuildArch: noarch
76
77%description data
78Data files for %{kaname}.
79
80%description data -l pl.UTF-8
81Dane dla %{kaname}.
82
abd8a667
WF
83%prep
84%setup -q -n %{kaname}-%{version}
85
86%build
abd8a667 87%cmake \
8b6b8acb 88 -B build \
02a05a89 89 -G Ninja \
8decf24b 90 %{!?with_tests:-DBUILD_TESTING=OFF} \
2beda71d 91 -DHTML_INSTALL_DIR=%{_kdedocdir} \
76f4ded7 92 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
8b6b8acb 93%ninja_build -C build
abd8a667 94
8decf24b 95%if %{with tests}
8b6b8acb 96ctest --test-dir build
8decf24b
WF
97%endif
98
99
abd8a667
WF
100%install
101rm -rf $RPM_BUILD_ROOT
02a05a89 102%ninja_install -C build
abd8a667
WF
103
104%find_lang %{kaname} --all-name --with-kde
105
106%clean
107rm -rf $RPM_BUILD_ROOT
108
109
73a7399f 110%files
abd8a667 111%defattr(644,root,root,755)
abd8a667 112%attr(755,root,root) %{_bindir}/kanagram
73a7399f
WF
113
114%files data -f %{kaname}.lang
115%defattr(644,root,root,755)
abd8a667
WF
116%{_desktopdir}/org.kde.kanagram.desktop
117%{_datadir}/config.kcfg/kanagram.kcfg
118%{_iconsdir}/hicolor/128x128/apps/kanagram.png
119%{_iconsdir}/hicolor/16x16/apps/kanagram.png
120%{_iconsdir}/hicolor/24x24/apps/kanagram.png
121%{_iconsdir}/hicolor/32x32/apps/kanagram.png
122%{_iconsdir}/hicolor/48x48/apps/kanagram.png
123%{_iconsdir}/hicolor/64x64/apps/kanagram.png
124%{_iconsdir}/hicolor/80x80/apps/kanagram-harmattan.png
125%{_iconsdir}/hicolor/scalable/apps/kanagram.svgz
126%{_datadir}/kanagram
fb7e5a39 127%{_datadir}/metainfo/org.kde.kanagram.appdata.xml
76f4ded7 128%{_datadir}/knsrcfiles/kanagram.knsrc
This page took 0.620638 seconds and 4 git commands to generate.