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