Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
opennurbs
opennurbs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opennurbs.spec of Package opennurbs
# # spec file for package opennurbs # # Copyright (c) 2013 SUSE LINUX Products 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/ # Name: opennurbs Version: 20121024 Release: 0 Summary: CAD, CAM, CAE, and computer graphics converters License: BSD-3-Clause Group: Productivity/Graphics/CAD Url: http://www.opennurbs.org/index.htm Source0: %{name}_%{version}.zip # PATCH-FIX-OPENSUSE opennurbs_20121024-build-shared.patch Patch0: opennurbs_20121024-build-shared.patch # PATCH-FIX-OPENSUSE opennurbs_20121024-compile-error.patch Patch1: opennurbs_20121024-compile-error.patch # PATCH-FIX-OPENSUSE opennurbs_20121024-no-time-and-date.patch Patch2: opennurbs_20121024-no-time-and-date.patch BuildRequires: gcc-c++ BuildRequires: unzip BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The openNURBS Initiative provides CAD, CAM, CAE, and computer graphics software developers the tools to accurately transfer 3-D geometry between applications. %package -n libopenNURBS0 Summary: Development files for %{name} Group: System/Libraries %description -n libopenNURBS0 The openNURBS Initiative provides CAD, CAM, CAE, and computer graphics software developers the tools to accurately transfer 3-D geometry between applications. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: libopenNURBS0 = %{version} Requires: zlib-devel %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q -n %{name}_%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 sed -i 's/\r//' faq.txt readme.txt %build export SUSE_ASNEEDED=0 make %{?_smp_mflags} XFLAGS="%optflags" %install mkdir -p %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_includedir}/%{name} install -m755 libopenNURBS.so %{buildroot}%{_libdir}/libopenNURBS.so.0 pushd %{buildroot}%{_libdir} ln -s libopenNURBS.so.0 libopenNURBS.so popd install -m644 *.h %{buildroot}%{_includedir}/%{name} mkdir %{buildroot}%{_includedir}/%{name}/zlib install -m644 zlib/*.h %{buildroot}%{_includedir}/%{name}/zlib %post -n libopenNURBS0 -p /sbin/ldconfig %postun -n libopenNURBS0 -p /sbin/ldconfig %files -n libopenNURBS0 %defattr(-,root,root,-) %doc faq.txt readme.txt %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/%{name} %{_libdir}/*.so %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