Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
libSNL
libSNL0_2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libSNL0_2.spec of Package libSNL
# # spec file for package libSNL0_2 # # Copyright (c) 2012 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: libSNL0_2 Version: 0.2 Release: 0 Summary: Simple Nurbs Library License: GPL-2.0+ Group: System/Libraries Url: http://libsnl.sourceforge.net Source0: libSNL-svn20100213.tar.bz2 Patch0: patch-libSNL-ptrList_h Patch1: patch-libSNL-build Patch2: libSNL-0.2-no-return-in-non-void-fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ %description libSNL is a library of routines used for the manipulation of NURBS curves and surfaces. %prep %setup -c -q mv libsnl/trunk/{license.txt,Doxyfile,src} . rm -Rf libsnl %patch0 -p1 %patch1 -p1 %patch2 -p1 %package devel Summary: Header files for the libSNL library Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Provides: libSNL-devel %description devel libSNL is a library of routines used for the manipulation of NURBS curves and surfaces. libSNL-devel provides the header file for the libSNL library. %build cd ${RPM_BUILD_DIR}/%{name}-%{version} export CFLAGS="$RPM_OPT_FLAGS" cd src make libSNL.so.%{version} %{?_smp_mflags} %install cd ${RPM_BUILD_DIR}/%{name}-%{version} rm -rf $RPM_BUILD_ROOT/* mkdir -p $RPM_BUILD_ROOT/%{_libdir} cp -P src/libSNL* $RPM_BUILD_ROOT/%{_libdir} chmod 755 $RPM_BUILD_ROOT/%{_libdir}/libSNL.so.%{version} mkdir -p $RPM_BUILD_ROOT/%{_includedir}/SNL cp src/*.h $RPM_BUILD_ROOT/%{_includedir}/SNL chmod 644 $RPM_BUILD_ROOT/%{_includedir}/SNL/* %clean rm -Rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libSNL.so.0.2 %doc license.txt %files devel %defattr(-,root,root) %{_includedir}/SNL/ %{_libdir}/libSNL.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