]> git.pld-linux.org Git - packages/gnome-games.git/blob - gnome-games.spec
- %{_localstatedir}/games/* marked as %ghost.
[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 Icon:           gnome-games.gif
19 BuildRequires:  ORBit >= 0.4.3
20 BuildRequires:  audiofile-devel >= 0.1.5
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  esound-devel >= 0.2.7
24 BuildRequires:  gettext-devel
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 %define         _omf_dest_dir   %(scrollkeeper-config --omfdir)
42
43 %description
44 GNOME games.
45
46 GNOME is the GNU Network Object Model Environment. That's a fancy name
47 but really GNOME is a nice GUI desktop environment. It makes using
48 your computer easy, powerful, and easy to configure.
49
50 %description -l pl
51 Gry pod GNOME.
52
53 %package devel
54 Summary:        GNOME games libraries - header files
55 Summary(pl):    Pliki nag³ówkowe do tworzenia programów opartych o GNOME games
56 Group:          X11/Development/Libraries
57 Group(de):      X11/Entwicklung/Libraries
58 Group(pl):      X11/Programowanie/Biblioteki
59 Requires:       %{name} = %{version}
60 Requires:       gtk+-devel
61
62 %description devel
63 GNOME games libraries - header files.
64
65 Right now this is just stuff to develop care games. I think.
66
67 %description devel -l pl
68 Pliki nag³ówkowe do tworzenia programów opartych o GNOME games.
69
70 %package static
71 Summary:        GNOME games static libraries
72 Summary(pl):    Biblioteki statyczne do GNOME games
73 Group:          X11/Development/Libraries
74 Group(de):      X11/Entwicklung/Libraries
75 Group(pl):      X11/Programowanie/Biblioteki
76 Requires:       %{name}-devel = %{version}
77
78 %description static
79 GNOME games static libraries.
80
81 %description static -l pl
82 Biblioteki statyczne do GNOME games.
83
84 %prep
85 %setup -q
86 %patch0 -p1
87 %patch1 -p1
88 %patch2 -p1
89
90 %build
91 rm -f missing
92 libtoolize --copy --force
93 gettextize --copy --force
94 aclocal -I %{_aclocaldir}/gnome
95 autoconf
96 automake -a -c
97 %configure
98
99 %{__make}
100
101 %install
102 rm -rf $RPM_BUILD_ROOT
103
104 %{__make} install \
105         DESTDIR=$RPM_BUILD_ROOT \
106         Gamesdir=%{_applnkdir}/Games \
107         omf_dest_dir=%{_omf_dest_dir}/omf/%{name}
108
109 gzip -9nf AUTHORS ChangeLog NEWS README
110
111 %find_lang %{name} --with-gnome --all-name
112
113 %post
114 /sbin/ldconfig
115 /usr/bin/scrollkeeper-update
116
117 %postun
118 /sbin/ldconfig
119 /usr/bin/scrollkeeper-update
120
121 %clean
122 rm -rf $RPM_BUILD_ROOT
123
124 %files -f %{name}.lang
125 %defattr(644,root,root,755)
126 %doc *.gz
127 %config %{_sysconfdir}/sound/events/*
128
129 %attr(755,root,root) %{_bindir}/ctali
130 %attr(755,root,root) %{_bindir}/freecell
131 %attr(755,root,root) %{_bindir}/gataxx
132 %attr(755,root,root) %{_bindir}/sol
133 %attr(2755,root,games) %{_bindir}/glines
134 %attr(2755,root,games) %{_bindir}/gnibbles
135 %attr(2755,root,games) %{_bindir}/gnobots2
136 %attr(2755,root,games) %{_bindir}/gnome-stones
137 %attr(2755,root,games) %{_bindir}/gnome-xbill
138 %attr(2755,root,games) %{_bindir}/gnometris
139 %attr(2755,root,games) %{_bindir}/gnomine
140 %attr(2755,root,games) %{_bindir}/gnotravex
141 %attr(2755,root,games) %{_bindir}/gnotski
142 %attr(2755,root,games) %{_bindir}/gtali
143 %attr(2755,root,games) %{_bindir}/iagno
144 %attr(2755,root,games) %{_bindir}/mahjongg
145 %attr(2755,root,games) %{_bindir}/same-gnome
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}/sol-games
157 %{_datadir}/xbill
158
159 %{_datadir}/gnome-stonesrc
160 %lang(ko) %{_datadir}/gnome-stonesrc.ko
161
162 %{_datadir}/mime-info/*
163 %{_pixmapsdir}/*
164 %{_datadir}/sounds/*
165
166 %{_applnkdir}/Games/*.desktop
167
168 %{_omf_dest_dir}/omf/%{name}
169 %attr(664,root,games) %ghost %{_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.09533 seconds and 4 git commands to generate.