]> git.pld-linux.org Git - SPECS.git/blob - sabre.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / sabre.spec
1 Summary:        The SABRE Fighter Plane Simulator
2 Summary(pl.UTF-8):      SABRE - symulator myśliwca
3 Name:           sabre
4 Version:        0.2.3
5 Release:        5.1
6 License:        GPL
7 Group:          Applications/Games
8 Source0:        http://sabre.cobite.com/%{name}-%{version}.tar.gz
9 # Source0-md5:  a4f6a710b2e14bc487b08bec9def95f8
10 URL:            http://sabre.cobite.com/
11 Patch0:         %{name}-redhat.patch
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  svgalib-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 SABRE is an on-going game developed for Linux, worked on as a labor of
19 love by flight-simulation enthusiasts. At this point, the developers
20 are focusing on Korean War-era fighter aircraft, such as the classic
21 North American F-86 SabreJet, the F-84 ThunderJet, the F-51 Mustang
22 and the Yak-9. SABRE can run in any svgalib 8 bit color mode, from 320
23 x 200 to 1024 x 768. Using a window, higher resolutions can be
24 selected without loss of playing speed. See the WHATSNEW document for
25 more details.
26
27 %description -l pl.UTF-8
28 SABRE jest grą pod Linuksa dla entuzjastów symulacji lotu. W tej
29 chwili programiści skupili się na lotnictwie wojennym z czasów wojny w
30 Korei, takich jak klasyczne północnoamerykańskie F-86 SabreJet, F-84
31 ThunderJet, F-51 Mustang i Yak-9. SABRE może działać w trybach
32 8-bitowych svgalib, od 320x200 do 1024x768.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37
38 %build
39 %{__automake}
40 %{__autoconf}
41 %configure
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_libdir}/sabre
47
48 %{__make} install \
49         prefix=$RPM_BUILD_ROOT%{_prefix}
50
51 cp -r lib scenarios doc $RPM_BUILD_ROOT%{_libdir}/sabre
52 install RunSabre $RPM_BUILD_ROOT%{_bindir}
53
54 find $RPM_BUILD_ROOT%{_libdir}/sabre -name "Makefile*" -exec rm -f {} \;
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc HISTORY README REQUIREMENTS TROUBLE_SHOOTING WHATSNEW
62 %attr(755,root,root) %{_bindir}/*
63 %{_libdir}/sabre
This page took 0.161709 seconds and 3 git commands to generate.