Clement Verna 423f1bc
%global commit 23452c3689dc7bb0dfbff12243eb20347be23d98
Clement Verna 423f1bc
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Clement Verna 423f1bc
61b919c
Name:           TurboGears2
Clement Verna 423f1bc
Version:        2.4.0a1
Clement Verna 423f1bc
Release:        1.git%{?shortcommit}%{?dist}
Luke Macken 8b6e59f
Summary:        Next generation front-to-back web development megaframework
61b919c
61b919c
Group:          Development/Languages
61b919c
License:        MIT
61b919c
URL:            http://www.turbogears.org
Clement Verna 423f1bc
Source0:        https://github.com/TurboGears/tg2/archive/%{commit}/tg2-%{commit}.tar.gz
61b919c
61b919c
BuildArch:      noarch
61b919c
8156376
BuildRequires:  python2-devel
8156376
BuildRequires:  python2-setuptools
8156376
BuildRequires:  python2-backlash
8156376
BuildRequires:  python2-chameleon
8156376
BuildRequires:  python2-crank >= 0.8.0
8156376
BuildRequires:  python2-formencode
8156376
BuildRequires:  python2-genshi >= 0.5.1
a9880ae
BuildRequires:  python2-jinja2
8156376
BuildRequires:  python2-kajiki >= 0.2.2
8156376
BuildRequires:  python2-mako
a9880ae
BuildRequires:  python2-repoze-tm2 >= 1.0-0.4.a4
8156376
BuildRequires:  python2-repoze-who
8156376
BuildRequires:  python2-repoze-who-plugins-sa >= 1.0.1
8156376
BuildRequires:  python2-routes
8156376
BuildRequires:  python2-simplegeneric
a9880ae
BuildRequires:  python2-tw-forms
a9880ae
BuildRequires:  python2-tw2-forms
a9880ae
BuildRequires:  python2-webtest
8156376
BuildRequires:  python2-zope-sqlalchemy >= 0.4
8156376
8156376
BuildRequires:  python3-backlash
8156376
BuildRequires:  python3-chameleon
8156376
BuildRequires:  python3-crank >= 0.8.0
8156376
BuildRequires:  python3-devel python3-setuptools
8156376
BuildRequires:  python3-formencode
8156376
BuildRequires:  python3-genshi >= 0.5.1
8156376
BuildRequires:  python3-jinja2
8156376
BuildRequires:  python3-kajiki >= 0.2.2
8156376
BuildRequires:  python3-mako
8156376
BuildRequires:  python3-repoze-tm2 >= 1.0-0.4.a4
8156376
BuildRequires:  python3-repoze-who
8156376
BuildRequires:  python3-repoze-who-plugins-sa >= 1.0.1
8156376
BuildRequires:  python3-routes
8156376
BuildRequires:  python3-simplegeneric
8156376
BuildRequires:  python3-tw2-forms
8156376
BuildRequires:  python3-webtest
8156376
BuildRequires:  python3-zope-sqlalchemy >= 0.4
8156376
8156376
%global _description \
8156376
TurboGears brings together a best of breed python tools to create a flexible,\
8156376
full featured, and easy to use web framework.\
8156376
\
8156376
TurboGears 2 provides and integrated and well tested set of tools for\
8156376
everything you need to build dynamic, database driven applications.  It\
8156376
provides a full range of tools for front end javascript develeopment, back\
8156376
database development and everything in between:\
8156376
\
8156376
 * dynamic javascript powered widgets ToscaWidgets\
8156376
 * automatic JSON generation from your controllers\
8156376
 * powerful, designer friendly XHTML basted templating (Genshi)\
8156376
 * object or route based URL dispatching\
8156376
 * powerful Object Relational Mappers (SQLAlchemy)\
