102 lines
2.9 KiB
RPMSpec
102 lines
2.9 KiB
RPMSpec
#
|
|
# spec file for package glpk (Version 4.28)
|
|
#
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: sisl
|
|
Version: 4.5.0
|
|
Release: 1
|
|
License: GPL v2 only
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Group: Development/Libraries/C and C++
|
|
Summary: SIntef Spline Library
|
|
Url: http://www.sintef.no/Informasjons--og-kommunikasjonsteknologi-IKT/Anvendt-matematikk/Fagomrader/Geometri/Prosjekter/The-SISL-Nurbs-Library/SISL-Homepage/
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
Patch0: %{name}-cmake-libdir.patch
|
|
BuildRequires: Mesa-devel gcc-c++ freeglut-devel cmake fdupes
|
|
|
|
%description
|
|
SISL contains all the necessary functionality for building applications needing free form geometry, including:
|
|
|
|
* Curve/surface creation.
|
|
* Curve/surface interrogation.
|
|
* Curve/surface manipulation.
|
|
* Curve/surface intersections for both NURBS and analytical geometry.
|
|
* Data reduction.
|
|
|
|
The high quality of the functionality and the high degree of accuracy in numerical calculations, has been developed to satisfy the exacting requirements arising when NURBS curves and surfaces are used in a CAD/CAM system.
|
|
|
|
|
|
%package doc
|
|
License: GPL v2 only
|
|
Summary: SIntef Spline Library
|
|
Group: Development/Libraries/C and C++
|
|
|
|
%description doc
|
|
This package contains user manual and user guide for SISL.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
#remove a backup file that shouldn't be in the tar ball, creating problems building the rpm build
|
|
rm doc/users_guide/raytracing.fig.bak
|
|
|
|
%build
|
|
mkdir build
|
|
cd build
|
|
export CXXFLAGS=$RPM_OPT_FLAGS
|
|
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR=%{_lib} ..
|
|
make
|
|
|
|
%install
|
|
cd build
|
|
%if 0%{sles_version} <= 11
|
|
%makeinstall
|
|
%else
|
|
%make_install
|
|
%endif
|
|
%fdupes -s $RPM_BUILD_ROOT
|
|
|
|
%clean
|
|
rm -rf "$RPM_BUILD_ROOT"
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/*
|
|
%{_includedir}/*
|
|
%doc README
|
|
%doc COPYING
|
|
|
|
%files doc
|
|
%defattr(-,root,root)
|
|
%doc doc/html doc/manual doc/users_guide
|
|
|
|
%changelog
|
|
* Thu Jul 03 2008 pgajdos@suse.cz
|
|
- updated to 4.28:
|
|
* Three wrapper routines xdlopen, xdlsym, and xdlclose, which
|
|
provide the shared library support, were added.
|
|
* A static linking to iODBC and MySQL libraries used in the
|
|
MathProg table drivers was replaced by a dynamic linking to
|
|
corresponding shared libraries.
|
|
* Compressed data file support was added.
|
|
* Command-line interface routines were added.
|
|
* bug fixes
|
|
* Mon May 19 2008 pgajdos@suse.cz
|
|
- sort_pool() defined as void [bnc#319454]
|
|
(void-function.patch)
|
|
* Mon Apr 07 2008 pgajdos@suse.cz
|
|
- fixed BuildRequires
|
|
* Thu Mar 27 2008 pgajdos@suse.cz
|
|
- initial version, moved from OBS (project home:akos_ladanyi)
|