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 | |
---|
1 | Name: tunneler
|
---|
2 | Version: 1.2.0
|
---|
3 | Release: 1%{?dist}
|
---|
4 | Summary: A real-time digging and shooting multi-player tank battle game.
|
---|
5 |
|
---|
6 | Group: Amusements/Games
|
---|
7 | License: Public Domain
|
---|
8 | URL: https://app.zdechov.net/Tunneler
|
---|
9 | Source0: tunneler.tar.gz
|
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
---|
11 | Requires: sox
|
---|
12 |
|
---|
13 | BuildRequires: lazarus >= 2.0.12
|
---|
14 |
|
---|
15 | %description
|
---|
16 | A 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
|
---|
25 | lazbuild --build-mode=Release tunneler.lpi
|
---|
26 |
|
---|
27 | %install
|
---|
28 | rm -rf $RPM_BUILD_ROOT
|
---|
29 | install -d -m 755 $RPM_BUILD_ROOT/usr/bin
|
---|
30 | install -s -m 755 Tunneler $RPM_BUILD_ROOT/usr/bin
|
---|
31 | install -d -m 755 $RPM_BUILD_ROOT/usr/share/applications
|
---|
32 | install -m 755 Install/common/Tunneler.desktop $RPM_BUILD_ROOT/usr/share/applications
|
---|
33 | install -d -m 755 $RPM_BUILD_ROOT/usr/share/pixmaps
|
---|
34 | install -m 644 Images/64x64/Tunneler.png $RPM_BUILD_ROOT/usr/share/pixmaps
|
---|
35 | install -d -m 755 $RPM_BUILD_ROOT/usr/share/Tunneler/Languages
|
---|
36 | install -D -m 755 Languages/*.pot $RPM_BUILD_ROOT/usr/share/Tunneler/Languages
|
---|
37 | install -D -m 755 Languages/*.po $RPM_BUILD_ROOT/usr/share/Tunneler/Languages
|
---|
38 | install -d -m 755 $RPM_BUILD_ROOT/usr/share/Tunneler/Audio
|
---|
39 | install -D -m 755 Audio/*.wav $RPM_BUILD_ROOT/usr/share/Tunneler/Audio
|
---|
40 |
|
---|
41 | %clean
|
---|
42 | rm -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.