Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
qscintilla-qt5
qscintilla-qt5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qscintilla-qt5.spec of Package qscintilla-qt5
# # spec file for package qscintilla-qt5 # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define sonum 13 %define debug_package_requires libqscintilla2-qt5-%{sonum} = %{version}-%{release} Name: qscintilla-qt5 Version: 2.10 Release: 0 Summary: C++ Editor Class Library License: GPL-3.0 Group: Development/Libraries/C and C++ Url: http://www.riverbankcomputing.co.uk/software/qscintilla/intro Source: http://downloads.sourceforge.net/project/pyqt/QScintilla2/QScintilla-%{version}/QScintilla_gpl-%{version}.tar.gz #PATCH-FIX-OPENSUSE: Adapt to the SuSE Qt5 build, rename qscintilla2 to qscintilla2-qt5: Patch0: %{name}.diff BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Designer) BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Widgets) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description QScintilla is a Qt port of Neil Hodgson's Scintilla C++ editor class. This is a Qt port from the original Scintilla class (http://www.scintilla.org/). This package is mainly used by eric, the Python IDE. %package -n libqscintilla2-qt5-%{sonum} Summary: C++ Editor Class Library Group: Development/Libraries/C and C++ Provides: qscintilla-qt5 = %{version} %description -n libqscintilla2-qt5-%{sonum} QScintilla is a Qt port of Neil Hodgson's Scintilla C++ editor class. This is a Qt port from the original Scintilla class (http://www.scintilla.org/). This package is mainly used by eric, the Python IDE. %package -n libqscintilla-qt5-devel Summary: C++ Editor Class Library Development Files Group: Development/Libraries/C and C++ Requires: libqscintilla2-qt5-%{sonum} = %{version} Requires: pkgconfig(Qt5Core) Requires: pkgconfig(Qt5PrintSupport) Requires: pkgconfig(Qt5Widgets) %description -n libqscintilla-qt5-devel QScintilla is a Qt port of Neil Hodgson's Scintilla C++ editor class. This is a Qt port from the original Scintilla class (http://www.scintilla.org/). This package is mainly used by eric, the Python IDE. %prep %setup -q -n QScintilla_gpl-%{version} %patch0 -p1 %build pushd Qt4Qt5 mv features/qscintilla2.prf features/qscintilla2-qt5.prf qmake-qt5 CONFIG+=c++11 make %{?_smp_mflags} popd pushd designer-Qt4Qt5 qmake-qt5 CONFIG+=c++11 make %{?_smp_mflags} popd %install pushd Qt4Qt5 make INSTALL_ROOT=%{buildroot} install popd pushd designer-Qt4Qt5 make INSTALL_ROOT=%{buildroot} install popd %post -n libqscintilla2-qt5-%{sonum} -p /sbin/ldconfig %postun -n libqscintilla2-qt5-%{sonum} -p /sbin/ldconfig %files -n libqscintilla2-qt5-%{sonum} %defattr(-,root,root) %doc NEWS README LICENSE %{_datadir}/qt5/qsci %{_datadir}/qt5/translations %{_datadir}/qt5/translations/qscintilla_*.qm %{_libdir}/libqscintilla2-qt5.so.%{sonum}* %files -n libqscintilla-qt5-devel %defattr(-,root,root) %{_includedir}/qt5/Qsci %{_includedir}/qt5/Qsci/* %{_libdir}/libqscintilla2-qt5.so %{_libdir}/qt5/plugins/designer/libqscintillaplugin-qt5.so %{_libdir}/qt5/mkspecs %{_libdir}/qt5/mkspecs/features %{_libdir}/qt5/mkspecs/features/qscintilla2-qt5.prf %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor