]> git.pld-linux.org Git - packages/gnome-games.git/blob - gnome-games.spec
-updated to 1.2.0
[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.2.0
8 Release:        1
9 License:        LGPL
10 Group:          X11/GNOME
11 Group(pl):      X11/GNOME
12 Source0:        ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnome-games/%{name}-%{version}.tar.gz
13 Patch0:         gnome-games-applnk.patch
14 Icon:           gnome-games.gif
15 BuildRequires:  gnome-libs-devel >= 1.0.0
16 BuildRequires:  ORBit >= 0.4.3
17 BuildRequires:  audiofile-devel >= 0.1.5
18 BuildRequires:  gtk+-devel >= 1.2.0
19 BuildRequires:  guile-devel >= 1.3
20 BuildRequires:  esound-devel >= 0.2.7
21 BuildRequires:  readline-devel
22 BuildRequires:  ncurses-devel >= 5.0
23 URL:            http://www.gnome.org/
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Obsoletes:      gnome
26
27 %define         _prefix         /usr/X11R6
28 %define         _sysconfdir     /etc/X11/GNOME
29 %define         _localstatedir  /var
30
31 %description
32 GNOME games.
33
34 GNOME is the GNU Network Object Model Environment. That's a fancy name
35 but really GNOME is a nice GUI desktop environment. It makes using
36 your computer easy, powerful, and easy to configure.
37
38 %description -l pl
39 Gry pod GNOME.
40
41 %package devel
42 Summary:        GNOME games libraries - header files
43 Summary(pl):    Pliki nag³ówkowedo tworzenia programów opartych o GNOME games
44 Group:          X11/GNOME/Development/Libraries
45 Group(pl):      X11/GNOME/Programowanie/Biblioteki
46 Requires:       %{name} = %{version}
47 Requires:       gtk+-devel
48
49 %description devel
50 GNOME games libraries - header files.
51
52 Right now this is just stuff to develop care games. I think.
53
54 %description -l pl devel
55 Pliki nag³ówkowedo tworzenia programów opartych o GNOME games.
56
57 %package static
58 Summary:        GNOME games static libraries
59 Summary(pl):    Biblioteki statyczne do GNOME games
60 Group:          X11/GNOME/Development/Libraries
61 Group(pl):      X11/GNOME/Programowanie/Biblioteki
62 Requires:       %{name}-devel = %{version}
63
64 %description static
65 GNOME games static libraries.
66
67 %description static
68 Biblioteki statyczne do GNOME games
69
70 %prep
71 %setup -q
72 %patch -p1
73
74 %build
75 gettextize --copy --force
76 automake
77 autoconf
78 LDFLAGS="-s"; export LDFLAGS
79 %configure 
80
81 make
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 make install DESTDIR=$RPM_BUILD_ROOT
87
88 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.* \
89         $RPM_BUILD_ROOT%{_libdir}/gnome-stones/objects/lib*.so*
90
91 gzip -9nf AUTHORS ChangeLog NEWS README
92
93 %find_lang %{name}
94
95 %post   -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
97
98 %clean
99 rm -rf $RPM_BUILD_ROOT
100
101 %files -f %{name}.lang
102 %defattr(644,root,root,755)
103 %doc AUTHORS.gz ChangeLog.gz NEWS.gz README.gz
104 %config %{_sysconfdir}/sound/events/*
105
106 %attr(755,root,root) %{_bindir}/GnomeScott
107 %attr(755,root,root) %{_bindir}/ctali
108 %attr(755,root,root) %{_bindir}/freecell
109 %attr(755,root,root) %{_bindir}/gataxx
110 %attr(755,root,root) %{_bindir}/sol
111 %attr(2755,root,games) %{_bindir}/glines
112 %attr(2755,root,games) %{_bindir}/gnibbles
113 %attr(2755,root,games) %{_bindir}/gnobots2
114 %attr(2755,root,games) %{_bindir}/gnome-stones
115 %attr(2755,root,games) %{_bindir}/gnome-xbill
116 %attr(2755,root,games) %{_bindir}/gnometris
117 %attr(2755,root,games) %{_bindir}/gnomine
118 %attr(2755,root,games) %{_bindir}/gnotravex
119 %attr(2755,root,games) %{_bindir}/gtali
120 %attr(2755,root,games) %{_bindir}/gturing
121 %attr(2755,root,games) %{_bindir}/iagno
122 %attr(2755,root,games) %{_bindir}/mahjongg
123 %attr(2755,root,games) %{_bindir}/same-gnome
124
125 %attr(755,root,root) %{_libdir}/lib*.so.*.*
126 %dir %{_libdir}/gnome-stones
127 %dir %{_libdir}/gnome-stones/objects
128 %attr(755,root,root) %{_libdir}/gnome-stones/objects/lib*.so*
129 %attr(755,root,root) %{_libdir}/gnome-stones/objects/lib*.la
130
131 %{_datadir}/gnibbles
132 %{_datadir}/gnobots2
133 %{_datadir}/gnome-stones
134 %{_datadir}/gturing
135 %{_datadir}/sol-games
136 %{_datadir}/xbill
137
138 %{_datadir}/mime-info/*
139 %{_datadir}/pixmaps/*
140 %{_datadir}/sounds/*
141
142 %{_datadir}/gnome-stonesrc
143 %lang(ko) %{_datadir}/gnome-stonesrc.ko
144
145 %{_applnkdir}/Games/*.desktop
146
147 %dir %{_datadir}/gnome/help/aisleriot
148 %{_datadir}/gnome/help/aisleriot/C
149
150 %dir %{_datadir}/gnome/help/gnobots2
151 %{_datadir}/gnome/help/gnobots2/C
152 %lang(es) %{_datadir}/gnome/help/gnobots2/es
153 %lang(it) %{_datadir}/gnome/help/gnobots2/it
154
155 %dir %{_datadir}/gnome/help/gtali
156 %{_datadir}/gnome/help/gtali/C
157
158 %dir %{_datadir}/gnome/help/gturing
159 %{_datadir}/gnome/help/gturing/C
160
161 %dir %{_datadir}/gnome/help/samegnome
162 %{_datadir}/gnome/help/samegnome/C
163
164 %attr(664,root,games) %{_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 %attr(755,root,root) %{_libdir}/gnome-stones/objects/lib*.so
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.040673 seconds and 4 git commands to generate.