From 1ef6b316e8ec94c064031df55d2808927f8aa609 Mon Sep 17 00:00:00 2001 From: Sergio Pascual Date: Feb 09 2010 14:19:42 +0000 Subject: Importing pymilia into F-11 --- diff --git a/.cvsignore b/.cvsignore index e69de29..95de927 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +pymilia-0.3.0.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..9a25c4f --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +pymilia-0_3_0-3_fc12:F-11:pymilia-0.3.0-3.fc12.src.rpm:1265724999 diff --git a/pymilia.spec b/pymilia.spec new file mode 100644 index 0000000..568dddd --- /dev/null +++ b/pymilia.spec @@ -0,0 +1,51 @@ +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +Name: pymilia +Version: 0.3.0 +Release: 3%{?dist} +Summary: Python wrappers for milia +License: GPLv3+ + +Group: Development/Languages +URL: http://guaix.fis.ucm.es/projects/milia/wiki +Source0: ftp://astrax.fis.ucm.es/pub/users/spr/milia/%{name}-%{version}.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: python-devel python-setuptools +BuildRequires: boost-devel milia-devel >= %{version} + +%description +Python wrappers for milia. Milia is a C++ library created to +compute cosmological distances and ages in the +Friedmann-LemaƮtre-Robertson-Walker metric. + +%prep +%setup -q + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + + +%install +%{__rm} -fr %{buildroot} +%{__python} setup.py install --skip-build --root %{buildroot} + +%clean +%{__rm} -fr %{buildroot} + +%files +%defattr(-,root,root,-) +%doc COPYING README.txt NEWS.txt +%{python_sitearch}/milia/ +%{python_sitearch}/*.egg-info + +%changelog +* Wed Jan 20 2010 Sergio Pascual - 0.3.0-3 +- Adding CFLAGS in build line + +* Wed Jan 20 2010 Sergio Pascual - 0.3.0-2 +- Updated build requires +- Corrected minor typos + +* Mon Jan 18 2010 Sergio Pascual - 0.3.0-1 +- Initial spec file diff --git a/sources b/sources index e69de29..0552e0c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3b9d7aa9e4033ee945b879e9aee0525c pymilia-0.3.0.tar.gz