Summary: A network programming library written in C++ Summary(pl): Biblioteka programowania sieciowego napisana w C++ Name: wvstreams Version: 3.70 Release: 4 License: LGPL Group: Libraries Source0: http://open.nit.ca/download/%{name}-%{version}.tar.gz # Source0-md5: 6fd341edd65d248f92338ba9e91a2875 Patch0: %{name}-rsapublickey.patch Patch1: %{name}-gcc3.patch URL: http://open.nit.ca/wvstreams/ 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 %patch1 -p1 %build # despite .fpic rules the same .o files are used for .a and .so - need -fPIC %{__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 \ PREFIX=$RPM_BUILD_ROOT%{_prefix} \ LIBDIR=$RPM_BUILD_ROOT%{_libdir} %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc src/README %attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel %defattr(644,root,root,755) %doc dox/html/* %attr(755,root,root) %{_libdir}/lib*.so %{_includedir}/wvstreams %files static %defattr(644,root,root,755) %{_libdir}/lib*.a