From e7d4162ce627b4e21265589681b5fe6d88e7a111 Mon Sep 17 00:00:00 2001 From: Marek Mahut Date: Apr 25 2008 05:15:29 +0000 Subject: Initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..6cd054d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +pyephem-3.7.2.3.tar.gz diff --git a/pyephem.spec b/pyephem.spec new file mode 100644 index 0000000..53b85f0 --- /dev/null +++ b/pyephem.spec @@ -0,0 +1,44 @@ +%define python_sitearch %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)') + +Name: pyephem +Version: 3.7.2.3 +Release: 1%{?dist} +Summary: The astronomy library for Python + +Group: Development/Libraries +License: LGPLv3 +URL: http://rhodesmill.org/pyephem/ +Source0: http://pypi.python.org/packages/source/p/pyephem/%{name}-%{version}.tar.gz + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: python-devel + +%description +PyEphem provides scientific-grade astronomical +computations for the Python programming language. + +%prep +%setup -q + +%build +CFLAGS="$RPM_OPT_FLAGS" python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +CFLAGS="$RPM_OPT_FLAGS" python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGELOG COPYING INSTALL LICENSE-GPL LICENSE-LGPL PKG-INFO README + +%{python_sitearch}/ephem +%{python_sitearch}/*egg-info +%exclude %{python_sitearch}/ephem/tests + +%changelog +* Thu Apr 21 2008 Marek Mahut - 3.7.2.3-1 +- Initial build diff --git a/sources b/sources index e69de29..f8012e9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +26aec22459eb0dab2632dd6622fd60c6 pyephem-3.7.2.3.tar.gz