1 |
Name: algobox |
2 |
Version: 1.1.1 |
3 |
Release: %mkrel 2 |
4 |
Summary: Algorithmic software |
5 |
License: GPLv2 |
6 |
Group: Education |
7 |
Url: https://www.xm1math.net/algobox/ |
8 |
Source: https://www.xm1math.net/algobox/%{name}-%{version}.tar.bz2 |
9 |
Patch0: algobox-1.1.1-mga-fix-desktop-and-svg-install.patch |
10 |
|
11 |
BuildRequires: cmake(Qt6Core) |
12 |
BuildRequires: cmake(Qt6Core5Compat) |
13 |
BuildRequires: cmake(Qt6Gui) |
14 |
BuildRequires: cmake(Qt6WebEngineWidgets) |
15 |
BuildRequires: cmake(Qt6Network) |
16 |
BuildRequires: cmake(Qt6PrintSupport) |
17 |
BuildRequires: cmake(Qt6Widgets) |
18 |
BuildRequires: cmake(Qt6Xml) |
19 |
|
20 |
%description |
21 |
Algobox is an initiation software to algorithmic to high school level. |
22 |
|
23 |
|
24 |
%prep |
25 |
%setup -q |
26 |
%autopatch -p1 |
27 |
|
28 |
%build |
29 |
%qmake_qt6 %{name}.pro |
30 |
%make_build |
31 |
|
32 |
%install |
33 |
%make_install INSTALL_ROOT=%{buildroot} |
34 |
|
35 |
%files |
36 |
%doc utilities/{AUTHORS,CHANGELOG.txt} |
37 |
%license utilities/COPYING |
38 |
%{_bindir}/%{name} |
39 |
%{_datadir}/%{name}/ |
40 |
%{_datadir}/applications/%{name}.desktop |
41 |
%{_iconsdir}/hicolor/scalable/apps/%{name}.svg |
42 |
%{_datadir}/pixmaps/%{name}.png |
43 |
%{_datadir}/mime/packages/x-%{name}.xml |
44 |
%{_metainfodir}/%{name}.metainfo.xml |