Sophie

Sophie

distrib > Arklinux > devel > x86_64 > media > main-src > by-pkgid > 17f32942b4b8b4105d5b07fe769e00bd > files > 3

wvstreams-4.6.1-1ark.src.rpm

Name: wvstreams
Version: 4.6.1
Release: 1ark
Summary: C++ Network programming library
URL: http://alumnit.ca/wiki/index.php?page=DownloadReleases
Source: http://wvstreams.googlecode.com/files/%name-%version.tar.gz
Patch: wvstreams-4.6.1-build.patch
License: GPL
Group: Libraries/C++/Networking
BuildRoot: %_tmppath/%name-root

%description
C++ Network programming library

%package devel
Summary: Development files for %name
Group: Development/Libraries
Requires: %name = %version-%release

%description devel
Development files (Headers etc.) for %name.

%package static
Summary: Static libraries for linking to %name
Group: Development/Libraries
Requires: %name-devel = %version-%release

%description static
Static libraries for linking to %name.

Install this package if you wish to develop or compile applications using
%name statically (users of the resulting binary won't need %name installed
with static linking).

%prep
%setup
%patch -p1 -b .wvstreams~
%configure

%build
make #Not ready for ?_smp_mflags as of 4.6.1

%install
rm -rf $RPM_BUILD_ROOT
make %?_smp_mflags install DESTDIR="$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%_libdir/*.so.*
%_bindir/*
%_sbindir/uniconfd
%config %_sysconfdir/uniconf.conf
%_localstatedir/lib/uniconf
%_mandir/man8/*

%files devel
%defattr(-,root,root)
%_libdir/*.so
%_includedir/*
%_libdir/pkgconfig/*

%files static
%defattr(-,root,root)
%_libdir/*.a

%clean
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%name-%version

%changelog
* Tue Apr 04 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 4.2.2-1ark
- initial RPM