Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Akoellh
QTeXEngine_BR
libQTeXEngine1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libQTeXEngine1.spec of Package QTeXEngine_BR
# # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild %define thename QTeXEngine %define sover 1 Name: lib%{thename}%{sover} Version: 0.3 Release: 0 Summary: Export QPainter graphics to TeX Group: Development/Libraries/C and C++ License: GPL-3.0+ Url: http://soft.proindependent.com/qtexengine/ BuildRequires: unzip %if 0%{?suse_version} BuildRequires: fdupes BuildRequires: libqt4-devel >= 4.5 %define qmake qmake #%define lupdate lupdate #%define lrelease lrelease %else if 0%{?fedora_version}%{?centos_version} BuildRequires: qt-devel >= 1:4.5 BuildRequires: gcc-c++ %define qmake qmake-qt4 #%define lupdate lupdate-qt4 #%define lrelease lrelease-qt4 %endif Source: %{thename}-%{version}-opensource.zip Patch1: 1-shared-lib.patch Patch2: 2-example.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on %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. Authors: -------- Ion Vasilief %package -n %{thename}-devel Summary: Export QPainter graphics to TeX Group: Development/Libraries/C and C++ Requires: lib%{thename}%{sover} = %{version} %description -n %{thename}-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. Authors: -------- Ion Vasilief %debug_package %prep %setup -q -n %{thename} %patch1 -p1 %patch2 -p1 sed -i 's/\r//' doc/Doxyfile sed -i 's/\r//' README.txt rm -rf example/.svn sed -i 's/\r//' example/* %build %qmake make %install mkdir -p $RPM_BUILD_ROOT/%{_libdir}/ install -m 0644 lib%{thename}.* $RPM_BUILD_ROOT/%{_libdir} mkdir -p $RPM_BUILD_ROOT/%{_includedir}/ install -m 0644 src/%{thename}.h $RPM_BUILD_ROOT/%{_includedir} %if 0%{?suse_version} %fdupes $RPM_BUILD_ROOT %endif %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libQTeXEngine.so.* %files -n %{thename}-devel %defattr(-,root,root) %{_libdir}/libQTeXEngine.so %{_includedir}/* %doc doc/* example %doc README.txt COPYING.txt %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