Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ldan86
CGAL
libcgal9.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libcgal9.spec of Package CGAL
# # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %global soname 9 Name: libcgal%{soname} Version: 4.0.2 Release: 1 License: GPL-3.0; LGPL-3.0 Summary: Computational Geometry Algorithms Library Url: http://www.cgal.org/ Group: Productivity/Graphics/CAD Source: CGAL-%{version}.tar.xz BuildRequires: blas BuildRequires: boost-devel BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gmp-devel BuildRequires: lapack BuildRequires: libqt4-devel BuildRequires: mpfr-devel BuildRequires: xz BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Libraries for CGAL applications. CGAL is a collaborative effort of several sites in Europe and Israel. The goal is to make the most important of the solutions and methods developed in computational geometry available to users in industry and academia in a C++ library. The goal is to provide easy access to useful, reliable geometric algorithms. %package -n libcgal-devel Summary: Development files and tools for CGAL applications Group: Development/Libraries/Other Requires: %{name} = %{version} Requires: blas Requires: boost-devel Requires: cmake Requires: gmp-devel Requires: lapack Requires: mpfr-devel Requires: qt-devel Requires: zlib-devel %description -n libcgal-devel This package provides the headers files and tools you may need to develop applications using CGAL. %package -n cgal-examples Summary: Examples and demos of CGAL algorithms Group: Documentation Requires: libcgal-devel = %{version} %description -n cgal-examples This package provides the sources of examples and demos of CGAL algorithms. %prep %setup -q -n CGAL-%{version} %build mkdir _build pushd _build cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCGAL_INSTALL_LIB_DIR=%{_lib} .. make VERBOSE=1 %{?_smp_mflags} popd %install pushd _build %make_install popd # remove documentation in datadir rm -rf %{buildroot}%{_datadir}/doc/CGAL-%{version}/ %if 0%{?suse_version} %fdupes %{buildroot}%{_datadir} %endif %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS LICENSE LICENSE.FREE_USE LICENSE.LGPL CHANGES %{_libdir}/libCGAL*.so.%{soname}* %files -n libcgal-devel %defattr(-,root,root,-) %{_includedir}/CGAL %{_libdir}/libCGAL*.so %{_libdir}/CGAL %{_bindir}/* %{_mandir}/man1/cgal_create_cmake_script.1* %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