package created using the webbuild interface [release 1.4.2-1mamba;Mon May 06 2024]

This commit is contained in:
Silvan Calarco 2024-05-06 20:03:24 +02:00
parent 018293d54e
commit 94b3474edd
2 changed files with 81 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# gl2ps # gl2ps
An OpenGL to PostScript printing library.

79
gl2ps.spec Normal file
View File

@ -0,0 +1,79 @@
Name: gl2ps
Version: 1.4.2
Release: 1mamba
Summary: An OpenGL to PostScript printing library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://geuz.org/gl2ps/
Source: https://geuz.org/gl2ps/src/gl2ps-%{version}.tgz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libXi-devel
BuildRequires: libXmu-devel
BuildRequires: libfreeglut-devel
BuildRequires: libglu-devel
BuildRequires: libglvnd-devel
BuildRequires: libpng-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
An OpenGL to PostScript printing library.
%package -n lib%{name}
Group: System/Libraries
Summary: An OpenGL to PostScript printing library
%description -n lib%{name}
An OpenGL to PostScript printing library.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libgl2ps.so.*
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/gl2ps.h
%{_libdir}/libgl2ps.a
%{_libdir}/libgl2ps.so
%dir %{_docdir}/gl2ps
%{_docdir}/gl2ps/*
%doc README.txt
%changelog
* Mon May 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1mamba
- package created using the webbuild interface