[svn] r6406 - in trunk/rpms: . fuse-sshfs python-numpy python-parsing python-psycopg python-psycopg2

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Mon Jul 14 22:42:59 CEST 2008


Author: dag
Date: 2008-07-14 21:42:57 +0100 (Mon, 14 Jul 2008)
New Revision: 6406

Added:
   trunk/rpms/python-parsing/
   trunk/rpms/python-parsing/python-parsing.spec
Modified:
   trunk/rpms/fuse-sshfs/fuse-sshfs.spec
   trunk/rpms/python-numpy/python-numpy.spec
   trunk/rpms/python-psycopg/python-psycopg.spec
   trunk/rpms/python-psycopg2/python-psycopg2.spec
Log:
Updates

Modified: trunk/rpms/fuse-sshfs/fuse-sshfs.spec
===================================================================
--- trunk/rpms/fuse-sshfs/fuse-sshfs.spec	2008-07-14 01:30:35 UTC (rev 6405)
+++ trunk/rpms/fuse-sshfs/fuse-sshfs.spec	2008-07-14 20:42:57 UTC (rev 6406)
@@ -5,7 +5,7 @@
 
 Summary: FUSE-Filesystem to access remote filesystems via SSH
 Name: fuse-sshfs
-Version: 2.0
+Version: 2.1
 Release: 1
 License: GPL
 Group: System Environment/Kernel
@@ -48,6 +48,9 @@
 %{_libdir}/sshnodelay.so
 
 %changelog
+* Sat Jul 12 2008 Dag Wieers <dag at wieers.com> - 2.1-1
+- Updated to release 2.1.
+
 * Sat Apr 26 2008 Dag Wieers <dag at wieers.com> - 2.0-1
 - Updated to release 2.0.
 

Modified: trunk/rpms/python-numpy/python-numpy.spec
===================================================================
--- trunk/rpms/python-numpy/python-numpy.spec	2008-07-14 01:30:35 UTC (rev 6405)
+++ trunk/rpms/python-numpy/python-numpy.spec	2008-07-14 20:42:57 UTC (rev 6406)
@@ -3,8 +3,10 @@
 
 %define python_sitearch %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')
 
+%define real_name numpy
+
 Summary: Fast multidimensional array facility for Python
-Name: numpy
+Name: python-numpy
 Version: 1.0.1
 Release: 1
 License: BSD
@@ -39,21 +41,27 @@
 this package is a version of f2py that works properly with NumPy.
 
 %prep
-%setup
+%setup -n %{real_name}-%{version}
 %patch0 -p1 -b .f2py
 
 %build
-ATLAS="%{_libdir}" FFTW="%{_libdir}" BLAS="%{_libdir}" \
+env ATLAS="%{_libdir}" FFTW="%{_libdir}" BLAS="%{_libdir}" \
 LAPACK="%{_libdir}" CFLAGS="%{optflags}" \
 %{__python} setup.py build
 
 %install
 %{__rm} -rf %{buildroot}
-ATLAS="%{_libdir}" FFTW="%{_libdir}" BLAS="%{_libdir}" \
+env ATLAS="%{_libdir}" FFTW="%{_libdir}" BLAS="%{_libdir}" \
 LAPACK="%{_libdir}" CFLAGS="%{optflags}" \
-%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
-%{__mv} -v %{buildroot}%{python_sitearch}/numpy/f2py/docs/ doc-rpm/
-%{__mv} -v %{buildroot}/%{python_sitearch}/numpy/f2py/f2py.1 %{buildroot}%{_mandir}/man1/
+%{__python} setup.py install -O1 --root="%{buildroot}" --prefix="%{_prefix}"
+#%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
+
+### Clean up buildroot
+%{__mv} -v %{buildroot}%{python_sitearch}/numpy/f2py/docs/ rpm-doc/
+
+%{__install} -dp -m0755 %{buildroot}%{_mandir}/man1/
+%{__mv} -v %{buildroot}/%{python_sitearch}/numpy/f2py/f2py.1 %{buildroot}%{_mandir}/man1/numpy.1
+
 %{__ln_s} -f f2py %{buildroot}%{_bindir}/f2py.numpy
 
 %clean
@@ -61,14 +69,16 @@
 
 %files
 %defattr(-, root, root, 0755)
-%doc LICENSE.txt rpm-doc/* doc/
+%doc LICENSE.txt rpm-doc/* numpy/doc/
 %doc %{_mandir}/man1/numpy.1*
 %{_bindir}/f2py
 %{_bindir}/f2py.numpy
-%dir %{python_sitearch}/numpy/
-%{python_sitearch}/numpy/*.py
-%{python_sitearch}/numpy/*.pyc
+%{python_sitearch}/numpy/
 %ghost %{python_sitearch}/numpy/*.pyo
+%ghost %{python_sitearch}/numpy/*/*.pyo
+%ghost %{python_sitearch}/numpy/*/*/*.pyo
+%ghost %{python_sitearch}/numpy/*/*/*/*.pyo
+%ghost %{python_sitearch}/numpy/*/*/*/*/*.pyo
 
 %changelog
 * Wed May 28 2008 Dag Wieers <dag at wieers.com> - 1.0.3.1-1