8156376
8156376
%description %{_description}
8156376
8156376
%package -n python2-%{name}
8156376
Summary:        %{summary}
8156376
%{?python_provide:%python_provide python2-%{name}}
8156376
Provides:       %{name} = %{version}-%{release}
Clement Verna f34554c
Obsoletes:      %{name} < 2.3.11-6
a9880ae
8156376
Requires:       python2-backlash
8156376
Requires:       python2-beaker
8156376
Requires:       python2-chameleon
8156376
Requires:       python2-crank >= 0.8.0
8156376
Requires:       python2-decorator
8156376
Requires:       python2-formencode
a9880ae
Requires:       python2-genshi >= 0.5.1
a9880ae
Requires:       python2-jinja2
8156376
Requires:       python2-kajiki > 0.2.2
8156376
Requires:       python2-mako
a9880ae
Requires:       python2-markupsafe
a9880ae
Requires:       python2-paste-deploy
8156376
Requires:       python2-repoze-lru
8156376
Requires:       python2-repoze-tm2 >= 1.0-0.a4
a9880ae
Requires:       python2-repoze-who
a9880ae
Requires:       python2-repoze-who-plugins-sa >= 1.0.1
a9880ae
Requires:       python2-routes
8156376
Requires:       python2-simplegeneric
8156376
Requires:       python2-toscawidgets >= 0.9.4
a9880ae
Requires:       python2-tw-forms
a9880ae
Requires:       python2-tw2-forms
8156376
Requires:       python2-webob >= 1.2
8156376
Requires:       python2-zope-sqlalchemy >= 0.4
61b919c
8156376
%description -n python2-%{name} %{_description}
8156376
8156376
%package -n python3-%{name}
8156376
Summary:        %{summary}
8156376
%{?python_provide:%python_provide python3-%{name}}
8156376
8156376
Requires:       python3-backlash
8156376
Requires:       python3-beaker
8156376
Requires:       python3-chameleon
8156376
Requires:       python3-crank >= 0.8.0
8156376
Requires:       python3-decorator
8156376
Requires:       python3-formencode
8156376
Requires:       python3-genshi >= 0.5.1
8156376
Requires:       python3-jinja2
8156376
Requires:       python3-kajiki > 0.2.2
8156376
Requires:       python3-mako
8156376
Requires:       python3-markupsafe
8156376
Requires:       python3-paste-deploy
8156376
Requires:       python3-repoze-lru
8156376
Requires:       python3-repoze-tm2 >= 1.0-0.a4
8156376
Requires:       python3-repoze-who
8156376
Requires:       python3-repoze-who-plugins-sa >= 1.0.1
8156376
Requires:       python3-routes
8156376
Requires:       python3-simplegeneric
8156376
Requires:       python3-tw2-forms
8156376
Requires:       python3-webob >= 1.2
8156376
Requires:       python3-zope-sqlalchemy >= 0.4
8156376
8156376
%description -n python3-%{name} %{_description}
61b919c
61b919c
%prep
Clement Verna 423f1bc
%autosetup -n tg2-%{commit}
61b919c
61b919c
61b919c
%build
Clement Verna 8d584d4
%py2_build
8156376
%py3_build
61b919c
61b919c
%install
Clement Verna 8d584d4
%py2_install
8156376
%py3_install
Clement Verna 8d584d4
rm -fr %{buildroot}%{python2_sitelib}/tests
8156376
rm -fr %{buildroot}%{python3_sitelib}/tests
61b919c
8156376
# Tests cannot be included because some test dependencies
8156376
# are not available in Fedora repositories
297b79c
#%check
8156376
#PYTHONPATH=$(pwd) %{__python2} setup.py test
297b79c
8156376
%files -n python2-%{name}
297b79c
%doc README.rst
8156376
%{python2_sitelib}/%{name}-%{version}-py%{python2_version}.egg-info/
Clement Verna 8d584d4
%{python2_sitelib}/tg/
61b919c
8156376
%files -n python3-%{name}
8156376
%doc README.rst
8156376
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info/
8156376
%{python3_sitelib}/tg/
61b919c
61b919c
%changelog
Clement Verna 423f1bc
* Wed Jan 02 2019 Clement Verna <cverna@fedoraproject.org> - 2.4.0a1-1.git23452c3
Clement Verna 423f1bc
- Upstream support for WebOb1.9
Clement Verna 423f1bc
Clement Verna f34554c
* Tue Jul 24 2018 Clement Verna <cverna@fedoraproject.org> - 2.3.12-1
Clement Verna f34554c
- New upstream release
Clement Verna f34554c
8f150d1
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.11-6
8f150d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
8f150d1
0ead3fa
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.3.11-5
0ead3fa
- Rebuilt for Python 3.7
0ead3fa
8156376
* Fri May 04 2018 Lumír Balhar <lbalhar@redhat.com> - 2.3.11-4
8156376
- Renamed dependencies
8156376
- Removed test BuildRequires
8156376
- Python 3 subpackage
8156376
a9880ae
* Mon Feb 19 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.3.11-3
a9880ae
- Update Python 2 dependency declarations to new packaging standards
a9880ae
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
a9880ae
fc736dd
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.11-2
fc736dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
fc736dd
Clement Verna 8d584d4
* Fri Nov 10 2017 Clement Verna <cverna@tutanota.com> - 2.3.11-1
Clement Verna 8d584d4
- Latest upstream
Clement Verna 8d584d4
- Drop ming patch
Clement Verna 8d584d4
12bfd49
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.6-5
12bfd49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
12bfd49
ba96ded
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.6-4
ba96ded
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ba96ded
373ba69
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.6-3
373ba69
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
373ba69
4bec4e1
* Tue May 31 2016 Nils Philippsen <nils@redhat.com>
4bec4e1
- fix source URL
4bec4e1
7c142e1
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.6-2
7c142e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7c142e1
297b79c
* Sat Sep 19 2015 Ralph Bean <rbean@redhat.com> - 2.3.6-1
297b79c
- Latest upstream.
297b79c
- Drop chameleon patch.
297b79c
- Disable test suite for now.  The latest from upstream isn't passing out of
297b79c
  the box.
