1 |
alexl |
613647 |
Name: basetest |
2 |
|
|
Version: 1.3 |
3 |
|
|
Release: %mkrel 1 |
4 |
|
|
Summary: Simulator Number System |
5 |
|
|
License: GPLv3+ |
6 |
|
|
Group: Sciences/Mathematics |
7 |
|
|
#https://github.com/Voral/numericsystem/archive/v%{version}.tar.gz |
8 |
|
|
URL: https://github.com/Voral/numericsystem |
9 |
|
|
Source: %{name}-%{version}.tar.gz |
10 |
|
|
BuildRequires: qt4-devel |
11 |
|
|
|
12 |
|
|
%description |
13 |
|
|
Simulator Numeber System. |
14 |
|
|
The program helps to get the skills to transfer numbers between different |
15 |
|
|
number systems (use of systems with a base of 2 to 36). |
16 |
|
|
|
17 |
|
|
%prep |
18 |
|
|
%setup -q |
19 |
|
|
|
20 |
|
|
%build |
21 |
|
|
cd ./src |
22 |
|
|
%qmake_qt4 |
23 |
|
|
%make |
24 |
|
|
|
25 |
|
|
%install |
26 |
|
|
%__install -dm 755 %{buildroot}%{_bindir} |
27 |
|
|
%__install -m 755 ./bin/%{name} %{buildroot}%{_bindir}/ |
28 |
|
|
|
29 |
|
|
%__install -dm 755 %{buildroot}%{_datadir}/pixmaps |
30 |
|
|
%__install -m 644 ./packages/%{name}/usr/share/pixmaps/%{name}.png %{buildroot}%{_datadir}/pixmaps/ |
31 |
|
|
|
32 |
|
|
%__install -dm 755 %{buildroot}%{_datadir}/applications |
33 |
|
|
%__install -m 644 ./packages/%{name}/usr/share/applications/%{name}.desktop %{buildroot}%{_datadir}/applications/ |
34 |
|
|
|
35 |
|
|
%files |
36 |
|
|
%{_bindir}/%{name} |
37 |
|
|
%{_datadir}/pixmaps/%{name}.png |
38 |
|
|
%{_datadir}/applications/%{name}.desktop |