]> git.pld-linux.org Git - packages/csboard.git/blob - csboard.spec
- missing Comment added
[packages/csboard.git] / csboard.spec
1 Summary:        CSBoard - a small GUI for gnuchess
2 Summary(pl.UTF-8):      CSBoard - mały frontend do gnuchess
3 Name:           csboard
4 Version:        0.6
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://download.berlios.de/csboard/%{name}-%{version}.tar.gz
9 # Source0-md5:  2c02bca491192be19273266781b6f18b
10 Source1:        %{name}.desktop
11 Patch0:         %{name}-mono.patch
12 URL:            http://csboard.berlios.de/
13 BuildRequires:  dotnet-gnome-sharp-devel
14 BuildRequires:  scrollkeeper
15 Requires(post,postun):  desktop-file-utils
16 Requires(post,postun):  scrollkeeper
17 Requires(post,preun):   GConf2
18 Requires:       gnuchess
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 CSBoard is a small GUI for gnuchess. It is written in C# and uses mono
23 and gtk-sharp. It is simple, but allows you just play chess with SVG
24 graphics and native look and desktop theme usage.
25
26 CSBoard uses gnuchess as playing engine, but you can also play with
27 crafty of phalanx.
28
29 %description -l pl.UTF-8
30 CSBoard jest małym frontendem do gnuchess. Został napisany w języku C#
31 i wykorzystuje mono oraz bibliotekę gtk-sharp. Jest prosty, ale
32 pozwala na grę w szachy z wykorzystaniem grafiki wektorowej SVG i
33 natywnym wyglądem oraz użyciem motywu pulpitu.
34
35 CSBoard jako silnik gry wykorzystuje gnuchess, ale można grać także
36 przy użyciu crafty of phalanx.
37
38 %prep
39 %setup -q
40 %patch0 -p0
41
42 %build
43 %configure \
44         --disable-schemas-install \
45         --disable-scrollkeeper
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
56 cp -f data/csboard.png  $RPM_BUILD_ROOT%{_pixmapsdir}
57
58 %find_lang %{name} --all-name --with-gnome
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %post
64 %gconf_schema_install csboard.schemas
65 %scrollkeeper_update_post
66 %update_desktop_database_post
67
68 %postun
69 %scrollkeeper_update_postun
70 %update_desktop_database_postun
71
72 %preun
73 %gconf_schema_uninstall csboard.schemas
74
75 %files -f %{name}.lang
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_bindir}/csboard
78 %dir %{_datadir}/csboard
79 %dir %{_datadir}/csboard/images
80 %dir %{_datadir}/csboard/resource
81 %{_datadir}/csboard/csboard.exe
82 %{_datadir}/csboard/images/*
83 %{_datadir}/csboard/resource/*
84 %{_desktopdir}/*.desktop
85 %{_omf_dest_dir}/%{name}
86 %{_pixmapsdir}/*
87 %{_sysconfdir}/gconf/schemas/csboard.schemas
This page took 0.101698 seconds and 3 git commands to generate.