eb6f72
%global with_python3 1
eb6f72
5e7af1
Name:		python-augeas
95c8df
Version:	0.5.0
Orion Poplawski a57d6a
Release:	5%{?dist}
5e7af1
Summary:	Python bindings to augeas
5e7af1
Group:		Development/Languages
5e7af1
License:	LGPLv2+
5e7af1
URL:		http://augeas.net/
fd9d20
Source0:	http://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.gz
5e7af1
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
5e7af1
BuildArch:	noarch
542a23
067104
BuildRequires:	python-setuptools python-devel
eb6f72
%if 0%{?with_python3}
eb6f72
BuildRequires:	python3-setuptools python3-devel
eb6f72
%endif # with_python3
542a23
542a23
%description
542a23
python-augeas is a set of Python bindings around augeas.
542a23
eb6f72
Orion Poplawski a57d6a
%package -n python2-augeas
Orion Poplawski a57d6a
Summary:	Python 2 bindings to augeas
Orion Poplawski a57d6a
Requires:	augeas-libs
Orion Poplawski a57d6a
%{?python_provide:%python_provide python2-augeas}
Orion Poplawski a57d6a
Orion Poplawski a57d6a
%description -n python2-augeas
Orion Poplawski a57d6a
python2-augeas is a set of Python bindings around augeas.
Orion Poplawski a57d6a
Orion Poplawski a57d6a
eb6f72
%if 0%{?with_python3}
eb6f72
%package -n python3-augeas
eb6f72
Summary:	Python 3 bindings to augeas
eb6f72
Requires:	augeas-libs
Orion Poplawski a57d6a
%{?python_provide:%python_provide python3-augeas}
eb6f72
eb6f72
%description -n python3-augeas
eb6f72
python3-augeas is a set of Python bindings around augeas.
eb6f72
%endif # with_python3
eb6f72
eb6f72
542a23
%prep
542a23
%setup -q
542a23
542a23
%build
Orion Poplawski a57d6a
%{py2_build}
eb6f72
eb6f72
%if 0%{?with_python3}
Orion Poplawski a57d6a
%{py3_build}
eb6f72
%endif # with_python3
542a23
542a23
%install
Orion Poplawski a57d6a
%{py2_install}
542a23
eb6f72
%if 0%{?with_python3}
Orion Poplawski a57d6a
%{py3_install}
eb6f72
%endif # with_python3
542a23
Orion Poplawski a57d6a
%files -n python2-augeas
Orion Poplawski a57d6a
%license COPYING
Orion Poplawski a57d6a
%doc AUTHORS README.txt
5e7af1
%{python_sitelib}/augeas.py*
Orion Poplawski a57d6a
%{python_sitelib}/python_augeas*.egg-info
542a23
eb6f72
%if 0%{?with_python3}
eb6f72
%files -n python3-augeas
Orion Poplawski a57d6a
%license COPYING
Orion Poplawski a57d6a
%doc AUTHORS README.txt
Orion Poplawski a57d6a
%{python3_sitelib}/augeas.py
Orion Poplawski a57d6a
%{python3_sitelib}/python_augeas-*.egg-info
Orion Poplawski a57d6a
%{python3_sitelib}/__pycache__/*
eb6f72
%endif # with_python3
eb6f72
eb6f72
542a23
%changelog
Orion Poplawski a57d6a
* Wed Feb 3 2016 Orion Poplawski <orion@cora.nwra.com> - 0.5.0-5
Orion Poplawski a57d6a
- Modernize spec
Orion Poplawski a57d6a
- Fix python3 package file ownership
Orion Poplawski a57d6a
c896c0
* Tue Jan 19 2016 Nils Philippsen <nils@redhat.com>
c896c0
- use %%global instead of %%define
c896c0
Robert Kuska e6be4c
* Fri Nov 06 2015 Robert Kuska <rkuska@redhat.com> - 0.5.0-4
Robert Kuska e6be4c
- Rebuilt for Python3.5 rebuild
Robert Kuska e6be4c
94a73d
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-3
94a73d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
94a73d
eb6f72
* Mon Sep 22 2014 Tomas Radej <tradej@redhat.com> - 0.5.0-2
eb6f72
- Added Python 3 subpackage
eb6f72
95c8df
* Thu Sep 04 2014 Greg Swift <gregswift@gmail.com> - 0.5.0-1
95c8df
- Version 0.5.0 release
95c8df
a22ca1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-6
a22ca1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a22ca1
552052
* Tue Oct 22 2013 Greg Swift <gregswift@gmail.com> - 0.4.1-5
552052
- add python-ctypes dependency (rhbz#1020239)
552052
fc88fe
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-4
fc88fe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fc88fe
6f4277
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-3
6f4277
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6f4277
e43961
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
e43961
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e43961
fa1561
* Mon Jan 16 2012 Greg Swift <gregswift@gmail.com> 0.4.1-1
fa1561
- version 0.4.1
fa1561
- include egg only on F-9, RHEL-6 and later
fa1561
e203aa
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-8
e203aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e203aa
fde16d
* Fri Feb 18 2011 Harald Hoyer <harald@redhat.com> 0.3.0-7
fde16d
- only include egg-info, if fedora >=9 or rhel >= 6
fde16d
Resolves: rhbz#661452
fde16d
223687
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-6
223687
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
223687
280926
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.3.0-5
280926
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
280926
06ee94
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-4
06ee94
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
06ee94
765378
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-3
765378
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
765378
9fb326
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.3.0-2
9fb326
- Rebuild for Python 2.6
9fb326
85f2fe
* Tue Sep 09 2008 Harald Hoyer <harald@redhat.com> 0.3.0-1
85f2fe
- version 0.3.0
85f2fe
5e7af1
* Thu Jul 03 2008 Harald Hoyer <harald@redhat.com> 0.2.1-1
5e7af1
- version 0.2.1
5e7af1
5e7af1
* Wed Jun 11 2008 Harald Hoyer <harald@redhat.com> 0.2.0-1
5e7af1
- switched to noarch, dlopen/ python bindings
5e7af1
542a23
* Mon May 05 2008 Harald Hoyer <harald@redhat.com> 0.1.0-4
542a23
- version to import in CVS (rhbz#444945)
542a23
542a23
* Mon May 05 2008 Harald Hoyer <harald@redhat.com> 0.1.0-3
542a23
- set mode of _augeas.so to 0755
542a23
542a23
* Mon May 05 2008 Harald Hoyer <harald@redhat.com> 0.1.0-2
542a23
- wildcard to catch egg-info in case it is build
542a23
542a23
* Fri May 02 2008 Harald Hoyer <harald@redhat.com> 0.1.0-1
542a23
- new version
542a23
542a23
* Wed Apr 16 2008 Harald Hoyer <harald@redhat.com> - 0.0.8-1
542a23
- initial version