]> git.pld-linux.org Git - packages/gnome-chess.git/blob - gnome-chess.spec
de1526433421e6bc0df0463a3df1c3c86fd842a3
[packages/gnome-chess.git] / gnome-chess.spec
1 Summary:        GNOME chess - graphical chess interface
2 Summary(pl.UTF-8):      GNOME chess - graficzny interfejs do programów szachowych
3 Name:           gnome-chess
4 Version:        0.4.0
5 Release:        0.1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-chess/0.4/%{name}-%{version}.tar.bz2
9 # Source0-md5:  c754bb9686d99fc0c038754963c3fea4
10 Patch0:         %{name}-desktop.patch
11 URL:            http://primates.ximian.com/~jpr/gnome-chess/
12 BuildRequires:  GConf2-devel >= 2.2.0
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  flex
16 BuildRequires:  gettext-devel
17 BuildRequires:  gtk+2-devel >= 1:2.0.5
18 BuildRequires:  intltool
19 BuildRequires:  libglade2-devel >= 1:2.0.0
20 BuildRequires:  libgnomecanvas-devel >= 2.0.0
21 BuildRequires:  libgnomeui-devel >= 2.0.0
22 BuildRequires:  libtool
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpmbuild(macros) >= 1.198
25 #BuildRequires: scrollkeeper
26 BuildRequires:  vte-devel >= 0.10.15
27 Requires(post,postun):  GConf2 >= 2.2.0
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 GNOME Chess is part of the GNOME project and is a graphical chess
32 interface. It can provide and interface to GNU Chess, Crafty, chess
33 servers and PGN files.
34
35 %description -l pl.UTF-8
36 GNOME Chess to graficzny interfejs do programów szachowych. Działa z
37 programami GNU Chess i Crafty, obsługuje serwery szachowe i plik PGN.
38 GNOME Chess jest częścią projektu GNOME.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43
44 %build
45 %{__intltoolize}
46 %{__glib_gettextize}
47 %{__libtoolize}
48 %{__aclocal}
49 %{__autoconf}
50 %{__autoheader}
51 %{__automake}
52 %configure
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 rm -r $RPM_BUILD_ROOT%{_datadir}/mime-info
62 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{no,nb}
63
64 %find_lang %{name}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post
70 %gconf_schema_install gnome-chess.schemas
71
72 %postun
73 %gconf_schema_uninstall gnome-chess.schemas
74
75 %files -f %{name}.lang
76 %defattr(644,root,root,755)
77 %doc AUTHORS ChangeLog NEWS README TODO
78 %attr(755,root,root) %{_bindir}/gnome-chess
79 %{_datadir}/gnome-chess
80 %{_sysconfdir}/gconf/schemas/gnome-chess.schemas
81 %{_pixmapsdir}/gnome-chess.png
82 %{_pixmapsdir}/gnome-chess
83 %{_desktopdir}/gnome-chess.desktop
84 # temporarily disabled
85 #%{_omf_dest_dir}/%{name}
This page took 0.029823 seconds and 2 git commands to generate.