]> git.pld-linux.org Git - packages/gnome-games.git/blob - gnome-games.spec
- unifited using %find_lang macro to scheme:
[packages/gnome-games.git] / gnome-games.spec
1 Summary:        GNOME games
2 Summary(pl):    GNOME - Gry
3 Name:           gnome-games
4 Version:        1.0.2
5 Release:        1
6 Copyright:      LGPL
7 Group:          X11/GNOME
8 Group(pl):      X11/GNOME
9 Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{name}-%{version}.tar.gz
10 Icon:           gnome-games.gif
11 Requires:       gnome-libs >= 1.0.0, ORBit >= 0.4.3, libaudiofile >= 0.1.5
12 Requires:       glib >= 1.2.0, gtk+ >= 1.2.0, guile >= 1.3, esound >= 0.2.7
13 BuildPrereq:    gnome-libs-devel
14 URL:            http://www.gnome.org
15 BuildRoot:      /tmp/%{name}-%{version}-root
16 Obsoletes:      gnome
17
18 %description
19 GNOME games.
20
21 GNOME is the GNU Network Object Model Environment.  That's a fancy
22 name but really GNOME is a nice GUI desktop environment.  It makes
23 using your computer easy, powerful, and easy to configure.
24
25 %description -l pl
26 Gry pod GNOME.
27
28 %package devel
29 Summary:        GNOME games libraries - header files
30 Summary(pl):    Pliki nag³ówkowedo tworzenia programów opartych o GNOME games
31 Group:          X11/GNOME/Development/Libraries
32 Group(pl):      X11/GNOME/Programowanie/Biblioteki
33 Requires:       %{name} = %{version}
34
35 %description devel
36 GNOME games libraries - header files.
37
38 Right now this is just stuff to develop care games. I think.
39
40 %description -l pl devel
41 Pliki nag³ówkowedo tworzenia programów opartych o GNOME games.
42
43 %package static
44 Summary:        GNOME games static libraries
45 Summary(pl):    Biblioteki statyczne do GNOME games
46 Group:          X11/GNOME/Development/Libraries
47 Group(pl):      X11/GNOME/Programowanie/Biblioteki
48 Requires:       %{name}-devel = %{version}
49
50 %description static
51 GNOME games static libraries.
52
53 %description static
54 Biblioteki statyczne do GNOME games
55
56 %prep
57 %setup -q
58
59 %build
60 autoconf
61 gettextize --copy --force
62 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
63 ./configure %{_target_platform} \
64         --prefix=/usr/X11R6 \
65         --sysconfdir=/etc/X11/GNOME \
66         --localstatedir=/var
67
68 make
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 make install DESTDIR=$RPM_BUILD_ROOT \
74         localstatedir=$RPM_BUILD_ROOT/var \
75         same_gnome_helpdir=$RPM_BUILD_ROOT/usr/X11R6/share/gnome/help/samegnome/C
76
77 strip $RPM_BUILD_ROOT/usr/X11R6/{bin/*,lib/lib*so.*.*}
78
79 gzip -9nf AUTHORS ChangeLog NEWS README
80
81 %find_lang %{name}
82
83 %post   -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %files -f %{name}.lang
90 %defattr(644,root,root,755)
91 %doc AUTHORS.gz ChangeLog.gz NEWS.gz README.gz
92 %config /etc/X11/GNOME/sound/events/*
93
94 %attr(755,root,  root) /usr/X11R6/bin/GnomeScott
95 %attr(755,root,  root) /usr/X11R6/bin/cyahtzee
96 %attr(755,root,  root) /usr/X11R6/bin/freecell
97 %attr(755,root,  root) /usr/X11R6/bin/sol
98 %attr(2755, games, games) /usr/X11R6/bin/gnobots
99 %attr(2755, games, games) /usr/X11R6/bin/gnome-stones
100 %attr(2755, games, games) /usr/X11R6/bin/gnomine
101 %attr(2755, games, games) /usr/X11R6/bin/gnothello
102 %attr(2755, games, games) /usr/X11R6/bin/gnotravex
103 %attr(2755, games, games) /usr/X11R6/bin/gturing
104 %attr(2755, games, games) /usr/X11R6/bin/gyahtzee
105 %attr(2755, games, games) /usr/X11R6/bin/mahjongg
106 %attr(2755, games, games) /usr/X11R6/bin/same-gnome
107
108 %attr(755,root,  root) /usr/X11R6/lib/lib*.so.*.*
109
110 /usr/X11R6/share/pixmaps/*
111 /usr/X11R6/share/sol-games
112 /usr/X11R6/share/apps/Games/*
113 /usr/X11R6/share/gnome/help/*
114
115 %attr(664, games, games) /var/games/*
116
117 %files devel
118 %defattr(644,root,root,755)
119 %attr(0755,root,  root) /usr/X11R6/lib/lib*.so
120 /usr/X11R6/include/*
121
122 %files static
123 %attr(664,root,root) /usr/X11R6/lib/lib*.a
124
125 %changelog
126 * Wed Jun  9 1999 Jan Rêkorajski <baggins@pld.org.pl>
127   [1.0.2-1]
128 - added find_lang macro
129
130 * Tue Jan 05 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
131   [0.99.1-1]
132 - added LDFLAGS="-s" to ./configure enviroment,
133 - added more Requires,
134 - changed permission to %attr(2755, games, games) on some
135   executables and to %attr(664, games, games) on game score
136   files (/var/games/*),
137 - more locales (fi, pl).
138
139 * Fri Sep 18 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
140   [0.27-3]
141 - added package Icon,
142 - changed prefix to /usr/X11R6.
143
144 * Mon Aug 31 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
145   [0.27-2]
146 - added pl translation.
147
148 * Mon Aug 24 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
149   [0.27-1]
150 - added -q %setup parameter,
151 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
152 - added using %%{name} and %%{version} in Source,
153 - added static subpackage,
154 - changed dependencies to "Requires: %%{name} = %%{version}" in devel
155   subpackage,
156 - added %post{un} with runing /sbin/ldconfig,
157 - added "Requires: gnome-libs >= %%{version}" to main package,
158 - added stripping shared libraries.
159
160 * Mon Mar 16 1998 Marc Ewing <marc@redhat.com>
161 - Integrate into gnome-games CVS source tree
This page took 0.08246 seconds and 4 git commands to generate.