]> git.pld-linux.org Git - packages/gnome-games.git/blob - gnome-games.spec
- bump release to 2.
[packages/gnome-games.git] / gnome-games.spec
1 Summary:        GNOME games
2 Summary(es):    Juegos de GNOME
3 Summary(fr):    Jeux pour GNOME
4 Summary(pl):    GNOME - Gry
5 Summary(wa):    Djeus po GNOME
6 Name:           gnome-games
7 Version:        1.4.0.1
8 Release:        2
9 Epoch:          1
10 License:        LGPL
11 Group:          X11/Applications
12 Group(de):      X11/Applikationen
13 Group(pl):      X11/Aplikacje
14 Source0:        ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnome-games/%{name}-%{version}.tar.gz
15 Patch0:         %{name}-DESTDIR.patch
16 Patch1:         %{name}-scrollkeeper.patch
17 Patch2:         %{name}-use_AM_GNU_GETTEXT.patch
18 Icon:           gnome-games.gif
19 BuildRequires:  ORBit >= 0.4.3
20 BuildRequires:  audiofile-devel >= 0.1.5
21 BuildRequires:  automake
22 BuildRequires:  autoconf
23 BuildRequires:  gettext-devel
24 BuildRequires:  esound-devel >= 0.2.7
25 BuildRequires:  gnome-libs-devel >= 1.2.13
26 BuildRequires:  gtk+-devel >= 1.2.0
27 BuildRequires:  guile-devel >= 1.3
28 BuildRequires:  ncurses-devel >= 5.0
29 BuildRequires:  readline-devel
30 BuildRequires:  scrollkeeper
31 Prereq:         /sbin/ldconfig
32 Prereq:         scrollkeeper
33 URL:            http://www.gnome.org/
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 Obsoletes:      gnome
36
37 %define         _prefix         /usr/X11R6
38 %define         _sysconfdir     /etc/X11/GNOME
39 %define         _localstatedir  /var
40
41 %description
42 GNOME games.
43
44 GNOME is the GNU Network Object Model Environment. That's a fancy name
45 but really GNOME is a nice GUI desktop environment. It makes using
46 your computer easy, powerful, and easy to configure.
47
48 %description -l pl
49 Gry pod GNOME.
50
51 %package devel
52 Summary:        GNOME games libraries - header files
53 Summary(pl):    Pliki nag³ówkowedo tworzenia programów opartych o GNOME games
54 Group:          X11/Development/Libraries
55 Group(de):      X11/Entwicklung/Libraries
56 Group(pl):      X11/Programowanie/Biblioteki
57 Requires:       %{name} = %{version}
58 Requires:       gtk+-devel
59
60 %description devel
61 GNOME games libraries - header files.
62
63 Right now this is just stuff to develop care games. I think.
64
65 %description -l pl devel
66 Pliki nag³ówkowedo tworzenia programów opartych o GNOME games.
67
68 %package static
69 Summary:        GNOME games static libraries
70 Summary(pl):    Biblioteki statyczne do GNOME games
71 Group:          X11/Development/Libraries
72 Group(de):      X11/Entwicklung/Libraries
73 Group(pl):      X11/Programowanie/Biblioteki
74 Requires:       %{name}-devel = %{version}
75
76 %description static
77 GNOME games static libraries.
78
79 %description static
80 Biblioteki statyczne do GNOME games.
81
82 %prep
83 %setup -q
84 %patch0 -p1
85 %patch1 -p1
86 %patch2 -p1
87
88 %build
89 gettextize --copy --force
90 automake -a -c
91 aclocal -I %{_aclocaldir}/gnome
92 autoconf
93 %configure 
94
95 %{__make}
96
97 %install
98 rm -rf $RPM_BUILD_ROOT
99
100 %{__make} install \
101         DESTDIR=$RPM_BUILD_ROOT \
102         Gamesdir=%{_applnkdir}/Games
103
104 gzip -9nf AUTHORS ChangeLog NEWS README
105
106 %find_lang %{name} --with-gnome --all-name
107
108 %post
109 /sbin/ldconfig
110 /usr/bin/scrollkeeper-update
111
112 %postun
113 /sbin/ldconfig
114 /usr/bin/scrollkeeper-update
115
116 %clean
117 rm -rf $RPM_BUILD_ROOT
118
119 %files -f %{name}.lang
120 %defattr(644,root,root,755)
121 %doc *.gz
122 %config %{_sysconfdir}/sound/events/*
123
124 %attr(755,root,root) %{_bindir}/GnomeScott
125 %attr(755,root,root) %{_bindir}/ctali
126 %attr(755,root,root) %{_bindir}/freecell
127 %attr(755,root,root) %{_bindir}/gataxx
128 %attr(755,root,root) %{_bindir}/sol
129 %attr(2755,root,games) %{_bindir}/glines
130 %attr(2755,root,games) %{_bindir}/gnibbles
131 %attr(2755,root,games) %{_bindir}/gnobots2
132 %attr(2755,root,games) %{_bindir}/gnome-stones
133 %attr(2755,root,games) %{_bindir}/gnome-xbill
134 %attr(2755,root,games) %{_bindir}/gnometris
135 %attr(2755,root,games) %{_bindir}/gnomine
136 %attr(2755,root,games) %{_bindir}/gnotravex
137 %attr(2755,root,games) %{_bindir}/gnotski
138 %attr(2755,root,games) %{_bindir}/gtali
139 %attr(2755,root,games) %{_bindir}/gturing
140 %attr(2755,root,games) %{_bindir}/iagno
141 %attr(2755,root,games) %{_bindir}/mahjongg
142 %attr(2755,root,games) %{_bindir}/same-gnome
143
144
145 %attr(755,root,root) %{_libdir}/lib*.so.*.*
146 %dir %{_libdir}/gnome-stones
147 %dir %{_libdir}/gnome-stones/objects
148 %attr(755,root,root) %{_libdir}/gnome-stones/objects/lib*.so*
149 %attr(755,root,root) %{_libdir}/gnome-stones/objects/lib*.la
150
151 %{_datadir}/gnibbles
152 %{_datadir}/gnobots2
153 %{_datadir}/gnome-stones
154 %{_datadir}/gturing
155 %{_datadir}/sol-games
156 %{_datadir}/xbill
157
158 %{_datadir}/gnome-stonesrc
159 %lang(ko) %{_datadir}/gnome-stonesrc.ko
160
161 %{_datadir}/mime-info/*
162 %{_pixmapsdir}/*
163 %{_datadir}/sounds/*
164
165 %{_applnkdir}/Games/*.desktop
166
167 %attr(664,root,games) %{_localstatedir}/games/*
168
169 %files devel
170 %defattr(644,root,root,755)
171 %attr(755,root,root) %{_libdir}/lib*.so
172 %attr(755,root,root) %{_libdir}/lib*.la
173 %{_includedir}/*
174
175 %files static
176 %defattr(644,root,root,755)
177 %{_libdir}/lib*.a
178 %{_libdir}/gnome-stones/objects/lib*.a
This page took 0.065689 seconds and 4 git commands to generate.