SPECS: csboard.spec (NEW) - initial pld release

jareq jareq at pld-linux.org
Fri Oct 13 19:16:15 CEST 2006


Author: jareq                        Date: Fri Oct 13 17:16:15 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial pld release

---- Files affected:
SPECS:
   csboard.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/csboard.spec
diff -u /dev/null SPECS/csboard.spec:1.1
--- /dev/null	Fri Oct 13 19:16:15 2006
+++ SPECS/csboard.spec	Fri Oct 13 19:16:09 2006
@@ -0,0 +1,95 @@
+# $Revision$, $Date$
+Summary:	CSBoard is a small GUI for gnuchess
+Summary(pl):	CSBoard jest małym frontendem do gnuchess
+Name:		csboard
+Version:	0.6
+Release:	1
+License:	GPL
+Group:		X11/Applications/Games
+Source0:	http://download.berlios.de/csboard/%{name}-%{version}.tar.gz
+# Source0-md5:	2c02bca491192be19273266781b6f18b
+Source1:	%{name}.desktop
+Patch0:		%{name}-mono.patch
+URL:		http://csboard.berlios.de/
+BuildRequires:	dotnet-gnome-sharp-devel
+BuildRequires:	scrollkeeper
+Requires(post,postun):	desktop-file-utils
+Requires(post,postun):	scrollkeeper
+Requires(post,preun):	GConf2
+Requires:	gnuchess
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+CSBoard is a small GUI for gnuchess. It is written in C# and uses mono
+and gtk-sharp. It is simple, but allows you just play chess with SVG
+graphics and native look and desktop theme usage.
+
+CSBoard use gnuchess as playing engine, but you can also play with
+crafty of phalanx.
+
+%description -l pl
+CSBoard jest małym frontendem do gnuchess. Został napisany w języku C#
+i wykorzystuje mono i bibliotekę gtk-sharp. Jest prosty, ale pozwala
+na grę w szachy wykorzystując grafikę wektorową SVG,
+
+%prep
+%setup -q
+%patch0 -p0
+
+%build
+%configure \
+	--disable-schemas-install \
+	--disable-scrollkeeper
+%{__make}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+cp -f data/csboard.png  $RPM_BUILD_ROOT%{_pixmapsdir}
+
+%find_lang %{name} --all-name --with-gnome
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%gconf_schema_install csboard.schemas
+%scrollkeeper_update_post
+%update_desktop_database_post
+
+%postun
+%scrollkeeper_update_postun
+%update_desktop_database_postun
+
+%preun
+%gconf_schema_uninstall csboard.schemas
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/csboard
+%dir %{_datadir}/csboard
+%dir %{_datadir}/csboard/images
+%dir %{_datadir}/csboard/resource
+%{_datadir}/csboard/csboard.exe
+%{_datadir}/csboard/images/*
+%{_datadir}/csboard/resource/*
+%{_desktopdir}/*
+%{_omf_dest_dir}/%{name}
+%{_pixmapsdir}/*
+%{_sysconfdir}/gconf/schemas/csboard.schemas
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/10/13 17:16:09  jareq
+- initial pld release
+
================================================================


More information about the pld-cvs-commit mailing list