1 |
alexl |
613647 |
Name: basetest |
2 |
|
|
Version: 1.3 |
3 |
umeabot |
1841985 |
Release: %mkrel 13 |
4 |
alexl |
613647 |
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 |
kekepower |
1211595 |
Source0: https://github.com/Voral/numericsystem/archive/v%{version}/%{name}-%{version}.tar.gz |
10 |
alexl |
798523 |
Patch0: %{name}-%{version}-mga-desktop.patch |
11 |
alexl |
926720 |
Patch1: %{name}-%{version}-mga-qt5.patch |
12 |
alexl |
927010 |
Patch2: %{name}-%{version}-mga-translator.patch |
13 |
alexl |
926720 |
BuildRequires: pkgconfig(Qt5Core) |
14 |
|
|
BuildRequires: pkgconfig(Qt5Gui) |
15 |
|
|
BuildRequires: pkgconfig(Qt5Widgets) |
16 |
alexl |
927010 |
Requires: qttranslations5 |
17 |
alexl |
613647 |
|
18 |
|
|
%description |
19 |
alexl |
693139 |
Simulator Number System. |
20 |
alexl |
613647 |
The program helps to get the skills to transfer numbers between different |
21 |
|
|
number systems (use of systems with a base of 2 to 36). |
22 |
|
|
|
23 |
|
|
%prep |
24 |
kekepower |
1211595 |
%autosetup -p1 |
25 |
alexl |
613647 |
|
26 |
|
|
%build |
27 |
kekepower |
1211595 |
cd src |
28 |
alexl |
926720 |
%qmake_qt5 |
29 |
kekepower |
1211595 |
%make_build |
30 |
alexl |
613647 |
|
31 |
|
|
%install |
32 |
|
|
%__install -dm 755 %{buildroot}%{_bindir} |
33 |
|
|
%__install -m 755 ./bin/%{name} %{buildroot}%{_bindir}/ |
34 |
|
|
|
35 |
|
|
%__install -dm 755 %{buildroot}%{_datadir}/pixmaps |
36 |
|
|
%__install -m 644 ./packages/%{name}/usr/share/pixmaps/%{name}.png %{buildroot}%{_datadir}/pixmaps/ |
37 |
|
|
|
38 |
|
|
%__install -dm 755 %{buildroot}%{_datadir}/applications |
39 |
|
|
%__install -m 644 ./packages/%{name}/usr/share/applications/%{name}.desktop %{buildroot}%{_datadir}/applications/ |
40 |
|
|
|
41 |
|
|
%files |
42 |
alexl |
926720 |
%doc README |
43 |
alexl |
613647 |
%{_bindir}/%{name} |
44 |
|
|
%{_datadir}/pixmaps/%{name}.png |
45 |
|
|
%{_datadir}/applications/%{name}.desktop |