qscintilla/qscintilla.spec

239 lines
7.6 KiB
RPMSpec

Name: qscintilla
Version: 2.14.1
Release: 1mamba
Summary: A port to Qt of Neil Hodgson's Scintilla C++ editor control
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.riverbankcomputing.com/software/qscintilla/
Source: https://www.riverbankcomputing.com/static/Downloads/QScintilla/%{version}/QScintilla_src-%{version}.tar.gz
Patch0: qscintilla-2.7.2-prepend-local-includes.patch
Patch1: qscintilla-2.10.8-designer-prepend-local-includes.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qttools-devel
## AUTOBUILDREQ-END
Provides: QScintilla2
Obsoletes: QScintilla2 < 2.21.0
%description
QScintilla is a port to Qt of the Scintilla editing component.
As well as features found in standard text editing components,
Scintilla includes features especially useful when editing and debugging source code:
* syntax styling with support for over 70 languages
* error indicators
* code completion
* call tips
* code folding
* margins can contain markers like those used in debuggers to indicate breakpoints and the current line.
* recordable macros
* multiple views printing.
%package devel
Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: QScintilla2-devel
Obsoletes: QScintilla2-devel < 2.21.0
%description devel
QScintilla is a port to Qt of the Scintilla editing component.
This package contains libraries and header files need for development.
%package designer
Summary: QScintilla designer plugin
Group: Development/Tools
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description designer
QScintilla is a port to Qt of the Scintilla editing component.
This package contains QScintilla designer plugin.
#% debug_package
%prep
%setup -q -n QScintilla_src-%{version}
%build
cd src
%{_qt5_qmake} qscintilla.pro
%make
cd ..
%ifnarch aarch64
cd designer
%{_qt5_qmake} designer.pro
%make
cd ..
%endif
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C src \
INSTALL_ROOT=%{buildroot}
%ifnarch aarch64
%makeinstall -C designer \
INSTALL_ROOT=%{buildroot}
%endif
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libqscintilla2_qt5.so.*
%{_qt5_datadir}/translations/qscintilla_*.qm
%dir %{_qt5_datadir}/qsci/api/python
%{_qt5_datadir}/qsci/api/python/*.api
%doc LICENSE
%files devel
%defattr(-,root,root)
%{_qt5_headerdir}/Qsci/*.h
%{_libdir}/libqscintilla2_qt5.so
%{_libdir}/qt5/mkspecs/features/qscintilla2.prf
%doc NEWS
%doc doc/html doc/Scintilla example
%ifnarch aarch64
%files designer
%defattr(-,root,root)
%{_qt5_prefix}/plugins/designer/libqscintillaplugin.so
%endif
%changelog
* Sun Jun 18 2023 Automatic Build System <autodist@mambasoft.it> 2.14.1-1mamba
- automatic version update by autodist
* Tue May 02 2023 Automatic Build System <autodist@mambasoft.it> 2.14.0-1mamba
- automatic version update by autodist
* Sun Jan 29 2023 Automatic Build System <autodist@mambasoft.it> 2.13.4-1mamba
- automatic version update by autodist
* Sun May 15 2022 Automatic Build System <autodist@mambasoft.it> 2.13.3-1mamba
- automatic version update by autodist
* Tue Mar 22 2022 Automatic Build System <autodist@mambasoft.it> 2.13.2-1mamba
- automatic version update by autodist
* Tue Dec 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.13.1-1mamba
- update to 2.13.1
* Sat Feb 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.0-1mamba
- update to 2.12.0
* Mon Apr 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11.4-4mamba
- python-qscintilla-py3: obsolete python-qscintilla
* Sun Apr 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11.4-3mamba
- python-qscintilla-devel: fix requirement for python-qscintilla -> python-qscintilla-py3
* Sun Apr 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11.4-2mamba
- fix requirements for python-sip
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11.4-1mamba
- update to 2.11.4
* Thu Oct 31 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11.2-4mamba
- rebuilt with python-sip 4.19.19
* Mon Aug 12 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11.2-3mamba
- move qt5 designer plugin from -devel to its own package
* Fri Aug 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11.2-2mamba
- python-qscintilla-py36: don't obsolete python-qscintilla-py3
* Fri Aug 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11.2-1mamba
- update to 2.11.2
* Fri Apr 05 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.8-3mamba
- python-qscintilla-py36: provide/obsolete python-qscintilla-py3
* Sun Mar 31 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.8-2mamba
- rebuilt
* Sun Jan 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.8-1mamba
- update to 2.10.8
* Sat Nov 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.4-4mamba
- added -py3 support
* Sat Nov 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.4-3mamba
- rebuilt with python-sip 4.16.4
* Sun Nov 02 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.4-2mamba
- x86_64: install python module in %python_sitearch
* Fri Sep 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.4-1mamba
- update to 2.8.4
* Tue Apr 01 2014 Automatic Build System <autodist@mambasoft.it> 2.8.1-1mamba
- automatic version update by autodist
* Wed Dec 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8-2mamba
- rebuilt with python-sip 4.15.3
* Sat Nov 09 2013 Automatic Build System <autodist@mambasoft.it> 2.8-1mamba
- automatic version update by autodist
* Fri Oct 04 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.2-3mamba
- rebuilt with python-sip 4.15.2
* Sat Jul 13 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.2-2mamba
- also repatch designer to build against built libraries instead of system installed
* Thu Jul 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.2-1mamba
- update to 2.7.2
- renamed from QScintilla2 to qscintilla
* Sun Nov 11 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.2-2mamba
- rebuild to link designer to current release
* Thu Aug 09 2012 Automatic Build System <autodist@mambasoft.it> 2.6.2-1mamba
- automatic version update by autodist
* Thu May 19 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.5.1-2mamba
- rebuilt with PyQt4 4.8.4
* Thu Apr 28 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.1-1mamba
- update to 2.5.1
* Fri Dec 24 2010 Automatic Build System <autodist@mambasoft.it> 2.4.6-1mamba
- automatic update by autodist
* Sat Nov 06 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.4.5-2mamba
- rebuilt with libqt 4.7.0
* Tue Sep 28 2010 Automatic Build System <autodist@mambasoft.it> 2.4.5-1mamba
- automatic update by autodist
* Mon Jul 19 2010 Automatic Build System <autodist@mambasoft.it> 2.4.4-1mamba
- automatic update by autodist
* Mon Apr 12 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.4.3-1mamba
- update to 2.4.3
* Wed Mar 10 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.4.2-1mamba
- update to 2.4.2
* Mon Dec 07 2009 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.4-2mamba
- fixed postun scriptlet
* Mon Dec 07 2009 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.4-1mamba
- update to 2.4
* Thu Nov 13 2008 gil <puntogil@libero.it> 2.3.1-1mamba
- package created by autospec