SHARE
TWEET

Untitled

a guest Jan 1st, 2019 412 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. %global pkg_name    flask-babel
  2. %global mod_name    Flask-Babel
  3.  
  4. Name:       python-%{pkg_name}
  5. Version:    0.11.2
  6. Release:    4%{?dist}
  7. Summary:    Adds i18n/l10n support to Flask applications
  8. Group:      Development/Libraries
  9. License:    BSD
  10. URL:        http://github.com/mitsuhiko/%{pkg_name}/
  11. Source0:    https://pypi.python.org/packages/source/F/%{mod_name}/%{mod_name}-%{version}.tar.gz
  12. BuildArch:  noarch
  13.  
  14. BuildRequires:  python%{python3_pkgversion}-babel
  15. BuildRequires:  python%{python3_pkgversion}-devel
  16. BuildRequires:  python%{python3_pkgversion}-flask
  17. BuildRequires:  python%{python3_pkgversion}-setuptools
  18. BuildRequires:  python%{python3_pkgversion}-speaklater
  19. BuildRequires:  python%{python3_pkgversion}-pytz
  20.  
  21. %{?python_provide:%python_provide python-%{pkg_name}}
  22.  
  23. %global _description\
  24. Adds i18n/l10n support to Flask applications with the help of the Babel library.
  25.  
  26. %description %_description
  27.  
  28. %package -n python%{python3_pkgversion}-%{pkg_name}
  29. Summary:    Adds i18n/l10n support to Flask applications
  30. Requires:   python%{python3_pkgversion}-babel
  31. Requires:   python%{python3_pkgversion}-flask
  32. Requires:   python%{python3_pkgversion}-speaklater
  33. Requires:   python%{python3_pkgversion}-pytz
  34. %{?python_provide:%python_provide python%{python3_pkgversion}-%{pkg_name}}
  35.  
  36. %description -n python%{python3_pkgversion}-%{pkg_name}
  37. Adds i18n/l10n support to Flask applications with the help of the Babel library.
  38.  
  39. %prep
  40. %setup -q -n %{mod_name}-%{version}
  41.  
  42. %build
  43. %py3_build
  44.  
  45. %install
  46. %py3_install
  47.  
  48. %check
  49. sed -i 's|python |%{__python3} |' Makefile
  50. PYTHONPATH=$RPM_BUILD_ROOT/%{python3_sitelib}:%{python3_sitelib} make test
  51.  
  52. %files -n python%{python3_pkgversion}-%{pkg_name}
  53. %doc docs LICENSE PKG-INFO
  54. %{python3_sitelib}/*.egg-info/
  55. %{python3_sitelib}/flask_babel
  56.  
  57. %changelog
  58. * Tue Jan 01 2019 Porfirio Andrés Páiz Carrasco <porfiriopaiz@gmail.com> - 0.11.2-4
  59. - Remove python2 subpackage according to BZ#1641291
  60.   (See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal)
  61.  
  62. * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.2-3
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  64.  
  65. * Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.11.2-2
  66. - Rebuilt for Python 3.7
  67.  
  68. * Thu Mar 01 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.11.2-1
  69. - new version 0.11.2
  70.  
  71. * Fri Feb 16 2018 Lumír Balhar <lbalhar@redhat.com> - 0.9-14
  72. - Fixed source URL
  73. - Fixed directory ownership
  74.  
  75. * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-13
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  77.  
  78. * Thu Jan 18 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.9-12
  79. - Update Python 2 dependency declarations to new packaging standards
  80.   (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
  81.  
  82. * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.9-11
  83. - Python 2 binary package renamed to python2-flask-babel
  84.   See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
  85.  
  86. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-10
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  88.  
  89. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-9
  90. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  91.  
  92. * Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9-8
  93. - Rebuild for Python 3.6
  94.  
  95. * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-7
  96. - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
  97.  
  98. * Wed Jun 29 2016 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 0.9-6
  99. - Rebuild to properly provide python-flask-babel
  100.  
  101. * Tue Jun 28 2016 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 0.9-5
  102. - Add python3 subpackage
  103.  
  104. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-4
  105. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  106.  
  107. * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-3
  108. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  109.  
  110. * Wed Dec 17 2014 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 0.9-2
  111. - Revert patch to pass check with older Babel (#1175391).
  112.  
  113. * Fri Jul 18 2014 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 0.9-1
  114. - Update to latest upstream release (#1106770).
  115.  
  116. * Thu Jul 17 2014 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 0.8-6
  117. - Add patch to work with latest Babel (#1106770).
  118.  
  119. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-7
  120. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  121.  
  122. * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-6
  123. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  124.  
  125. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-5
  126. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  127.  
  128. * Thu Sep 13 2012 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 0.8-4
  129. - Add missing python-setuptools build requires (#839071)
  130. - Remove wrongly installed .gitignore
  131.  
  132. * Fri Aug 17 2012 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 0.8-3
  133. - Add missing build requires for proper chroot build
  134. - Correct spec file to make %%check work without having package installed
  135.  
  136. * Sun Aug 5 2012 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 0.8-2
  137. - No need to set CFLAGS for noarch (#839071)
  138. - Add %%check section (#839071)
  139.  
  140. * Tue Jul 10 2012 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 0.8-1
  141. - Initial python-flask-babel spec.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top