rpms/gnuplot-py/F-9 gnuplot-py.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Sergio Pascual
sergiopr at fedoraproject.org
Mon Dec 8 12:48:27 UTC 2008
Author: sergiopr
Update of /cvs/pkgs/rpms/gnuplot-py/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4793/F-9
Modified Files:
.cvsignore sources
Added Files:
gnuplot-py.spec import.log
Log Message:
Importing
--- NEW FILE gnuplot-py.spec ---
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: gnuplot-py
Version: 1.8
Release: 6%{?dist}
Summary: Python interface to Gnuplot
Group: Development/Languages
License: LGPLv2+
URL: http://gnuplot-py.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: numpy
Requires: gnuplot
Requires: numpy
%description
Gnuplot.py is a Python package that interfaces to gnuplot, the popular
open-source plotting program. It allows you to use gnuplot from within
Python to plot arrays of data from memory, data files, or mathematical
functions.
%prep
%setup -q
# Removing the shebang
# http://sourceforge.net/tracker2/?func=detail&aid=2127867&group_id=17434&atid=117434
for F in utils.py __init__.py funcutils.py; do
%{__sed} -i.orig -e 1d ${F}
touch -r ${F}.orig ${F}
%{__rm} ${F}.orig
done
%{__chmod} 644 test.py demo.py
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' build
%install
%{__rm} -fr %{buildroot}
%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
# These two are used by developers only, see
# http://sourceforge.net/tracker2/?func=detail&aid=2127867&group_id=17434&atid=117434
# They will go to doc
%{__rm} %{buildroot}%{python_sitelib}/Gnuplot/demo.py*
%{__rm} %{buildroot}%{python_sitelib}/Gnuplot/test.py*
# This isn't needed
%{__rm} %{buildroot}%{python_sitelib}/Gnuplot/setup.py*
%clean
%{__rm} -fr %{buildroot}
%files
%defattr(-,root,root,-)
%doc ANNOUNCE.txt CREDITS.txt FAQ.txt LICENSE.txt NEWS.txt README.txt TODO.txt doc/Gnuplot test.py demo.py
%{python_sitelib}/*
%changelog
* Sat Dec 06 2008 Sergio Pascual <sergiopr at fedoraproject.org> - 1.8-6
- Providing eggs
- Docs in Gnuplot dir
- Added txt docs
- Removed setup.py from installed files
* Sun Nov 02 2008 Sergio Pascual <sergiopr at fedoraproject.org> - 1.8-5
- Url in source
- demo-py and test.py go to %%doc
* Fri Oct 03 2008 Sergio Pascual <sergiopr at fedoraproject.org> - 1.8-4
- Directory doc goes to %%doc
* Fri Oct 03 2008 Sergio Pascual <sergiopr at fedoraproject.org> - 1.8-3
- Build requires numpy
* Wed Sep 24 2008 Sergio Pascual <sergiopr at fedoraproject.org> - 1.8-2
- Removing the shebang doesn't change the timestamps of the files
- Filled a bug upstream about the shebang
* Mon Sep 22 2008 Sergio Pascual <sergiopr at fedoraproject.org> - 1.8-1
- Initial specfile
--- NEW FILE import.log ---
gnuplot-py-1_8-6_fc10:F-9:gnuplot-py-1.8-6.fc10.src.rpm:1228739555
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gnuplot-py/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 8 Dec 2008 00:26:44 -0000 1.1
+++ .cvsignore 8 Dec 2008 12:48:27 -0000 1.2
@@ -0,0 +1 @@
+gnuplot-py-1.8.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gnuplot-py/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 8 Dec 2008 00:26:44 -0000 1.1
+++ sources 8 Dec 2008 12:48:27 -0000 1.2
@@ -0,0 +1 @@
+abd6f571e7aec68ae7db90a5217cd5b1 gnuplot-py-1.8.tar.gz
More information about the fedora-extras-commits
mailing list