Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
QTeXEngine
QTeXEngine.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File QTeXEngine.spec of Package QTeXEngine
# # spec file for package libQTeXEngine1 # # Copyright (c) 2019 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define sover 1 Name: QTeXEngine Version: 0.6 Release: 1.1 Summary: Export QPainter graphics to TeX License: GPL-3.0-only Group: Development/Libraries/C and C++ URL: https://iondev.ro/qtexengine/index.html Source: %{name}-%{version}-opensource.zip BuildRequires: unzip BuildRequires: fdupes BuildRequires: libQt5Widgets-devel BuildRequires: libQt5PrintSupport-devel %description QTeXEngine was written as an add-on to QtiPlot, in order to enable the export of 2D plots to TeX. All drawing capabilities of the QPainter class used in QtiPlot are supported by QTeXEngine. QTeXEngine can generate TeX code using either Pgf or TikZ syntax. %package -n libQTeXEngine%{sover} Summary: Export QPainter graphics to TeX Group: Development/Libraries/C and C++ %description -n libQTeXEngine%{sover} QTeXEngine was written as an add-on to QtiPlot, in order to enable the export of 2D plots to TeX. All drawing capabilities of the QPainter class used in QtiPlot are supported by QTeXEngine. QTeXEngine can generate TeX code using either Pgf or TikZ syntax. %package devel Summary: Export QPainter graphics to TeX Group: Development/Libraries/C and C++ Requires: lib%{name}%{sover} = %{version} %description devel QTeXEngine was written as an add-on to QtiPlot, in order to enable the export of 2D plots to TeX. All drawing capabilities of the QPainter class used in QtiPlot are supported by QTeXEngine. QTeXEngine can generate TeX code using either Pgf or TikZ syntax. %prep %setup -q -n %{name} # remove Subversion/MacOS specific files find -ipath \*.svn\* -delete find -ipath \*.DS_Store\* -delete # remove spurious executable permissions find . -type f -exec chmod -x {} \; # remove spurious executable permissions sed -i 's/\r//' doc/Doxyfile CHANGES.txt example/* echo "CONFIG += QTeXEngineDll" >> config.pri echo "QT += printsupport" >> config.pri %build %qmake5 make %{_smp_mflags} %install mkdir -p %{buildroot}%{_libdir}/ install -m 0644 lib%{name}.* %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_includedir}/ install -m 0644 src/%{name}.h %{buildroot}%{_includedir} %fdupes %{buildroot} %post -n libQTeXEngine%{sover} -p /sbin/ldconfig %postun -n libQTeXEngine%{sover} -p /sbin/ldconfig %files -n libQTeXEngine%{sover} %defattr(-,root,root) %{_libdir}/libQTeXEngine.so.* %files devel %defattr(-,root,root) %doc doc/* example CHANGES.txt %license COPYING.txt %{_libdir}/libQTeXEngine.so %{_includedir}/* %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