|
|
94a9462 |
%global srcname qutepart
|
|
|
94a9462 |
%global sum Code editor widget
|
|
|
9d5c42f |
%global desc_common \
|
|
|
9d5c42f |
Qutepart is a code editor widget for PyQt. Features: \
|
|
|
9d5c42f |
- Syntax highlighting for 196 languages. \
|
|
|
9d5c42f |
- Smart indentation for many languages. \
|
|
|
9d5c42f |
- Line numbers. \
|
|
|
9d5c42f |
- Bookmarks. \
|
|
|
9d5c42f |
- Advanced edit operations. \
|
|
|
9d5c42f |
- Matching braces highlighting. \
|
|
|
9d5c42f |
- Autocompletion based on document content. \
|
|
|
9d5c42f |
- Marking too long lines with red line. \
|
|
|
9d5c42f |
- Rectangular selection and copy-paste. \
|
|
|
9d5c42f |
- Linter marks support.
|
|
|
9d5c42f |
|
|
|
94a9462 |
Name: python-%{srcname}
|
|
|
1989eb8 |
Version: 3.1
|
|
|
da17a32 |
Release: 2%{?dist}
|
|
|
94a9462 |
Summary: %{sum}
|
|
|
94a9462 |
|
|
|
94a9462 |
License: LGPLv2+
|
|
|
94a9462 |
URL: https://github.com/hlamer/%{srcname}
|
|
|
94a9462 |
|
|
|
e700fcb |
Source0: %{url}/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
|
|
|
e700fcb |
# upstream script to run tests is not useful for Fedora package, use from v2.2 instead
|
|
|
e700fcb |
Source1: run_tests_fedora.py
|
|
|
94a9462 |
|
|
|
94a9462 |
BuildRequires: pcre-devel
|
|
|
94a9462 |
|
|
|
94a9462 |
BuildRequires: python3-qt5
|
|
|
94a9462 |
BuildRequires: python3-devel
|
|
|
94a9462 |
BuildRequires: python3-setuptools
|
|
|
94a9462 |
BuildRequires: python3-sphinx
|
|
|
94a9462 |
|
|
|
94a9462 |
BuildRequires: xorg-x11-server-Xvfb
|
|
|
94a9462 |
|
|
|
94a9462 |
%description
|
|
|
9d5c42f |
%{desc_common}
|
|
|
94a9462 |
|
|
|
94a9462 |
%package -n python3-%{srcname}
|
|
|
94a9462 |
Summary: %{sum}
|
|
|
2ab39d4 |
Requires: pcre
|
|
|
2ab39d4 |
Requires: python3-qt5
|
|
|
e700fcb |
Provides: python-%{srcname}
|
|
|
6883bdf |
Obsoletes: python2-%{srcname}
|
|
|
94a9462 |
|
|
|
94a9462 |
%description -n python3-%{srcname}
|
|
|
9d5c42f |
%{desc_common}
|
|
|
94a9462 |
|
|
|
94a9462 |
|
|
|
94a9462 |
%prep
|
|
|
e700fcb |
%setup -q -n %{srcname}-%{version}
|
|
|
94a9462 |
# disable PyQt5 mocking for sphinx
|
|
|
94a9462 |
sed -i -r 's,(MOCK_MODULES = \[).*\],\1],' doc/source/conf.py
|
|
|
6883bdf |
|
|
|
94a9462 |
%build
|
|
|
94a9462 |
%py3_build
|
|
|
94a9462 |
pushd doc
|
|
|
94a9462 |
sphinx-build-3 source html
|
|
|
94a9462 |
# E: non-standard-executable-perm
|
|
|
e700fcb |
#find -name \*.so |xargs chmod 0755
|
|
|
94a9462 |
# W: hidden-file-or-dir
|
|
|
e700fcb |
rm -r html/.buildinfo html/.doctrees
|
|
|
94a9462 |
|
|
|
94a9462 |
%install
|
|
|
94a9462 |
%py3_install
|
|
|
94a9462 |
|
|
|
94a9462 |
|
|
|
94a9462 |
%check
|
|
|
94a9462 |
pushd tests
|
|
|
e700fcb |
cp %{SOURCE1} .
|
|
|
e700fcb |
# do some fake X
|
|
|
68e0e4e |
xvfb-run -s '-screen :0 1024x768x16' %{__python3} run_tests_fedora.py
|
|
|
94a9462 |
|
|
|
94a9462 |
|
|
|
94a9462 |
%files -n python3-%{srcname}
|
|
|
94a9462 |
%license LICENSE
|
|
|
94a9462 |
%doc README.md ChangeLog todo.txt
|
|
|
e700fcb |
%doc doc/html/
|
|
|
94a9462 |
%{python3_sitearch}/%{srcname}*
|
|
|
94a9462 |
|
|
|
94a9462 |
|
|
|
94a9462 |
%changelog
|
|
|
da17a32 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-2
|
|
|
da17a32 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
da17a32 |
|
|
|
1989eb8 |
* Sun Dec 03 2017 Raphael Groner <projects.rg@smart.ms> - 3.1-1
|
|
|
1989eb8 |
- new version
|
|
|
1989eb8 |
|
|
|
2ae964d |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-7
|
|
|
2ae964d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
2ae964d |
|
|
|
44900e8 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-6
|
|
|
44900e8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
44900e8 |
|
|
|
68e0e4e |
* Tue Mar 28 2017 Raphael Groner <projects.rg@smart.ms> - 3.0.1-5
|
|
|
68e0e4e |
- explicitly set screen depth for tests: qt dropped support for depth 8
|
|
|
68e0e4e |
|
|
|
44b31ba |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-4
|
|
|
44b31ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
44b31ba |
|
|
|
b1e9b35 |
* Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 3.0.1-3
|
|
|
b1e9b35 |
- Rebuild for Python 3.6
|
|
|
b1e9b35 |
|
|
|
ba7d8d8 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-2
|
|
|
ba7d8d8 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
ba7d8d8 |
|
|
Raphael Groner |
f9178d0 |
* Wed Jun 15 2016 Raphael Groner <projects.rg@smart.ms> - 3.0.1-1
|
|
Raphael Groner |
f9178d0 |
- new version
|
|
Raphael Groner |
f9178d0 |
|
|
Raphael Groner |
f7bc6fa |
* Mon May 02 2016 Raphael Groner <projects.rg@smart.ms> - 3.0.0-2
|
|
Raphael Groner |
f7bc6fa |
- rebuild for new python3-qt5
|
|
Raphael Groner |
f7bc6fa |
|
|
|
e700fcb |
* Thu Apr 21 2016 Raphael Groner <projects.rg@smart.ms> - 3.0.0-1
|
|
|
e700fcb |
- bump to v3.0.0, now python3 only, rhbz#1328450
|
|
|
e700fcb |
|
|
|
6883bdf |
* Wed Mar 02 2016 Raphael Groner <projects.rg@smart.ms> - 2.2.3-1.20160229gitfdc29c7
|
|
|
6883bdf |
- use upstream master as post-release
|
|
|
6883bdf |
|
|
|
9d5c42f |
* Sun Feb 28 2016 Raphael Groner <projects.rg@smart.ms> - 2.2.3-1
|
|
|
9d5c42f |
- new version
|
|
|
6883bdf |
- use main version for python3, get rid of py3 patches
|
|
|
6883bdf |
- obsolete python2 package in Fedora 24+
|
|
|
9d5c42f |
|
|
|
61394a0 |
* Sat Feb 27 2016 Raphael Groner <projects.rg@smart.ms> - 2.2.2-6
|
|
|
083da82 |
- rebuild to validate dependencies (bug with librsvg-2.so.2)
|
|
|
083da82 |
|
|
|
76904ae |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-5
|
|
|
76904ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
76904ae |
|
|
|
fa209dc |
* Thu Nov 12 2015 Kalev Lember <klember@redhat.com> - 2.2.2-4
|
|
|
fa209dc |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
fa209dc |
|
|
|
94a9462 |
* Fri Nov 06 2015 Raphael Groner <projects.rg@smart.ms> - 2.2.2-3
|
|
|
94a9462 |
- add subpackages for python versioning
|
|
|
94a9462 |
- experimental python3 support
|
|
|
94a9462 |
|
|
|
94a9462 |
* Mon Oct 19 2015 Raphael Groner <projects.rg@smart.ms> - 2.2.2-2
|
|
|
94a9462 |
- take over from Jairo Llopis
|
|
|
94a9462 |
- cleanup generally
|
|
|
94a9462 |
- use LGPLv2 with "or later"
|
|
|
94a9462 |
- add more documentation files
|
|
|
94a9462 |
- execute tests
|
|
|
94a9462 |
- fix permissions
|
|
|
94a9462 |
- use new python macros
|
|
|
94a9462 |
- use virtual provides of python2 module
|
|
|
94a9462 |
|
|
|
94a9462 |
* Fri Aug 28 2015 Jairo Llopis <yajo.sk8@gmail.com> 2.2.2-1
|
|
|
94a9462 |
- New upstream version.
|
|
|
94a9462 |
|
|
|
94a9462 |
* Wed Aug 26 2015 Jairo Llopis <yajo.sk8@gmail.com> 2.2.0-7
|
|
|
94a9462 |
- Fix some permissions.
|
|
|
94a9462 |
- Remove Spanish descriptions, for easier maintenance.
|
|
|
94a9462 |
|
|
|
94a9462 |
* Mon May 4 2015 Jairo Llopis <yajo.sk8@gmail.com> 2.2.0-6
|
|
|
94a9462 |
- Fix license macro in SPEC.
|
|
|
94a9462 |
- Fix a couple of redundancies in SPEC.
|
|
|
94a9462 |
|
|
|
94a9462 |
* Thu Apr 30 2015 Jairo Llopis <yajo.sk8@gmail.com> 2.2.0-5
|
|
|
94a9462 |
- New upstream version.
|
|
|
94a9462 |
- Clear SPEC redundancies.
|
|
|
94a9462 |
- Force usage of Python 2 macros in SPEC.
|
|
|
94a9462 |
|
|
|
94a9462 |
* Fri Feb 6 2015 Jairo Llopis <yajo.sk8@gmail.com> 2.1.0-4
|
|
|
94a9462 |
- New upstream version.
|
|
|
94a9462 |
- Update descriptions and dependencies to match upstream SPEC.
|
|
|
94a9462 |
- Remove support for Fedora < 20.
|
|
|
94a9462 |
|
|
|
94a9462 |
* Mon Jul 7 2014 Jairo Llopis <yajo.sk8@gmail.com> 1.3.0-3
|
|
|
94a9462 |
- New upstream version.
|
|
|
94a9462 |
- Fix typo.
|
|
|
94a9462 |
|
|
|
94a9462 |
* Fri Oct 25 2013 Jairo Llopis <yajo.sk8@gmail.com> 1.1.0-2
|
|
|
94a9462 |
- Fix comments.
|
|
|
94a9462 |
- Fix translation.
|
|
|
94a9462 |
- Fix CFLAGS when building.
|
|
|
94a9462 |
- Fix license.
|
|
|
94a9462 |
|
|
|
94a9462 |
* Sun Sep 8 2013 Jairo Llopis <yajo.sk8@gmail.com> 1.1.0-1
|
|
|
94a9462 |
- Initial release.
|