-
Notifications
You must be signed in to change notification settings - Fork 8
/
xlennart.spec
68 lines (59 loc) · 1.96 KB
/
xlennart.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Summary: Stop Lennart from loading his init system into all the computers.
Name: xlennart
Version: 1.1.1
Release: 3
Copyright: GPL
Group: Amusements/Games
Source: https://github.com/Xylemon/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
%description
The XLennart game tests your reflexes as you seek out and destroy all
forms of Lennart, establish a new init system throughout the
universe, and boldly go where no geek has gone before. XLennart may
become an increasingly attractive option as the Unix Age progresses,
and it is NOT very popular at Red Hat.
%prep
%setup -q
%build
./configure --prefix=/usr --localstatedir=/var/lib/games --disable-motif
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
( cd $RPM_BUILD_ROOT
mkdir -p ./usr/share/applications/
cat > ./usr/share/applications/xlennart.desktop <<EOF
[Desktop Entry]
Version=1.1.1
Type=Application
Name=XLennart
Comment=Save the Unix world.
Exec=xlennart
Icon=xlennart
Terminal=false
Categories=Game;ActionGame;
EOF
)
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/bin/xlennart
%config(noreplace) /var/lib/games/xlennart/scores
/usr/share/games/xlennart
%config /usr/share/applications/xlennart.desktop
%changelog
* Sun Nov 2 2014 Gethyn ThomasQuail <[email protected]>
- First release!
* Tue Dec 9 2014 Gethyn ThomasQuail <[email protected]>
- Clean up in makefile and configure scripts (Michael Shigorin and Dmitrij D. Czarkoff)
- Now uses GTK2 instead of GTK1 (Michael Shigorin)
- Improved Distro graphics and added a new one for a special occasion
- Some improvements to other images like the about page
- Removed unsed and outdated images
- Fixed some small copyright text
* Sun Mar 8 2015 Gethyn ThomasQuail <[email protected]>
- New Lennart sprites (Daniel Reurich)
- New Debian/Devuan packaging (Daniel Reurich)
- Some more makefile clean up (Vitalie Ciubotaru)
- Looking for a new maintainer, please contact me at <[email protected]>