Author: qboosh Date: Wed Sep 5 20:38:25 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - updated to 0.4.0 (switched to GNOME 2.x) - removed outdated patches, updated desktop patch
---- Files affected: SPECS: gnome-chess.spec (1.42 -> 1.43) ---- Diffs: ================================================================ Index: SPECS/gnome-chess.spec diff -u SPECS/gnome-chess.spec:1.42 SPECS/gnome-chess.spec:1.43 --- SPECS/gnome-chess.spec:1.42 Sun Aug 26 20:32:16 2007 +++ SPECS/gnome-chess.spec Wed Sep 5 22:38:20 2007 @@ -1,35 +1,33 @@ # $Revision$, $Date$ -# TODO: update to 0.4.0 Summary: GNOME chess - graphical chess interface Summary(pl.UTF-8): GNOME chess - graficzny interfejs do programów szachowych Name: gnome-chess -Version: 0.3.3 -Release: 8 +Version: 0.4.0 +Release: 0.1 License: GPL v2+ Group: X11/Applications/Games -Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-chess/0.3/%{name}-%{version}.tar.bz2 -# Source0-md5: baca55b944140d7764af88da1167835e -Patch0: %{name}-missing_sgmldocs.make.patch -Patch1: %{name}-quit.patch -Patch2: %{name}-mime.patch -Patch3: %{name}-omf.patch -Patch4: %{name}-desktop.patch +Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-chess/0.4/%{name}-%{version}.tar.bz2 +# Source0-md5: c754bb9686d99fc0c038754963c3fea4 +Patch0: %{name}-desktop.patch URL: http://primates.ximian.com/~jpr/gnome-chess/ +BuildRequires: GConf2-devel >= 2.2.0 BuildRequires: autoconf BuildRequires: automake BuildRequires: flex -BuildRequires: gdk-pixbuf-gnome-devel >= 0.8.0 BuildRequires: gettext-devel -BuildRequires: gnome-libs-devel -BuildRequires: gtk+-devel >= 1.2.0 -BuildRequires: libglade-gnome-devel +BuildRequires: gtk+2-devel >= 1:2.0.5 +BuildRequires: intltool +BuildRequires: libglade2-devel >= 1:2.0.0 +BuildRequires: libgnomecanvas-devel >= 2.0.0 +BuildRequires: libgnomeui-devel >= 2.0.0 BuildRequires: libtool -BuildRequires: libxml-devel -BuildRequires: perl +BuildRequires: pkgconfig +BuildRequires: rpmbuild(macros) >= 1.198 +#BuildRequires: scrollkeeper +BuildRequires: vte-devel >= 0.10.15 +Requires(post,postun): GConf2 >= 2.2.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _omf_dest_dir %(scrollkeeper-config --omfdir) - %description GNOME Chess is part of the GNOME project and is a graphical chess interface. It can provide and interface to GNU Chess, Crafty, chess @@ -43,16 +41,14 @@ %prep %setup -q %patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 %build -rm -f missing -%{__gettextize} -%{__aclocal} -I macros +%{__intltoolize} +%{__glib_gettextize} +%{__libtoolize} +%{__aclocal} %{__autoconf} +%{__autoheader} %{__automake} %configure %{__make} @@ -61,27 +57,33 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ - DESTDIR=$RPM_BUILD_ROOT \ - Gamesdir=%{_applnkdir}/Games/Board \ - omf_dest_dir=%{_omf_dest_dir}/%{name} + DESTDIR=$RPM_BUILD_ROOT + +rm -r $RPM_BUILD_ROOT%{_datadir}/mime-info +mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{no,nb} %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT -%post -p /usr/bin/scrollkeeper-update -%postun -p /usr/bin/scrollkeeper-update +%post +%gconf_schema_install gnome-chess.schemas + +%postun +%gconf_schema_uninstall gnome-chess.schemas %files -f %{name}.lang %defattr(644,root,root,755) -%doc AUTHORS NEWS README TODO -%attr(755,root,root) %{_bindir}/* -%{_pixmapsdir}/* +%doc AUTHORS ChangeLog NEWS README TODO +%attr(755,root,root) %{_bindir}/gnome-chess %{_datadir}/gnome-chess -%{_datadir}/mime-info/* -%{_omf_dest_dir}/%{name} -%{_applnkdir}/Games/Board/* +%{_sysconfdir}/gconf/schemas/gnome-chess.schemas +%{_pixmapsdir}/gnome-chess.png +%{_pixmapsdir}/gnome-chess +%{_desktopdir}/gnome-chess.desktop +# temporarily disabled +#%{_omf_dest_dir}/%{name} %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -89,6 +91,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.43 2007/09/05 20:38:20 qboosh +- updated to 0.4.0 (switched to GNOME 2.x) +- removed outdated patches, updated desktop patch + Revision 1.42 2007/08/26 18:32:16 qboosh - unified gnome source URL - clarified License ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gnome-chess.spec?r1=1.42&r2=1.43&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
