Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:repabuild
libquikgrid
libquikgrid.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libquikgrid.spec of Package libquikgrid
%define somajor 5 %define sominor 0 Name: libquikgrid%{somajor} Version: 05 Release: 6%{?dist} Summary: Grid generation and contouring source code Group: System Environment/Libraries License: LGPL URL: http://www.perspectiveedge.com/ Source0: qgsorc%{version}.zip Patch: libquikgrid05.diff BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: unzip gcc-c++ dos2unix %description QUIKGRID is a program which will read in a set of scattered data points (x, y, z) which represents a surface. The program will generate a grid from this data and then display the surface as a contour map, or as a 3d representation. %package -n libquikgrid-devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description -n libquikgrid-devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -c quikgrid %patch -p1 # extend the makefile with a target for libs cat <<EOF >>makefile libquikgrid.a: contour.o gridxtyp.o scatdata.o surfgrid.o xpand.o ar crv libquikgrid.a contour.o gridxtyp.o scatdata.o surfgrid.o xpand.o ranlib libquikgrid.a libquikgrid.so.%{somajor}.%{sominor}: contour.o gridxtyp.o scatdata.o surfgrid.o xpand.o gcc -shared -Wl,-soname,libquikgrid.so.%{somajor} \\ -o libquikgrid.so.%{somajor}.%{sominor} \\ contour.o gridxtyp.o scatdata.o surfgrid.o xpand.o strip libquikgrid.so.%{somajor}.%{sominor} EOF dos2unix lesser.txt dos2unix readme.txt %build make CXXFLAGS="$RPM_OPT_FLAGS -g" libquikgrid.a rm -f *.o make CXXFLAGS="$RPM_OPT_FLAGS -fPIC" libquikgrid.so.%{somajor}.%{sominor} %install install -d $RPM_BUILD_ROOT/%{_libdir} install libquikgrid.a $RPM_BUILD_ROOT/%{_libdir} install libquikgrid.so.%{somajor}.%{sominor} $RPM_BUILD_ROOT/%{_libdir} install -d $RPM_BUILD_ROOT/%{_includedir}/QuikGrid for i in *.h; do install $i $RPM_BUILD_ROOT/%{_includedir}/QuikGrid done (cd $RPM_BUILD_ROOT/%{_libdir} && \ ln -s libquikgrid.so.%{somajor}.%{sominor} libquikgrid.so.%{somajor} && \ ln -s libquikgrid.so.%{somajor} libquikgrid.so) %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc readme.txt lesser.txt %{_libdir}/libquikgrid.so.* %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -n libquikgrid-devel %defattr(-,root,root,-) %dir %{_includedir}/QuikGrid %defattr(644,root,root,-) %{_includedir}/QuikGrid/*.h %{_libdir}/libquikgrid.so %{_libdir}/libquikgrid.a %changelog * Mon Nov 24 2008 Rene van Paassen <M.M.vanPaassen@tudelft.nl> 05-6 - Trying to please rpmlint * Fri Nov 21 2008 Rene van Paassen <M.M.vanPaassen@tudelft.nl> 05-1 - Updated to version 05, added shared libraries, added devel rpm * Wed Jan 25 2006 repa <repa@lrcs024a.lr.tudelft.nl> - 03-1fc3 - Initial version
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