]> git.pld-linux.org Git - packages/gnome-games.git/blob - gnome-games.spec
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
[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:        2
9 Epoch:          1
10 License:        LGPL
11 Group:          X11/Applications/Games
12 Source0:        ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnome-games/%{name}-%{version}.tar.gz
13 Patch0:         %{name}-DESTDIR.patch
14 Patch1:         %{name}-scrollkeeper.patch
15 Patch2:         %{name}-ac_fix.patch
16 Patch3:         %{name}-pixbuf_cflags.patch
17 Icon:           gnome-games.gif
18 BuildRequires:  ORBit >= 0.4.3
19 BuildRequires:  audiofile-devel >= 0.1.5
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  esound-devel >= 0.2.7
23 BuildRequires:  gettext-devel
24 BuildRequires:  gnome-libs-devel >= 1.2.13
25 BuildRequires:  gtk+-devel >= 1.2.0
26 BuildRequires:  guile-devel >= 1.3
27 BuildRequires:  libtool
28 BuildRequires:  ncurses-devel >= 5.0
29 BuildRequires:  readline-devel
30 BuildRequires:  scrollkeeper
31 PreReq:         scrollkeeper
32 URL:            http://www.gnome.org/
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 Obsoletes:      gnome
35
36 %define         _prefix         /usr/X11R6
37 %define         _sysconfdir     /etc/X11/GNOME
38 %define         _localstatedir  /var
39 %define         _omf_dest_dir   %(scrollkeeper-config --omfdir)
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³ówkowe do tworzenia programów opartych o GNOME games
54 Group:          X11/Development/Libraries
55 Requires:       %{name} = %{version}
56 Requires:       gtk+-devel
57
58 %description devel
59 GNOME games libraries - header files.
60
61 Right now this is just stuff to develop care games. I think.
62
63 %description devel -l pl
64 Pliki nag³ówkowe do tworzenia programów opartych o GNOME games.
65
66 %package static
67 Summary:        GNOME games static libraries
68 Summary(pl):    Biblioteki statyczne do GNOME games
69 Group:          X11/Development/Libraries
70 Requires:       %{name}-devel = %{version}
71
72 %description static
73 GNOME games static libraries.
74
75 %description static -l pl
76 Biblioteki statyczne do GNOME games.
77
78 %prep
79 %setup -q
80 %patch0 -p1
81 %patch1 -p1
82 %patch2 -p1
83 %patch3 -p1
84
85 %build
86 rm -f missing
87 libtoolize --copy --force
88 gettextize --copy --force
89 aclocal -I %{_aclocaldir}/gnome
90 %{__autoconf}
91 %{__automake}
92 %configure
93
94 %{__make}
95
96 %install
97 rm -rf $RPM_BUILD_ROOT
98
99 %{__make} install \
100         DESTDIR=$RPM_BUILD_ROOT \
101         Gamesdir=%{_applnkdir}/Games \
102         omf_dest_dir=%{_omf_dest_dir}/%{name}
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}/ctali
125 %attr(755,root,root) %{_bindir}/freecell
126 %attr(755,root,root) %{_bindir}/gataxx
127 %attr(755,root,root) %{_bindir}/sol
128 %attr(2755,root,games) %{_bindir}/glines
129 %attr(2755,root,games) %{_bindir}/gnibbles
130 %attr(2755,root,games) %{_bindir}/gnobots2
131 %attr(2755,root,games) %{_bindir}/gnome-stones
132 %attr(2755,root,games) %{_bindir}/gnome-xbill
133 %attr(2755,root,games) %{_bindir}/gnometris
134 %attr(2755,root,games) %{_bindir}/gnomine
135 %attr(2755,root,games) %{_bindir}/gnotravex
136 %attr(2755,root,games) %{_bindir}/gnotski
137 %attr(2755,root,games) %{_bindir}/gtali
138 %attr(2755,root,games) %{_bindir}/iagno
139 %attr(2755,root,games) %{_bindir}/mahjongg
140 %attr(2755,root,games) %{_bindir}/same-gnome
141
142 %attr(755,root,root) %{_libdir}/lib*.so.*.*
143 %dir %{_libdir}/gnome-stones
144 %dir %{_libdir}/gnome-stones/objects
145 %attr(755,root,root) %{_libdir}/gnome-stones/objects/lib*.so*
146 %attr(755,root,root) %{_libdir}/gnome-stones/objects/lib*.la
147
148 %{_datadir}/gnibbles
149 %{_datadir}/gnobots2
150 %{_datadir}/gnome-stones
151 %{_datadir}/sol-games
152 %{_datadir}/xbill
153
154 %{_datadir}/gnome-stonesrc
155 %lang(ko) %{_datadir}/gnome-stonesrc.ko
156
157 %{_datadir}/mime-info/*
158 %{_pixmapsdir}/*
159 %{_datadir}/sounds/*
160
161 %{_applnkdir}/Games/*.desktop
162
163 %{_omf_dest_dir}/%{name}
164 %attr(664,root,games) %ghost %{_localstatedir}/games/*
165
166 %files devel
167 %defattr(644,root,root,755)
168 %attr(755,root,root) %{_libdir}/lib*.so
169 %attr(755,root,root) %{_libdir}/lib*.la
170 %{_includedir}/*
171
172 %files static
173 %defattr(644,root,root,755)
174 %{_libdir}/lib*.a
175 %{_libdir}/gnome-stones/objects/lib*.a
This page took 1.018404 seconds and 4 git commands to generate.