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