Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:linkedprojecttest
mingw32-gl2ps
mingw32-gl2ps.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-gl2ps.spec of Package mingw32-gl2ps
# # spec file for package mingw32-gl2ps # # Copyright (c) 2019 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 so_ver 1 %define _name gl2ps Name: mingw32-%{_name} Version: 1.4.0 Release: 0 Summary: OpenGL to PostScript Printing Library License: LGPL-2.0+ or SUSE-GL2PS-2.0 Group: Development/Libraries/C and C++ Url: http://www.geuz.org/gl2ps/ Source0: http://geuz.org/gl2ps/src/%{_name}-%{version}.tgz # PATCH-FIX-UPSTREAM no-copy-dt-needed-entries.patch asterios.dramis@gmail.com -- Fix linking with --no-copy-dt-needed-entries Patch0: no-copy-dt-needed-entries.patch Patch1: 0001-detect-mingw.patch Patch2: 0001-install-dll-bin.patch Patch3: 0001-dont-force-empty-prefix.patch Patch4: 0001-fix-win32-doc-install-path.patch BuildRequires: mingw32-cross-cmake BuildRequires: mingw32-cross-gcc BuildRequires: mingw32-freeglut-devel BuildRequires: mingw32-libpng-devel BuildRequires: mingw32-zlib-devel %if 0%{?sles_version} BuildRequires: mingw32-Mesa-devel %else BuildRequires: pkgconfig(gl) %endif %if 0%{?suse_version} > 1230 #BuildRequires: libXi-devel #BuildRequires: libXmu-devel %endif %_mingw32_package_header_debug BuildArch: noarch %description GL2PS is a C library providing vector output for any OpenGL application. It uses sorting algorithms capable of handling intersecting and stretched polygons, as well as non-manifold objects. GL2PS provides smooth shading and text rendering, culling of invisible primitives and mixed vector/bitmap output. GL2PS can create PostScript (PS), Encapsulated PostScript (EPS), Portable Document Format (PDF) and Scalable Vector Graphics (SVG) files, as well as LaTeX files for the text fragments. It also provides limited, experimental support for Portable LaTeX Graphics (PGF). The pstoedit program can also be used to transform the PostScript files generated by GL2PS into many other vector formats such as xfig, cgm, wmf, etc. %package devel Summary: Development files for GL2PS Group: Development/Libraries/C and C++ Requires: mingw32-libgl2ps%{so_ver} = %{version} %description devel This package provides development libraries and headers needed to build software using GL2PS. %package -n mingw32-libgl2ps%{so_ver} Summary: OpenGL to PostScript Printing Library Group: System/Libraries %description -n mingw32-libgl2ps%{so_ver} GL2PS is a C library providing vector output for any OpenGL application. It uses sorting algorithms capable of handling intersecting and stretched polygons, as well as non-manifold objects. GL2PS provides smooth shading and text rendering, culling of invisible primitives and mixed vector/bitmap output. %_mingw32_debug_package %prep %setup -q -n %{_name}-%{version}-source %patch -P 0 %patch -P 1 -p1 %patch -P 2 -p1 %patch -P 3 -p1 %patch -P 4 -p1 %build %_mingw32_cmake %_mingw32_cmake_build %install %_mingw32_cmake_install # Remove doc files (they are installed in the %%files section) rm -rf %{buildroot}%{_mingw32_datadir}/doc/gl2ps/ %files devel %defattr(-,root,root,-) %doc COPYING.GL2PS COPYING.LGPL README.txt gl2ps.pdf gl2psTest*.c %{_mingw32_includedir}/gl2ps.h %{_mingw32_libdir}/libgl2ps.* %files -n mingw32-libgl2ps%{so_ver} %defattr(-,root,root,-) %{_mingw32_bindir}/libgl2ps*.dll %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