From 542a238376c414fd5f61bc76e791aa2e1e6ace41 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: May 06 2008 16:45:49 +0000 Subject: - version to import in CVS (rhbz#444945) --- diff --git a/.cvsignore b/.cvsignore index e69de29..992d0e5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +python-augeas-0.1.0.tar.gz diff --git a/python-augeas.spec b/python-augeas.spec new file mode 100644 index 0000000..df4c0f8 --- /dev/null +++ b/python-augeas.spec @@ -0,0 +1,59 @@ +# sitelib for noarch packages, sitearch for others (remove the unneeded one) +%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +Name: python-augeas +Version: 0.1.0 +Release: 4%{?dist} +Summary: Python bindings to augeas + +Group: Development/Languages +License: LGPLv2+ +URL: http://augeas.net/ +Source0: http://augeas.net/download/python/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: augeas-libs + +BuildRequires: python-devel swig augeas-devel + +%description +python-augeas is a set of Python bindings around augeas. + +%prep +%setup -q + + +%build +# Remove CFLAGS=... for noarch packages (unneeded) +CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build_ext -i +CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc COPYING AUTHORS README.txt +# For arch-specific packages: sitearch +%{python_sitearch}/*augeas* +%attr(0755,root,root) %{python_sitearch}/_augeas.so + +%changelog +* Mon May 05 2008 Harald Hoyer 0.1.0-4 +- version to import in CVS (rhbz#444945) + +* Mon May 05 2008 Harald Hoyer 0.1.0-3 +- set mode of _augeas.so to 0755 + +* Mon May 05 2008 Harald Hoyer 0.1.0-2 +- wildcard to catch egg-info in case it is build + +* Fri May 02 2008 Harald Hoyer 0.1.0-1 +- new version + +* Wed Apr 16 2008 Harald Hoyer - 0.0.8-1 +- initial version diff --git a/sources b/sources index e69de29..df1849a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +afaeba556cf46d263ee080e7e5a47e14 python-augeas-0.1.0.tar.gz