]> git.pld-linux.org Git - packages/csboard.git/blob - csboard.spec
76d99eac55a18311a63cc482b7ab46e36dc0182f
[packages/csboard.git] / csboard.spec
1 Summary:        CSBoard is a small GUI for gnuchess
2 Summary(pl):    CSBoard jest ma³ym frontendem 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 use gnuchess as playing engine, but you can also play with
27 crafty of phalanx.
28
29 %description -l pl
30 CSBoard jest ma³ym frontendem do gnuchess. Zosta³ napisany w jêzyku C#
31 i wykorzystuje mono i bibliotekê gtk-sharp. Jest prosty, ale pozwala
32 na grê w szachy wykorzystuj±c grafikê wektorow± SVG,
33
34 %prep
35 %setup -q
36 %patch0 -p0
37
38 %build
39 %configure \
40         --disable-schemas-install \
41         --disable-scrollkeeper
42 %{__make}
43
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
53 cp -f data/csboard.png  $RPM_BUILD_ROOT%{_pixmapsdir}
54
55 %find_lang %{name} --all-name --with-gnome
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %post
61 %gconf_schema_install csboard.schemas
62 %scrollkeeper_update_post
63 %update_desktop_database_post
64
65 %postun
66 %scrollkeeper_update_postun
67 %update_desktop_database_postun
68
69 %preun
70 %gconf_schema_uninstall csboard.schemas
71
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/csboard
75 %dir %{_datadir}/csboard
76 %dir %{_datadir}/csboard/images
77 %dir %{_datadir}/csboard/resource
78 %{_datadir}/csboard/csboard.exe
79 %{_datadir}/csboard/images/*
80 %{_datadir}/csboard/resource/*
81 %{_desktopdir}/*
82 %{_omf_dest_dir}/%{name}
83 %{_pixmapsdir}/*
84 %{_sysconfdir}/gconf/schemas/csboard.schemas
This page took 0.774138 seconds and 2 git commands to generate.