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