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