rpms/python-simpy/devel .cvsignore, 1.7, 1.8 python-simpy.spec, 1.21, 1.22 sources, 1.8, 1.9
Sarantis Paskalis
sarantis at fedoraproject.org
Tue Feb 3 12:17:15 UTC 2009
- Previous message: rpms/evolution-data-server/F-10 .cvsignore, 1.99, 1.100 evolution-data-server.spec, 1.242, 1.243 sources, 1.99, 1.100
- Next message: rpms/gupnp-av/F-9 gupnp-av.spec,1.4,1.5 sources,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: sarantis
Update of /cvs/extras/rpms/python-simpy/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25585
Modified Files:
.cvsignore python-simpy.spec sources
Log Message:
Upgrade to 2.0
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-simpy/devel/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- .cvsignore 31 Mar 2008 10:26:40 -0000 1.7
+++ .cvsignore 3 Feb 2009 12:16:44 -0000 1.8
@@ -1 +1 @@
-SimPy-1.9.1.tar.gz
+SimPy-2.00.tar.gz
Index: python-simpy.spec
===================================================================
RCS file: /cvs/extras/rpms/python-simpy/devel/python-simpy.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- python-simpy.spec 29 Nov 2008 15:52:25 -0000 1.21
+++ python-simpy.spec 3 Feb 2009 12:16:44 -0000 1.22
@@ -2,13 +2,13 @@
%define pkgname SimPy
Name: python-simpy
-Version: 1.9.1
-Release: 2%{?dist}
+Version: 2.0
+Release: 1%{?dist}
Summary: Python simulation framework
Group: Development/Languages
License: LGPLv2+
URL: http://simpy.sourceforge.net
-Source0: http://downloads.sourceforge.net/simpy/SimPy-%{version}.tar.gz
+Source0: http://downloads.sourceforge.net/simpy/SimPy-%{version}0.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel, python-setuptools-devel
@@ -25,6 +25,7 @@
statistics. Random variates are provided by the standard Python random
module.
+
%package doc
Group: Documentation
Summary: Source code documentation for SimPy
@@ -32,41 +33,46 @@
%description doc
SimPy (= Simulation in Python) is an object-oriented, process-based
discrete-event simulation language based on standard Python. This
-package contains the source code documentation.
+package contains the documentation including source code documentation.
+
%prep
-%setup -q -n %{pkgname}-%{version}
+%setup -q -n %{pkgname}-%{version}0
# Remove the shebangs to make rpmlint happy
sed -i -e '/^#!.*python/,1D' SimPy/*.py
-# Remove carriage returns to make rpmlint happy
-sed -i 's/\r//' SimPy/*.py
# Drop executable bits for files
find . -type d -print | xargs chmod 755
find . -type f -print | xargs chmod 644
+
%build
%{__python} setup.py build
+
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
+
%clean
rm -rf $RPM_BUILD_ROOT
+
%files
%defattr(-,root,root,-)
%{python_sitelib}/*
-# choose html over txt files for documentation
-%doc *.html PKG-INFO LGPLlicense_files SimPyModels
-%doc SimPyDocs/*.html SimPyDocs/*.css SimPyDocs/*.pdf SimPyDocs/*.xls
-%doc SimPyDocs/bankprograms SimPyDocs/images SimPyDocs/Interfacing SimPyDocs/SimGUIManual SimPyDocs/SimPlotManual SimPyDocs/SimStepManual
+%doc LGPLlicense_files
+
%files doc
-%defattr(-,root,root)
-%doc SimPyDocs/SimPy_Sourcecode_Documentation/
+%defattr (-,root,root,-)
+%doc PKG-INFO READ_ME_FIRST.txt SimPyModels SimPyDocs
+
%changelog
+* Tue Feb 3 2009 Sarantis Paskalis <paskalis at di.uoa.gr> - 2.0-1
+- Upgrade to 2.0
+
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 1.9.1-2
- Rebuild for Python 2.6
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-simpy/devel/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- sources 31 Mar 2008 10:26:40 -0000 1.8
+++ sources 3 Feb 2009 12:16:44 -0000 1.9
@@ -1 +1 @@
-857188f768c4f5fed2ab2b047f21a89c SimPy-1.9.1.tar.gz
+1d999a7c0b96c460e927a8ec75b8efd9 SimPy-2.00.tar.gz
- Previous message: rpms/evolution-data-server/F-10 .cvsignore, 1.99, 1.100 evolution-data-server.spec, 1.242, 1.243 sources, 1.99, 1.100
- Next message: rpms/gupnp-av/F-9 gupnp-av.spec,1.4,1.5 sources,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list