Added: trunk/rpms/python-parsing/python-parsing.spec
===================================================================
--- trunk/rpms/python-parsing/python-parsing.spec	                        (rev 0)
+++ trunk/rpms/python-parsing/python-parsing.spec	2008-07-14 20:42:57 UTC (rev 6406)
@@ -0,0 +1,52 @@
+# $Id$
+# Authority: dag
+
+%define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib()')
+
+%define real_name pyparsing
+
+Summary: Object-oriented approach to text processing
+Name: python-parsing
+Version: 1.4.11
+Release: 1
+License: MIT
+Group: Development/Libraries
+URL: http://pyparsing.wikispaces.com/
+
+Source: http://dl.sf.net/pyparsing/pyparsing-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+BuildRequires: python-devel
+
+Obsoletes: pyparsing <= %{version}-%{release}
+Provides: pyparsing = %{version}-%{release}
+
+%description
+pyparsing is a module that can be used to easily and directly configure syntax
+definitions for any number of text parsing applications.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+%{__python} setup.py build
+%{__mv} pyparsingClassDiagram.PNG pyparsingClassDiagram.png
+
+%install
+%{__rm} -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc CHANGES README *.html pyparsingClassDiagram.* docs/ examples/ htmldoc/
+%{python_sitelib}/pyparsing.py
+%{python_sitelib}/pyparsing.pyc
+%ghost %{python_sitelib}/pyparsing.pyo
+
+%changelog
+* Mon Jul 14 2008 Dag Wieers <dag at wieers.com> - 1.4.11-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/python-parsing/python-parsing.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Modified: trunk/rpms/python-psycopg/python-psycopg.spec
===================================================================
--- trunk/rpms/python-psycopg/python-psycopg.spec	2008-07-14 01:30:35 UTC (rev 6405)
+++ trunk/rpms/python-psycopg/python-psycopg.spec	2008-07-14 20:42:57 UTC (rev 6406)
@@ -59,9 +59,6 @@
 * Mon Jul 31 2006 Dries Verachtert <dries at ulyssis.org> - 2.0.3-1
 - Updated to release 2.0.3.
 
-* Sat Apr 08 2006 Dries Verachtert <dries at ulyssis.org> - 1.1.21-1.2
-- Rebuild for Fedora Core 5.
-
 * Fri Jan 06 2006 Dries Verachtert <dries at ulyssis.org> - 1.1.21-1
 - Updated to release 1.1.21.
 

Modified: trunk/rpms/python-psycopg2/python-psycopg2.spec
===================================================================
--- trunk/rpms/python-psycopg2/python-psycopg2.spec	2008-07-14 01:30:35 UTC (rev 6405)
+++ trunk/rpms/python-psycopg2/python-psycopg2.spec	2008-07-14 20:42:57 UTC (rev 6406)
@@ -7,7 +7,7 @@
 
 Summary: PostgreSQL database adapter for Python
 Name: python-psycopg2
-Version: 2.0.4
+Version: 2.0.7
 Release: 1
 License: GPL/ZPL
 Group: Development/Libraries
@@ -41,10 +41,17 @@
 
 %files
 %defattr(-, root, root, 0755)
-%doc AUTHORS ChangeLog INSTALL README  doc/*
-%{python_sitearch}/psycopg*
+%doc AUTHORS ChangeLog INSTALL README doc/*
+%dir %{python_sitearch}/psycopg2/
+%{python_sitearch}/psycopg2/_psycopg.so
+%{python_sitearch}/psycopg2/*.py
+%{python_sitearch}/psycopg2/*.pyc
+%ghost %{python_sitearch}/psycopg2/*.pyo
 
 %changelog
+* Mon Jul 14 2008 Dag Wieers <dag at wieers.com> - 2.0.7-1
+- Updated to release 2.0.7.
+
 * Sun Aug 13 2006 Dries Verachtert <dries at ulyssis.org> - 2.0.4-2
 - Renamed to python-psycopg2.
 
@@ -54,9 +61,6 @@
 * Mon Jul 31 2006 Dries Verachtert <dries at ulyssis.org> - 2.0.3-1
 - Updated to release 2.0.3.
 
-* Sat Apr 08 2006 Dries Verachtert <dries at ulyssis.org> - 1.1.21-1.2
-- Rebuild for Fedora Core 5.
-
 * Fri Jan 06 2006 Dries Verachtert <dries at ulyssis.org> - 1.1.21-1
 - Updated to release 1.1.21.
 



More information about the svn-commits mailing list