rpms/pypoker-eval/devel pypoker-eval.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Christopher Stone (xulchris) fedora-extras-commits at redhat.com
Fri May 12 15:42:46 UTC 2006


Author: xulchris

Update of /cvs/extras/rpms/pypoker-eval/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29788/devel

Modified Files:
	.cvsignore sources 
Added Files:
	pypoker-eval.spec 
Log Message:
auto-import pypoker-eval-131.0-3 on branch devel from pypoker-eval-131.0-3.src.rpm


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

Name:           pypoker-eval
Version:	131.0
Release:        3%{?dist}
Summary:        Python interface to poker-eval
Group:          Development/Libraries
License:        GPL
URL:            http://pokersource.org/pypoker-eval
Source0:        http://download.gna.org/pokersource/sources/%{name}-%{version}.tar.gz
BuildRequires:  python-devel
BuildRequires:  poker-eval-devel >= 124.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
This package is python adaptor for the poker-eval toolkit for
writing programs which simulate or analyze poker games.

%package devel
Summary:        Files needed for developing programs which use pypoker-eval
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}

%description devel
This package contains files required to build applications that use
pypoker-eval.

%prep
%setup -q

# make examples directory for devel %doc
mkdir -p tmp/examples && cp test.py tmp/examples

%build
%configure --disable-static
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

%check
%{__python} test.py
 
%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%{python_sitearch}/*.so.*
%{python_sitearch}/*.py
%{python_sitearch}/*.pyc
%ghost %{python_sitearch}/*.pyo

%files devel
%defattr(-,root,root,-)
%doc tmp/examples
%{python_sitearch}/*.so
%{_libdir}/pkgconfig/%{name}.pc
%exclude %{python_sitearch}/*.la

%changelog
* Fri May 12 2006 Christopher Stone <chris.stone at gmail.com> 131.0-3
- Place unversioned .so link in -devel package

* Sun Apr 23 2006 Christopher Stone <chris.stone at gmail.com> 131.0-2
- Updated URL and Source0 links
- Added %%check section
- Include test.py in devel %%doc
- Updated Summary and %%description
- Removed unneeded BuildRequires and Requires

* Wed Mar 29 2006 Loic Dachary <loic at gnu.org> - 131.0-1
- upstream sync

* Sun Mar 26 2006 Christopher Stone <chris.stone at gmail.com> 130.0-1
- Initial RPM release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/pypoker-eval/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	12 May 2006 15:42:06 -0000	1.1
+++ .cvsignore	12 May 2006 15:42:46 -0000	1.2
@@ -0,0 +1 @@
+pypoker-eval-131.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/pypoker-eval/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	12 May 2006 15:42:06 -0000	1.1
+++ sources	12 May 2006 15:42:46 -0000	1.2
@@ -0,0 +1 @@
+2ec8a95a5d0880e99ad4695ec113b799  pypoker-eval-131.0.tar.gz




More information about the fedora-extras-commits mailing list