]> git.pld-linux.org Git - packages/gnome-games.git/blob - gnome-games.spec
- release 3,
[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:        3
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 Patch4:         %{name}-applnk.patch
18 Patch5:         %{name}-fix-help-paths.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.4.1
29 BuildRequires:  libtool
30 BuildRequires:  ncurses-devel >= 5.0
31 BuildRequires:  readline-devel
32 BuildRequires:  scrollkeeper
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 Requires:       %{name} = %{version}
58 Requires:       gtk+-devel
59
60 %description devel
61 GNOME games libraries - header files.
62
63 Right now this is just stuff to develop care games. I think.
64
65 %description devel -l pl
66 Pliki nag³ówkowe do tworzenia programów opartych o GNOME games.
67
68 %package static
69 Summary:        GNOME games static libraries
70 Summary(pl):    Biblioteki statyczne do GNOME games
71 Group:          X11/Development/Libraries
72 Requires:       %{name}-devel = %{version}
73
74 %description static
75 GNOME games static libraries.
76
77 %description static -l pl
78 Biblioteki statyczne do GNOME games.
79
80 %prep
81 %setup -q
82 %patch0 -p1
83 %patch1 -p1
84 %patch2 -p1
85 %patch3 -p1
86 %patch4 -p1
87 %patch5 -p1
88
89 %build
90 rm -f missing
91 libtoolize --copy --force
92 gettextize --copy --force
93 aclocal -I %{_aclocaldir}/gnome
94 %{__autoconf}
95 %{__automake}
96 %configure
97
98 %{__make}
99
100 %install
101 rm -rf $RPM_BUILD_ROOT
102
103 %{__make} install \
104         DESTDIR=$RPM_BUILD_ROOT \
105         omf_dest_dir=%{_omf_dest_dir}/%{name}
106
107 %find_lang %{name} --with-gnome --all-name
108
109 %post
110 /sbin/ldconfig
111 /usr/bin/scrollkeeper-update
112
113 %postun
114 /sbin/ldconfig
115 /usr/bin/scrollkeeper-update
116
117 %clean
118 rm -rf $RPM_BUILD_ROOT
119
120 %files -f %{name}.lang
121 %defattr(644,root,root,755)
122 %doc AUTHORS ChangeLog NEWS README
123 %config %{_sysconfdir}/sound/events/*
124
125 %attr(755,root,root) %{_bindir}/ctali
126 %attr(755,root,root) %{_bindir}/freecell
127 %attr(755,root,root) %{_bindir}/gataxx
128 %attr(755,root,root) %{_bindir}/sol
129 %attr(2755,root,games) %{_bindir}/glines
130 %attr(2755,root,games) %{_bindir}/gnibbles
131 %attr(2755,root,games) %{_bindir}/gnobots2
132 %attr(2755,root,games) %{_bindir}/gnome-stones
133 %attr(2755,root,games) %{_bindir}/gnome-xbill
134 %attr(2755,root,games) %{_bindir}/gnometris
135 %attr(2755,root,games) %{_bindir}/gnomine
136 %attr(2755,root,games) %{_bindir}/gnotravex
137 %attr(2755,root,games) %{_bindir}/gnotski
138 %attr(2755,root,games) %{_bindir}/gtali
139 %attr(2755,root,games) %{_bindir}/iagno
140 %attr(2755,root,games) %{_bindir}/mahjongg
141 %attr(2755,root,games) %{_bindir}/same-gnome
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}/sol-games
153 %{_datadir}/xbill
154
155 %{_datadir}/gnome-stonesrc
156 %lang(ko) %{_datadir}/gnome-stonesrc.ko
157
158 %{_datadir}/mime-info/*
159 %{_pixmapsdir}/*
160 %{_datadir}/sounds/*
161
162 %{_applnkdir}/Games/*.desktop
163 %{_applnkdir}/Games/*/*.desktop
164
165 %{_omf_dest_dir}/%{name}
166 %attr(664,root,games) %ghost %{_localstatedir}/games/*
167
168 %files devel
169 %defattr(644,root,root,755)
170 %attr(755,root,root) %{_libdir}/lib*.so
171 %attr(755,root,root) %{_libdir}/lib*.la
172 %{_includedir}/*
173
174 %files static
175 %defattr(644,root,root,755)
176 %{_libdir}/lib*.a
177 %{_libdir}/gnome-stones/objects/lib*.a
This page took 0.062657 seconds and 4 git commands to generate.