LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File plochy.spec of Package plochy (Project home:granxarixia:private)

# norootforbuild

Name:          plochy
License:       GPL
Group:         System/Libraries
Version:       1.1
Release:       0
Summary:       Sample application for surface modeling class
Source:        %name-%version.tar.gz
BuildRequires: libqt4-devel gcc-c++ cmake
BuildRoot:     %{_tmppath}/%{name}-%{version}-build
AutoReqProv:    on

Sample application for class 'Modelovanie kriviek a ploch (2)' (http://hark.sk/plochy). Implements Bezier tensor-product and triangle patches, tensor-product B-spline patches and Coons patch. Model of cyclide is used to connet cylinder and a plane.

%setup -q

mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make

cd build && cmake -DCMAKE_INSTALL_PREFIX=%{buildroot}%{_prefix} .. && make install

rm -rf %{buildroot}