File nurbs.spec of Package nurbs

# norootforbuild

Name:          nurbs
License:       GPL
Group:         System/Libraries
Version:       1.0
Release:       0
Summary:       Rational Bezier curves and NURBS sample application
Source:        %name.tar.gz
BuildRequires: libqt4-devel gcc-c++
BuildRoot:     %{_tmppath}/%{name}-%{version}-build
AutoReqProv:    on

%description
Sample application for class 'Modelovanie kriviek a ploch (1)' (http://hark.sk/krivky)

%prep
%setup -q

%build
qmake -config release
make

%install
mkdir -p %{buildroot}%{_prefix}/bin
cp nurbs %{buildroot}%{_prefix}/bin

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_bindir}/%{name}

%changelog