rpms/pychess/devel pychess.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Sindre Pedersen Bjørdal (sindrepb) fedora-extras-commits at redhat.com
Sun Jan 14 22:36:58 UTC 2007


Author: sindrepb

Update of /cvs/extras/rpms/pychess/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24270/devel

Modified Files:
	.cvsignore sources 
Added Files:
	pychess.spec 
Log Message:
auto-import pychess-0.6.0-0.3.beta5 on branch devel from pychess-0.6.0-0.3.beta5.src.rpm


--- NEW FILE pychess.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

%define betaver beta5

Name:           pychess
Version:        0.6.0
Release:        0.3.%{betaver}%{?dist}
Summary:        Chess game for GNOME

Group:          Amusements/Games
License:        GPL
URL:            http://pychess.googlepages.com/home
Source0:        http://pychess.googlecode.com/files/%{name}-%{version}_%{betaver}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
   
BuildArch:      noarch
BuildRequires:  python-devel
BuildRequires:  desktop-file-utils, gettext

Requires:       pygtk2-libglade, python-sqlite2

%description
PyChess is a GTK+ chess game for Linux. It is designed to at the same time
be easy to use, beautiful to look at, and provide advanced functions for
advanced players.


%prep
%setup -qn %{name}-%{version}_%{betaver}


%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

#change permissions
%{__chmod} +x $RPM_BUILD_ROOT%{python_sitelib}/%{name}/Utils/Move.py
%{__chmod} +x $RPM_BUILD_ROOT%{python_sitelib}/%{name}/Utils/History.py
%{__chmod} +x $RPM_BUILD_ROOT%{python_sitelib}/%{name}/Players/PyChess.py

#remove zero-length file
%{__rm} $RPM_BUILD_ROOT%{python_sitelib}/%{name}/Players/UCI.py

desktop-file-install --vendor fedora --delete-original  \
        --dir $RPM_BUILD_ROOT%{_datadir}/applications   \
        --remove-category Application \
        $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop

%find_lang %{name}
 
%clean
rm -rf $RPM_BUILD_ROOT


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc README LICENSE AUTHORS 
%{python_sitelib}/*
%{_bindir}/*
%{_datadir}/games/*
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%{_mandir}/man?/*

%changelog
* Sun Jan 14 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.6.0-0.3.beta5
- Update description
* Sun Jan 14 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.6.0-0.2.beta5
- Fix permissions
- Fix quiet %%setup
* Sun Jan 14 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.6.0-0.1.beta5
- Initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/pychess/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Jan 2007 22:35:13 -0000	1.1
+++ .cvsignore	14 Jan 2007 22:36:28 -0000	1.2
@@ -0,0 +1 @@
+pychess-0.6.0_beta5.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/pychess/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Jan 2007 22:35:13 -0000	1.1
+++ sources	14 Jan 2007 22:36:28 -0000	1.2
@@ -0,0 +1 @@
+ed2cdca72465c4b529a1caf6960745be  pychess-0.6.0_beta5.tar.gz




More information about the scm-commits mailing list