1 |
Name: yainstall |
2 |
Version: 1.0 |
3 |
Release: %mkrel 2 |
4 |
Url: https://bitbucket.org/_pmat_/yainstall |
5 |
Source: %{name}-%{version}.tar.bz2 |
6 |
License: GPLv3 |
7 |
Group: Games/Other |
8 |
Summary: An utility to easily download and install FlightGear aircrafts |
9 |
|
10 |
BuildRequires: qt4-devel |
11 |
BuildRequires: qtwebkit-devel |
12 |
BuildRequires: pkgconfig(libzip) |
13 |
BuildRequires: yalib-devel |
14 |
|
15 |
%description |
16 |
%{summary} |
17 |
|
18 |
%prep |
19 |
%setup -q -n %{name}-%{version} |
20 |
|
21 |
%build |
22 |
%qmake_qt4 |
23 |
%make |
24 |
|
25 |
%install |
26 |
install -d -m 755 %{buildroot}%{_bindir} |
27 |
install -D -m 755 %{name} %{buildroot}%{_bindir}/%{name} |
28 |
|
29 |
cat > README.urpmi << EOF |
30 |
If your FlightGear aircrafts directory resides into /usr/share/games/flightgear/ |
31 |
you will need to launch YaInstall using tools like sudo, su, kdesu or gtksu to allow |
32 |
the automatic download and installation of the aircraft models. |
33 |
EOF |
34 |
|
35 |
%files |
36 |
%doc README.md COPYING README.urpmi |
37 |
%{_bindir}/%{name} |