-
Notifications
You must be signed in to change notification settings - Fork 7
/
icebreaker.spec
166 lines (124 loc) · 4.78 KB
/
icebreaker.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
Name: icebreaker
Version: 2.2.2
Release: 1
Summary: An addictive action-puzzle game involving bouncing penguins
%define isprerelease 0
%define isdevelrelease 0
License: GPLv2+
%if %{isprerelease}
Source: icebreaker-%{version}-%{release}.tar.xz
%else
Source: https://mattdm.org/icebreaker/2.1.x/icebreaker-%{version}.tar.xz
%endif
URL: http://www.mattdm.org/icebreaker/
BuildRequires: gcc, make
BuildRequires: SDL-devel, SDL_mixer-devel
BuildRequires: gawk, sed, grep
BuildRequires: desktop-file-utils
%if %{isprerelease}
%define extradescription *** Warning *** This is a prerelease build not meant for general public use.
%elseif %{isdevelrelease}
%define extradescription NOTE: This is a development release. Bug-testers only, please.
%endif
%description
IceBreaker is an action-puzzle game in which you must capture penguins from
an Antarctic iceberg so they can be shipped to Finland, where they are
essential to a secret plot for world domination. To earn the highest Geek
Cred, trap them in the smallest space in the shortest time while losing the
fewest lives. IceBreaker was inspired by (but is far from an exact clone of)
Jezzball by Dima Pavlovsky.
%{extradescription}
%prep
%if %{isprerelease}
%setup -q -n %{name}-%{version}-%{release}
%else
%setup -q
%endif
%build
make OPTIMIZE="$RPM_OPT_FLAGS" prefix=%{_prefix}
%install
make install prefix=${RPM_BUILD_ROOT}%{_prefix}
desktop-file-install --dir=%{buildroot}%{_datadir}/applications icebreaker.desktop
mkdir ${RPM_BUILD_ROOT}%{_datadir}/metainfo
cp metainfo.xml ${RPM_BUILD_ROOT}%{_datadir}/metainfo/org.mattdm.icebreaker.metainfo.xml
%files
%license LICENSE
%doc README README.themes TODO ChangeLog
%{_bindir}/icebreaker
%{_datadir}/applications/icebreaker.desktop
%{_datadir}/metainfo/org.mattdm.icebreaker.metainfo.xml
%{_datadir}/icebreaker
%{_mandir}/man6/*
%changelog
* Thu Jul 13 2023 Matthew Miller <[email protected]> - 2.2.2-1
- fix some really dumb stuff :)
* Sun Oct 2 2021 Matthew Miller <[email protected]> - 2.2.1-1
- minor build improvements via PR from reinerh
* Mon Mar 1 2021 Matthew Miller <[email protected]> - 2.2.0-1[A
- made Windows work so I'm going to call this 2.2
* Mon Mar 1 2021 Matthew Miller <[email protected]> - 2.1.3-1
- fix metainfo oops
* Mon Mar 1 2021 Matthew Miller <[email protected]> - 2.1.2-1
- update metainfo for GNOME Software
* Tue Feb 23 2021 Matthew Miller <[email protected]> - 2.1.1-1
- update to 2.1.1 to fix some more buffer overflows
* Wed Sep 2 2020 Matthew Miller <[email protected]> - 2.1.0-1
- update to 2.1
- include metainfo
* Sun Aug 30 2020 Matthew Miller <[email protected]> - 2.0.2-1
- minor tweaks
* Sun Aug 30 2020 Matthew Miller <[email protected]> - 2.0.0-1
- high scores are going to be local to each home directory; no more setgid
- update to 2.0.0
* Thu Nov 16 2006 Matthew Miller <[email protected]>
- working towards 1.9.9 :)
* Fri May 31 2002 Matthew Miller <[email protected]>
- 1.9.6
* Mon May 27 2002 Matthew Miller <[email protected]>
- 1.9.5
* Thu May 23 2002 Matthew Miller <[email protected]>
- more complex makefile allows simpler specfile
* Tue May 21 2002 Matthew Miller <[email protected]>
- added themes docs
* Sun May 19 2002 Matthew Miller <[email protected]>
- inserted some convenience stuff to enable "make rpm" magic to work
- added "isprerelease" check. No one but me should care about this.
* Sun May 19 2002 Matthew Miller <[email protected]>
- 1.9.2
* Fri May 17 2002 Matthew Miller <[email protected]>
- REALLY add .ibt files for themes
* Mon May 13 2002 Matthew Miller <[email protected]>
- add .ibt files for themes
* Wed May 08 2002 Matthew Miller <[email protected]>
- 1.9.1
* Wed Aug 01 2001 Matthew Miller <[email protected]>
- 1.9.0
* Mon Jul 30 2001 Matthew Miller <[email protected]>
- 1.2.1
* Sat Jul 28 2001 Matthew Miller <[email protected]>
- 1.2
* Tue Jul 24 2001 Matthew Miller <[email protected]>
- move man page section 6
* Sun Jul 22 2001 Matthew Miller <[email protected]>
- 1.1
* Fri Jul 20 2001 Matthew Miller <[email protected]>
- borrowed idea of using post-script to create high score file
from Mandrake RPM. That way, it doesn't have to be marked as a config
file, and yet won't get zapped on upgrade.
- also, modified Makefile to cope with RPM_OPT_FLAGS, again as per
Mandrake.
* Thu Jul 19 2001 Matthew Miller <[email protected]>
- added man page
* Tue Jul 18 2001 Matthew Miller <[email protected]>
- updated to 1.09
* Thu Oct 5 2000 Matthew Miller <[email protected]>
- looks good to me. one-point-oh
* Tue Oct 3 2000 Matthew Miller <[email protected]>
- updated to 0.995
- better make process
* Mon Oct 2 2000 Matthew Miller <[email protected]>
- updated to 0.99 :)
* Mon Oct 2 2000 Matthew Miller <[email protected]>
- updated to 0.98
* Fri Sep 15 2000 Matthew Miller <[email protected]>
- first package