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