Summary: A network programming library written in C++ Summary(pl): Biblioteka programowania sieciowego napisana w C++ Name: wvstreams Version: 4.0.2 Release: 1 License: LGPL Group: Libraries Source0: http://www.csclub.uwaterloo.ca/~ja2morri/%{name}-%{version}.tar.gz # Source0-md5: ecb4e74ebaa1f45206f5d88eb34c5623 Patch0: %{name}-rsapublickey.patch URL: http://open.nit.ca/wvstreams/ BuildRequires: autoconf BuildRequires: automake BuildRequires: doxygen BuildRequires: libstdc++-devel BuildRequires: openssl-devel >= 0.9.7d Obsoletes: libwvstreams BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description WvStreams aims to be an efficient, secure, and easy-to-use library for doing network applications development. %description -l pl WvStreams próbuje być wydajną, bezpieczną i łatwą w użyciu biblioteką do tworzenia aplikacji sieciowych. %package devel Summary: Development files for WvStreams Summary(pl): Pliki developerskie dla WvStreams Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: libstdc++-devel Obsoletes: libwvstreams-devel %description devel WvStreams aims to be an efficient, secure, and easy-to-use library for doing network applications development. This package contains the files needed for developing applications which use WvStreams. %description devel -l pl WvStreams próbuje być wydajną, bezpieczną i łatwą w użyciu biblioteką do tworzenia aplikacji sieciowych. Pakiet ten zawiera pliki niezbędne do tworzenia aplikacji używających WvStreams. %package static Summary: Static wvstreams library Summary(pl): Statyczna biblioteka wvstreams Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static Static wvstreams library. %description static -l pl Statyczna wersja biblioteki wvstreams. %prep %setup -q #%patch0 -p1 #ugly hack - fix it cp include/wvsslhacks.h crypto cp include/wvtelephony.h telephony %build # despite .fpic rules the same .o files are used for .a and .so - need -fPIC %{__aclocal} %{__autoconf} %{__autoheader} cp -f /usr/share/automake/config.sub xplc %configure \ --without-vorbis %{__make} -j1 \ DEBUG=%{?debug:1}%{!?debug:0} \ CXX="%{__cxx}" \ CFLAGS="%{rpmcflags} -fPIC -DDEBUG=0 \$(OSDEFINE)" %{__make} doxygen %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc README ChangeLog %attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel %defattr(644,root,root,755) %doc Docs/doxy-html/* %attr(755,root,root) %{_libdir}/lib*.so %{_includedir}/wvstreams %files static %defattr(644,root,root,755) %{_libdir}/lib*.a