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