1 |
Name: algobox |
2 |
Version: 0.8 |
3 |
Release: %mkrel 1 |
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.desktop-change-for-mga.patch |
10 |
|
11 |
BuildRequires: qt4-devel >= 4.6.1 |
12 |
BuildRequires: pkgconfig(QtWebKit) |
13 |
|
14 |
%description |
15 |
Algobox is an initiation software to algorithmic to high school level. |
16 |
|
17 |
|
18 |
%prep |
19 |
%setup -q |
20 |
%patch0 -p1 |
21 |
|
22 |
%build |
23 |
qmake algobox.pro |
24 |
%make |
25 |
|
26 |
%install |
27 |
%makeinstall_std |
28 |
|
29 |
mkdir -p %{buildroot}%{_iconsdir}/hicolor/scalable/apps |
30 |
cp ./utilities/%{name}.svg %{buildroot}%{_iconsdir}/hicolor/scalable/apps/%{name}.svg |
31 |
|
32 |
%files |
33 |
%doc ./utilities/{AUTHORS,COPYING,CHANGELOG.txt} |
34 |
%dir %{_datadir}/%{name}/ |
35 |
%{_bindir}/%{name} |
36 |
%{_datadir}/%{name}/* |
37 |
%{_datadir}/applications/%{name}.desktop |
38 |
%{_iconsdir}/hicolor/scalable/apps/%{name}.svg |
39 |
%{_datadir}/pixmaps/%{name}.png |