d5a63fc
%global srcname meld3
d5a63fc
%global sum HTML/XML templating system for Python
d5a63fc
d5a63fc
Summary: %{sum}
d5a63fc
Name: python-%{srcname}
a7bf195
Version: 1.0.2
a7bf195
Release: 1%{?dist}
6296e44
c49c0fe
License: BSD
6296e44
Group: Development/Languages
d5a63fc
URL: https://github.com/Supervisor/%{srcname}
576fd64
Source0: https://files.pythonhosted.org/packages/source/m/%{srcname}/%{srcname}-%{version}.tar.gz
52ea0ff
d5a63fc
BuildRequires: python2-devel python3-devel
4ed8dbe
BuildArch: noarch
6296e44
6296e44
%description
d5a63fc
%{srcname} is an HTML/XML templating system for Python which keeps template
d5a63fc
markup and dynamic rendering logic separate from one another.
d5a63fc
d5a63fc
This package contains common files for both Python 2 and Python 3 modules.
d5a63fc
d5a63fc
%package -n python2-%{srcname}
d5a63fc
Summary:  %{sum}
d5a63fc
Obsoletes: %{name} < 1.0.0
d5a63fc
Conflicts: %{name} < 1.0.0
d5a63fc
Conflicts: python < 2.5
d5a63fc
Conflicts: python2 < 2.5
d5a63fc
Requires: %{name} = %{version}-%{release}
d5a63fc
%{?python_provide:%python_provide python2-%{srcname}}
d5a63fc
d5a63fc
%description -n python2-%{srcname}
d5a63fc
%{srcname} is an HTML/XML templating system for Python 2.5+ which keeps
d5a63fc
template markup and dynamic rendering logic separate from one another.
d5a63fc
d5a63fc
d5a63fc
%package -n python3-%{srcname}
d5a63fc
Summary:  %{sum}
d5a63fc
Requires: %{name} = %{version}-%{release}
d5a63fc
%{?python_provide:%python_provide python3-%{srcname}}
d5a63fc
d5a63fc
%description -n python3-%{srcname}
d5a63fc
%{srcname} is an HTML/XML templating system for Python 3.2+ which keeps
d5a63fc
template markup and dynamic rendering logic separate from one another.
6296e44
6296e44
%prep
d5a63fc
%setup -q -n %{srcname}-%{version}
6296e44
6296e44
%build
d5a63fc
%py2_build
d5a63fc
%py3_build
6296e44
6296e44
%install
d5a63fc
%py2_install
d5a63fc
%py3_install
6296e44
97b9d43
%check
d5a63fc
%{__python2} setup.py test
d5a63fc
%{__python3} setup.py test
97b9d43
6296e44
%clean
c636548
rm -rf %{buildroot}
6296e44
6296e44
%files
d5a63fc
%doc README.txt CHANGES.txt
d5a63fc
%license COPYRIGHT.txt LICENSE.txt
d5a63fc
d5a63fc
%files -n python2-%{srcname}
4ed8dbe
%{python2_sitelib}/*
6296e44
d5a63fc
%files -n python3-%{srcname}
d5a63fc
%{python3_sitelib}/*
d5a63fc
6296e44
%changelog
896a9d1
* Tue May 31 2016 Nils Philippsen <nils@redhat.com>
896a9d1
- fix source URL
896a9d1
a7bf195
* Wed Apr 20 2016 Nils Philippsen <nils@redhat.com> - 1.0.2-1
a7bf195
- version 1.0.2
c49c0fe
- change license to BSD
4ed8dbe
- package is noarch now
d5a63fc
- ship Python 3 package (#1309618)
a7bf195
952d241
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.7-12
952d241
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
952d241
c62d2b3
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.7-11
c62d2b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c62d2b3
0655d37
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.7-10
0655d37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0655d37
5d0b9cd
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.7-9
5d0b9cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5d0b9cd
45235e6
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.7-8
45235e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
45235e6
64796bb
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.7-7
64796bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
64796bb
b32f63e
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.7-6
b32f63e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b32f63e
c5da53b
* Tue Jan 10 2012 Nils Philippsen <nils@redhat.com> - 0.6.7-5
c5da53b
- rebuild for gcc 4.7
c5da53b
aa480e0
* Tue Apr 05 2011 Nils Philippsen - 0.6.7-4
c636548
- patch in missing cmeld3.c file instead of indiscriminately (over-)writing it
aa480e0
- don't use macros for system executables (except python)
c636548
688c38f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.7-2
688c38f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
688c38f
97b9d43
* Fri Nov 19 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.7-1
97b9d43
- Update to solve a crasher bug on python-2.7:
97b9d43
  https://bugzilla.redhat.com/show_bug.cgi?id=652890
eaad000
- Fix missing cmeld3.c file in the upstream tarball (upstream was notified).
97b9d43
0ce7adf
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.6.5-2
0ce7adf
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
0ce7adf
3a48aba
* Tue Apr 13 2010 Nils Philippsen <nils@redhat.com> - 0.6.5-1
3a48aba
- version 0.6.5
3a48aba
- drop obsolete etree patch
3a48aba
842a327
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.4-4
842a327
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
842a327
c281b63
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.4-3
c281b63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c281b63
1171b0b
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.6.4-2
1171b0b
- Rebuild for Python 2.6
1171b0b
34f2844
* Tue Feb 28 2008 Toshio Kuratomi <toshio@fedoraproject.org> 0.6.4-1
34f2844
- Update to 0.6.4.
34f2844
- Fix python-2.5 elementtree problem.
34f2844
e5f237c
* Tue Feb 12 2008 Mike McGrath <mmcgrath@redhat.com> 0.6.3-3
e5f237c
- Rebuild for gcc43
e5f237c
3530f3e
* Mon Jan 7 2008 Toshio Kuratomi <a.badger@gmail.com> 0.6.3-2
3530f3e
- Fix include egginfo when created.
3530f3e
3e7aef6
* Wed Oct 17 2007 Toshio Kuratomi <a.badger@gmail.com> 0.6.3-1
3e7aef6
- Update to 0.6.3 (Fix memory leaks).
3e7aef6
- Update license tag.
3e7aef6
6e833c6
* Wed Aug 22 2007 Mike McGrath <mmcgrath@redhat.com> 0.6-3
6e833c6
- Release bump for rebuild
6e833c6
52ea0ff
* Thu Apr 26 2007 Mike McGrath <mmcgrath@redhat.com> 0.6-2.1
52ea0ff
- Fix requires on python-elementtree for python-2.5.  (elementtree is included
52ea0ff
  in python-2.5)
52ea0ff
6296e44
* Sun Apr 22 2007 Mike McGrath <mmcgrath@redhat.com> 0.6-2
6296e44
- Patch suggested in #153247
6296e44
6296e44
* Fri Apr 20 2007 Mike McGrath <mmcgrath@redhat.com> 0.6-1
6296e44
- Initial packaging
6296e44