|
rdobuilder |
1e9d7a |
# Filter the _speedups.so provides that otherwise comes into the provides
|
|
rdobuilder |
1e9d7a |
%global __provides_exclude_from ^(%{python3_sitearch}/.*\\.so)$
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
%global pypi_name pyScss
|
|
rdobuilder |
1e9d7a |
%global sname pyscss
|
|
rdobuilder |
1e9d7a |
# the package name is still python-scss
|
|
rdobuilder |
1e9d7a |
%global pname scss
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
Name: python-scss
|
|
rdobuilder |
1e9d7a |
Version: 1.4.0
|
|
rdobuilder |
1e9d7a |
Release: 1%{?dist}
|
|
rdobuilder |
1e9d7a |
Summary: A Scss compiler for Python
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
License: MIT
|
|
rdobuilder |
1e9d7a |
URL: https://github.com/Kronuz/pyScss
|
|
rdobuilder |
1e9d7a |
#Source0: https://github.com/Kronuz/pyScss/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
|
|
rdobuilder |
1e9d7a |
# get source file with spectool -g python-scss.spec
|
|
rdobuilder |
1e9d7a |
Source0: https://github.com/Kronuz/pyScss/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
BuildRequires: make
|
|
rdobuilder |
1e9d7a |
BuildRequires: pcre-devel
|
|
rdobuilder |
1e9d7a |
BuildRequires: gcc
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
%description
|
|
rdobuilder |
1e9d7a |
A Scss compiler for Python
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
%package -n python3-%{pname}
|
|
rdobuilder |
1e9d7a |
Summary: A Scss compiler for Python
|
|
rdobuilder |
1e9d7a |
BuildRequires: python3-devel
|
|
rdobuilder |
1e9d7a |
BuildRequires: python3-setuptools
|
|
rdobuilder |
1e9d7a |
BuildRequires: python3-six
|
|
rdobuilder |
1e9d7a |
BuildRequires: python3-sphinx
|
|
rdobuilder |
1e9d7a |
Requires: python3-six
|
|
rdobuilder |
1e9d7a |
Requires: python3-setuptools
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
%{?python_provide:%python_provide python3-%{pname}}
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
%description -n python3-%{pname}
|
|
rdobuilder |
1e9d7a |
A Scss compiler for Python
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
%prep
|
|
rdobuilder |
1e9d7a |
%autosetup -n %{pypi_name}-%{version}
|
|
rdobuilder |
1e9d7a |
# Change shebang according to Python version
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
# Fix shebangs
|
|
rdobuilder |
1e9d7a |
%py3_shebang_fix .
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
%build
|
|
rdobuilder |
1e9d7a |
%py3_build
|
|
rdobuilder |
1e9d7a |
# build documentationx
|
|
rdobuilder |
1e9d7a |
cd docs
|
|
rdobuilder |
1e9d7a |
make SPHINXBUILD=sphinx-build-3 man
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
%install
|
|
rdobuilder |
1e9d7a |
%py3_install
|
|
rdobuilder |
1e9d7a |
chmod +x %{buildroot}%{python3_sitearch}/scss/tool.py
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
# install man page
|
|
rdobuilder |
1e9d7a |
mkdir -p %{buildroot}%{_mandir}/man1/
|
|
rdobuilder |
1e9d7a |
cp -ar docs/_build/man/pyscss.1 %{buildroot}%{_mandir}/man1/pyscss.1
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
%files -n python3-%{pname}
|
|
rdobuilder |
1e9d7a |
%doc DESCRIPTION README.rst
|
|
rdobuilder |
1e9d7a |
%license LICENSE
|
|
rdobuilder |
1e9d7a |
%{python3_sitearch}/*
|
|
rdobuilder |
1e9d7a |
%{_bindir}/pyscss
|
|
rdobuilder |
1e9d7a |
%{_bindir}/less2scss
|
|
rdobuilder |
1e9d7a |
%{_mandir}/man1/pyscss.1.gz
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
%changelog
|
|
rdobuilder |
1e9d7a |
* Mon Mar 06 2023 Alfredo Moralejo <amoralej@redhat.com> - 1.4.0-1
|
|
rdobuilder |
1e9d7a |
- Update to 1.4.0
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-10
|
|
rdobuilder |
1e9d7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-9
|
|
rdobuilder |
1e9d7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.3.7-8
|
|
rdobuilder |
1e9d7a |
- Rebuilt for Python 3.11
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-7
|
|
rdobuilder |
1e9d7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-6
|
|
rdobuilder |
1e9d7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.3.7-5
|
|
rdobuilder |
1e9d7a |
- Rebuilt for Python 3.10
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-4
|
|
rdobuilder |
1e9d7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-3
|
|
rdobuilder |
1e9d7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.3.7-2
|
|
rdobuilder |
1e9d7a |
- Rebuilt for Python 3.9
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Mon Apr 20 2020 Matthias Runge <mrunge@redhat.com> - 1.3.7-1
|
|
rdobuilder |
1e9d7a |
- rebase to 1.3.7
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-10
|
|
rdobuilder |
1e9d7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.5-9
|
|
rdobuilder |
1e9d7a |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.5-8
|
|
rdobuilder |
1e9d7a |
- Rebuilt for Python 3.8
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-7
|
|
rdobuilder |
1e9d7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-6
|
|
rdobuilder |
1e9d7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Tue Jan 22 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.5-5
|
|
rdobuilder |
1e9d7a |
- Subpackage python2-scss has been removed
|
|
rdobuilder |
1e9d7a |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-4
|
|
rdobuilder |
1e9d7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.3.5-3
|
|
rdobuilder |
1e9d7a |
- Rebuilt for Python 3.7
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Mon Mar 19 2018 Jan Beran
|
|
rdobuilder |
1e9d7a |
- Fix of python3-scss requires both Python 2 and Python 3 (rhbz #1546811)
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Wed Feb 21 2018 Matthias Runge <mrunge@redhat.com> - 1.3.5-1
|
|
rdobuilder |
1e9d7a |
- update to 1.3.5
|
|
rdobuilder |
1e9d7a |
- add gcc to buildrequires
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-12
|
|
rdobuilder |
1e9d7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Tue Jan 30 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.3.4-11
|
|
rdobuilder |
1e9d7a |
- Update Python 2 dependency declarations to new packaging standards
|
|
rdobuilder |
1e9d7a |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-10
|
|
rdobuilder |
1e9d7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-9
|
|
rdobuilder |
1e9d7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-8
|
|
rdobuilder |
1e9d7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.3.4-7
|
|
rdobuilder |
1e9d7a |
- Rebuild for Python 3.6
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Fri Nov 25 2016 Matthias Runge <mrunge@redhat.com> - 1.3.4-6
|
|
rdobuilder |
1e9d7a |
- add requires: python-pathlib (rhbz#1299228)
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-5
|
|
rdobuilder |
1e9d7a |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Fri Jul 1 2016 Haïkel Guémar <hguemar@fedoraproject.org> - 1.3.4-4
|
|
rdobuilder |
1e9d7a |
- Drop incorrect provides
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Fri Jul 01 2016 Matthias Runge <mrunge@redhat.com> - 1.3.4-3
|
|
rdobuilder |
1e9d7a |
- fix provides/package names
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-2
|
|
rdobuilder |
1e9d7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Mon Jul 13 2015 Matthias Runge <mrunge@redhat.com> - 1.3.4-1
|
|
rdobuilder |
1e9d7a |
- update to 1.3.4, requirement for fix FTBFS for python-django-pyscss
|
|
rdobuilder |
1e9d7a |
(rhbz#1239832)
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
|
|
rdobuilder |
1e9d7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Tue Oct 07 2014 Matthias Runge <mrunge@redhat.com> - 1.2.1-1
|
|
rdobuilder |
1e9d7a |
- update to 1.2.1 (rhbz#1148966)
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-5
|
|
rdobuilder |
1e9d7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
|
|
rdobuilder |
1e9d7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Tue Feb 25 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 1.2.0-3
|
|
rdobuilder |
1e9d7a |
- Require python-setuptools as thats needed for the binary to work
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Wed Nov 06 2013 Patrick Uiterwijk <puiterwijk@gmail.com> - 1.2.0-2
|
|
rdobuilder |
1e9d7a |
- Buildrequire set to python2-devel
|
|
rdobuilder |
1e9d7a |
- Added buildrequire pcre-devel
|
|
rdobuilder |
1e9d7a |
- Changed URL to Source
|
|
rdobuilder |
1e9d7a |
- Added -a to cp to retain timestamp
|
|
rdobuilder |
1e9d7a |
|
|
rdobuilder |
1e9d7a |
* Thu Oct 17 2013 Patrick Uiterwijk <puiterwijk@gmail.com> - 1.2.0-1
|
|
rdobuilder |
1e9d7a |
- Initial packaging
|
|
rdobuilder |
1e9d7a |
|