source: trunk/Install/rpm/tunneler.spec

Last change on this file was 101, checked in by chronos, 6 months ago
  • Fixed: Wrong directory in RPM spec file.
  • Fixed: Visible menu line on the top of the screen with Gtk2.
File size: 1.5 KB
Line 
1Name: tunneler
2Version: 1.2.0
3Release: 1%{?dist}
4Summary: A real-time digging and shooting multi-player tank battle game.
5
6Group: Amusements/Games
7License: Public Domain
8URL: https://app.zdechov.net/Tunneler
9Source0: tunneler.tar.gz
10BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11Requires: sox
12
13BuildRequires: lazarus >= 2.0.12
14
15%description
16A real-time digging and shooting multi-player tank battle game.
17
18%global debug_package %{nil}
19
20%prep
21%setup -q -c $(RPM_NAME)-$(RPM_VERSION)
22
23
24%build
25lazbuild --build-mode=Release tunneler.lpi
26
27%install
28rm -rf $RPM_BUILD_ROOT
29install -d -m 755 $RPM_BUILD_ROOT/usr/bin
30install -s -m 755 Tunneler $RPM_BUILD_ROOT/usr/bin
31install -d -m 755 $RPM_BUILD_ROOT/usr/share/applications
32install -m 755 Install/common/Tunneler.desktop $RPM_BUILD_ROOT/usr/share/applications
33install -d -m 755 $RPM_BUILD_ROOT/usr/share/pixmaps
34install -m 644 Images/64x64/Tunneler.png $RPM_BUILD_ROOT/usr/share/pixmaps
35install -d -m 755 $RPM_BUILD_ROOT/usr/share/Tunneler/Languages
36install -D -m 755 Languages/*.pot $RPM_BUILD_ROOT/usr/share/Tunneler/Languages
37install -D -m 755 Languages/*.po $RPM_BUILD_ROOT/usr/share/Tunneler/Languages
38install -d -m 755 $RPM_BUILD_ROOT/usr/share/Tunneler/Audio
39install -D -m 755 Audio/*.wav $RPM_BUILD_ROOT/usr/share/Tunneler/Audio
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44
45%files
46%defattr(-,root,root,-)
47/usr/bin/Tunneler
48/usr/share/applications/Tunneler.desktop
49/usr/share/Tunneler/
50/usr/share/pixmaps/Tunneler.png
51
52%changelog
Note: See TracBrowser for help on using the repository browser.