Compare commits

..

No commits in common. "rawhide" and "f31" have entirely different histories.

5 changed files with 73 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/v1.0.1.tar.gz

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# vcglib
The vcglib package

View file

@ -1 +0,0 @@
Orphaned for 6+ weeks

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (v1.0.1.tar.gz) = 3dcc45941296cd7276bbb970de019472a7a2858e7028d465c0df2917009e5303797b8d896a89ac600693a97f529b95491a597af1e70743446877747a78d181e6

68
vcglib.spec Normal file
View file

@ -0,0 +1,68 @@
Summary: Visualization and Computer Graphics Library
Name: vcglib
Version: 1.0.1
Release: 1%{?dist}
License: GPLv2+ and GPLv3+
URL: http://vcg.isti.cnr.it/vcglib/
Source: https://github.com/cnr-isti-vclab/vcglib/archive/v%{version}.tar.gz
BuildRequires: sed
Requires: /usr/bin/pkg-config
Requires: eigen3 glibc-headers
%description
The Visualization and Computer Graphics Library (VCG for short) is a
open source portable C++ templated library for manipulation, processing
and displaying with OpenGL of triangle and tetrahedral meshes.
%package devel
Summary: Include files for vcglib
License: GPLv2+ and GPLv3+
Provides: vcglib-static = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Include files for vcglib
%global debug_package %{nil}
%prep
%setup -q
%build
find vcg img -name '*.cpp' | xargs -r rm
find . -name '*.h' -exec chmod a-x '{}' ';'
%install
mkdir -p %{buildroot}%{_includedir}/%{name}/wrap
cp -r vcg img %{buildroot}%{_includedir}/%{name}
cp -a wrap/*.h wrap/{gcache,gl,glw,igl,io_edgemesh,io_tetramesh,io_trimesh,math,minpack,mt,opensg,system} \
%{buildroot}%{_includedir}/%{name}/wrap
rm %{buildroot}%{_includedir}/%{name}/wrap/system/{getopt,qgetopt}.*
mkdir -p %{buildroot}%{_docdir}/%{name}
install -m 644 README.md %{buildroot}%{_docdir}/%{name}
mkdir -p %{buildroot}%{_datarootdir}/pkgconfig
cat > %{buildroot}%{_datarootdir}/pkgconfig/vcglib.pc << EOT
prefix=/usr
exec_prefix=${prefix}
Name: vcglib
Description: Visualization and Computer Graphics Library
Requires: eigen3
Version: 1.0.1
Libs:
Cflags: -I/usr/include/%{name}
EOT
%files
%license LICENSE.txt
%doc README.md
%files devel
%{_includedir}/%{name}
%{_datarootdir}/pkgconfig/vcglib.pc
%changelog
* Wed Apr 10 2019 J. Scheurich <mufti11@web.de> - 1.0.1
- initial RPM packaging