297b79c
48cc977
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-0.6.git6da6959
48cc977
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
48cc977
99dac82
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-0.5.git6da6959
99dac82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
99dac82
d6b0af2
* Tue Nov 12 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 2.3.0-0.4.git
d6b0af2
- Replace dep on python-setuptools-devel with dep on python-setuptools
d6b0af2
0c0ee83
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-0.3.git6da6959
0c0ee83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0c0ee83
Luke Macken 0c4de5d
* Mon Apr  8 2013 Luke Macken <lmacken@redhat.com> - 2.3.0-0.1.git6da6959
Luke Macken 0c4de5d
- Update to the latest 2.3 snapshot.
Luke Macken 0c4de5d
84b2165
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.4-5
84b2165
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
84b2165
657d579
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.4-4
657d579
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
657d579
d172c76
* Fri Apr 13 2012 Ralph Bean <rbean@redhat.com> - 2.1.4-3
d172c76
- Patch webob version requirement to allow python-webob-1.1.1
d172c76
848a907
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.4-2
848a907
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
848a907
Luke Macken a5f68c3
* Wed Dec 14 2011 Luke Macken <lmacken@redhat.com> - 2.1.4-1
Luke Macken a5f68c3
- Update to 2.1.4
Luke Macken a5f68c3
- Get the test suite up and running again
Luke Macken a5f68c3
- Add a tarball with some missing templates needed to run the tests
Luke Macken 0616fc8
- Patch out the chameleon.genshi tests
Luke Macken a5f68c3
Luke Macken 1bd1c7a
* Thu Aug 25 2011 Luke Macken <lmacken@redhat.com> - 2.1.2-1
Luke Macken 1bd1c7a
- Update to 2.1.2
Luke Macken 1bd1c7a
- Update our requirements
Luke Macken 1bd1c7a
2227679
* Wed Aug 17 2011 Nils Philippsen <nils@redhat.com>
2227679
- Update to 2.1.1 (#663117)
2227679
17f3701
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2
17f3701
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
17f3701
Luke Macken 3247e93
* Tue Nov 23 2010 Luke Macken <lmacken@redhat.com> - 2.1-1
Luke Macken 3247e93
- Update to 2.1 final
Luke Macken 3247e93
- Patch out the kajiki requirement & tests until it's packaged
Luke Macken 3247e93
Luke Macken 9ab0946
* Mon Oct 18 2010 Luke Macken <lmacken@redhat.com> - 2.1-0.4.rc1
Luke Macken 9ab0946
- Add a patch to fix a helpers import issue
Luke Macken 9ab0946
- This brings our package up to speed with the latest RC1 release
Luke Macken 9ab0946
Luke Macken b5066cc
* Tue Sep 28 2010 Luke Macken <lmacken@redhat.com> - 2.1-0.3.rc1.dev1048
Luke Macken b5066cc
- Pre-RC1 development snapshot
Luke Macken b5066cc
- Remove strict Pylons<0.9.7 requirement
Luke Macken b5066cc
- Get the test suite running
Luke Macken b5066cc
- Pull in python-chameleon for the test suite
Luke Macken b5066cc
- Require python-simplegeneric
Luke Macken b5066cc
- Update the description
Luke Macken b5066cc
98094d6
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 2.1-0.2.b2
98094d6
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
98094d6
b4dbfe8
* Wed May 05 2010 Luke Macken <lmacken@redhat.com> - 2.1-0.1.b2
b4dbfe8
- Update to 2.1b2
b4dbfe8
22121ee
* Mon Jan 11 2010 Luke Macken <lmacken@redhat.com> - 2.0.3-4
22121ee
- Fix the source URL
22121ee
61b919c
* Mon Sep 14 2009 Luke Macken <lmacken@redhat.com> - 2.0.3-3
61b919c
- Tweak our python-wsgiref conditional for EL5
61b919c
61b919c
* Tue Sep 01 2009 Luke Macken <lmacken@redhat.com> - 2.0.3-2
61b919c
- Remove the SQLAlchemy requirement, as python-zope-sqlalchemy
61b919c
  is now set to include the appropriate version
61b919c
61b919c
* Wed Aug 12 2009 Luke Macken <lmacken@redhat.com> - 2.0.3-1
61b919c
- 2.0.3
61b919c
61b919c
* Sat Jun 27 2009 Luke Macken <lmacken@redhat.com> 2.0.1-1
61b919c
- 2.0.1
61b919c
- Bump our ToscaWigdets requirement to 0.9.4
61b919c
- Remove TurboGears2-custom-content-type.patch, which is upstream
61b919c
61b919c
* Sat Jun 06 2009 Luke Macken <lmacken@redhat.com> 2.0-4
61b919c
- Require the new python-sqlalchemy0.5 package
61b919c
61b919c
* Thu Jun 04 2009 Luke Macken <lmacken@redhat.com> 2.0-3
61b919c
- Add a patch to fix custom content types.
61b919c
  http://trac.turbogears.org/ticket/2280
61b919c
61b919c
* Mon Jun 01 2009 Luke Macken <lmacken@redhat.com> 2.0-2
61b919c
- Conditionally include wsgiref
61b919c
61b919c
* Sun May 31 2009 Luke Macken <lmacken@redhat.com> 2.0-1
61b919c
- Update to 2.0 final.
61b919c
- Add python-repoze-what-pylons and python-webflash to the BuildRequires
61b919c
- Disable the test suite until we package chameleon.genshi
61b919c
61b919c
* Tue Oct 28 2008 Luke Macken <lmacken@redhat.com> 1.9.7.0.3.b1dev.r5627
61b919c
- Update to a svn snapshot to support tgext.authorization instead of
61b919c
  tg.ext.repoze.who
61b919c
61b919c
* Mon Oct 27 2008 Luke Macken <lmacken@redhat.com> 1.9.7-0.2.b1
61b919c
- Update to 1.9.7b1
61b919c
61b919c
* Tue Oct 21 2008 Luke Macken <lmacken@redhat.com> 1.9.7-0.1.a5dev.r5564
61b919c
- Initial packaging of TurboGears2 for Fedora.