File stund.spec of Package stund

Name:           stund
Version:        0.96
Release:        1
License:        Vovida Software License 1.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          Dummy
Summary:        STUN Server and Client
BuildRequires:  gcc-c++ libstdc++-devel openssl-devel
Source0:        stund_0.96_Aug13.tgz
Patch0:         stund.patch

%description
My Dummy Package for testing

%prep
%setup -q -n stund
%patch0

%build
make

%install
DIR=%buildroot/usr/sbin
mkdir -p $DIR
for f in client server; do
    install -m 755 $f $DIR/stun-$f
done

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
/usr/sbin/*
openSUSE Build Service is sponsored by