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