File: gtkballs.spec

package info (click to toggle)
gtkballs 3.1.5-11
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 5,864 kB
  • ctags: 400
  • sloc: sh: 8,672; ansic: 3,508; makefile: 70
file content (148 lines) | stat: -rw-r--r-- 4,167 bytes parent folder | download | duplicates (8)
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
Name: gtkballs
Version: 3.1.5
Release: alt1

Summary: A simple logic game
License: GPL
Group: Games/Puzzles

Url: http://gtkballs.antex.ru
Source0: %name-%version.tar.gz

Packager: Sergey Pinaev <dfo@altlinux.ru>

Summary(fr): Un simple jeu de logique
Summary(ru_RU.KOI8-R):     
Summary(uk_UA.KOI8-U):   æ Ǧ 

# Automatically added by buildreq on Fri Jan 23 2004
BuildRequires: XFree86-libs fontconfig freetype2 glib2-devel libatk-devel libgtk+2-devel libpango-devel pkgconfig

%description
GtkBalls is a simple logic game. The goal of
the game is to make the maximum number of lines
with balls of the same color. A line is made of
five balls. Each time you don't do a line, extra
balls appear on the grid. You loose when the
grid is full.

%description -l fr
GtkBalls est un simple jeu de logique. Le but du
jeu est de faire le nombre maximum de lignes avec
des balles de la mme couleur. Une ligne est
constitue de cinq balles. A chaque fois que vous
ne faites pas une ligne, des balles suplmentaires
apparaissent sur la grille. Vous perdez lorsque
la grille est pleine.

%description -l ru_RU.KOI8-R
GtkBalls --    .  
 --     
  .    
    -- 5 .    
   ,    
  .   ,
        .

%description -l uk_UA.KOI8-U
GtkBalls --  Ǧ , æ ϧ -- 
  ϧ    
.  Φ  ̦Φ,   
 -- 5 .      ̦Φ  Ȧ,
    ' צ .
 ˦դ,    ͦ 
 .

%prep
%setup -q

%build
unset CC CXX
#export CFLAGS="$RPM_OPT_FLAGS"
%configure \
	--datadir=%_datadir \
	--localstatedir=%_localstatedir/games \
	--bindir=%_gamesbindir
%make_build

%install
%makeinstall \
	datadir=%buildroot%_datadir \
	localstatedir=%buildroot%_localstatedir/games \
	bindir=%buildroot%_gamesbindir
%__mkdir_p %buildroot%_menudir
%__cat << EOF >%buildroot%_menudir/%name
?package(%name):command="%_gamesbindir/%name" icon="%name.xpm" \
needs="x11" section="Amusement/Puzzles" title="GTK Balls" \
longtitle="A simple logic game"
EOF

%find_lang %name

%files -f %name.lang
%attr(2711, root, games)%_gamesbindir/*
#%attr(-, games, games) %_localstatedir/*/*
%_datadir/%name
%_menudir/%name
%_man6dir/*
#%_miconsdir/*.xpm
#%_iconsdir/*.xpm

%post
if [ ! -f %_localstatedir/games/gtkballs-scores ]; then
	touch %_localstatedir/games/gtkballs-scores
fi
%__chgrp games %_localstatedir/games/gtkballs-scores
%__chmod 0664 %_localstatedir/games/gtkballs-scores
%update_menus

%postun
%clean_menus

%changelog
* Tue Nov 16 2004 drF_ckoff <dfo@altlinux.ru> 3.1.5-alt1
- New version

* Tue Oct 26 2004 drF_ckoff <dfo@altlinux.ru> 3.1.4-alt1
- New version

* Fri Jul  2 2004 drF_ckoff <dfo@altlinux.ru> 3.1.3-alt2
- Menu entry changed from Amusement/Strategy to Amusement/Puzzles

* Wed May 26 2004 drF_ckoff <dfo@altlinux.ru> 3.1.3-alt1
- New version

* Fri Feb  6 2004 drF_ckoff <dfo@altlinux.ru> 3.1.2-alt1
- New version

* Fri Feb  6 2004 drF_ckoff <dfo@altlinux.ru> 3.1.1-alt1
- New version

* Mon Feb  2 2004 drF_ckoff <dfo@altlinux.ru> 3.1.0-alt5
- build fixes

* Fri Jan 30 2004 drF_ckoff <dfo@altlinux.ru> 3.1.0-alt4
- hasher build fixes

* Thu Jan 29 2004 drF_ckoff <dfo@altlinux.ru> 3.1.0-alt3
- changed @antex.ru to @altlinux.ru to make stupid hasher happy

* Wed Jan 28 2004 drF_ckoff <dfo@antex.ru> 3.1.0-alt2
- small compilation and .spec fixed

* Thu Jan 22 2004 drF_ckoff <dfo@antex.ru> 3.1.0-alt1
- 3.1.0
- fix scorefile installation

* Mon Feb 11 2002 Rider <rider@altlinux.ru> 2.1.1-alt1
- 2.1.1
- specfile cleanup

* Sun Oct 14 2001 Rider <rider@altlinux.ru> 2.0-alt1
- first build for ALT Linux

* Wed Sep  1 1999 Eugene Morozov <jmv@lucifer.dorms.spbu.ru>
- Changed my Email address because I check yahoo mail seldom.
  Added installation of gnome icon.
  Fixed several bugs in the spec file.