|
|
70622d |
Name: libwvstreams
|
|
|
70622d |
Version: 4.6.1
|
|
|
70622d |
Release: 11%{?dist}
|
|
|
70622d |
Summary: WvStreams is a network programming library written in C++
|
|
|
70622d |
Source: http://wvstreams.googlecode.com/files/wvstreams-%{version}.tar.gz
|
|
|
70622d |
#fixed multilib issue (bug #192717)
|
|
|
70622d |
Patch1: wvstreams-4.2.2-multilib.patch
|
|
|
70622d |
#install-xplc target was missing
|
|
|
70622d |
Patch2: wvstreams-4.5-noxplctarget.patch
|
|
|
70622d |
#Fix parallel build (#226061)
|
|
|
70622d |
Patch3: wvstreams-4.6.1-make.patch
|
|
|
70622d |
#sys/stat.h is missing some files in rawhide build
|
|
|
70622d |
Patch4: wvstreams-4.6.1-statinclude.patch
|
|
|
70622d |
#const X509V3_EXT_METHOD * -> X509V3_EXT_METHOD * conversion not allowed
|
|
|
70622d |
#by rawhide gcc
|
|
|
70622d |
Patch5: wvstreams-4.6.1-gcc.patch
|
|
|
70622d |
# fix missing unistd.h header for gcc 4.7
|
|
|
70622d |
Patch6: wvstreams-4.6.1-gcc47.patch
|
|
|
70622d |
Patch7: wvstreams-4.6.1-magic.patch
|
|
|
70622d |
URL: https://code.google.com/p/wvstreams/
|
|
|
70622d |
Group: System Environment/Libraries
|
|
|
70622d |
BuildRequires: openssl-devel, pkgconfig, zlib-devel, readline-devel, dbus-devel
|
|
|
70622d |
License: LGPLv2+
|
|
|
70622d |
|
|
|
70622d |
%description
|
|
|
70622d |
WvStreams aims to be an efficient, secure, and easy-to-use library for
|
|
|
70622d |
doing network applications development.
|
|
|
70622d |
|
|
|
70622d |
%package devel
|
|
|
70622d |
Summary: Development files for WvStreams
|
|
|
70622d |
Group: Development/Libraries
|
|
|
70622d |
Requires: %{name} = %{version}-%{release}
|
|
|
70622d |
|
|
|
70622d |
%description devel
|
|
|
70622d |
WvStreams aims to be an efficient, secure, and easy-to-use library for
|
|
|
70622d |
doing network applications development. This package contains the files
|
|
|
70622d |
needed for developing applications which use WvStreams.
|
|
|
70622d |
|
|
|
70622d |
%package static
|
|
|
70622d |
Summary: Static libraries files for WvStreams
|
|
|
70622d |
Group: Development/Libraries
|
|
|
70622d |
|
|
|
70622d |
%description static
|
|
|
70622d |
WvStreams aims to be an efficient, secure, and easy-to-use library for
|
|
|
70622d |
doing network applications development. This package contains static libraries.
|
|
|
70622d |
|
|
|
70622d |
%prep
|
|
|
70622d |
%setup -q -n wvstreams-%{version}
|
|
|
70622d |
%patch1 -p1 -b .multilib
|
|
|
70622d |
%patch2 -p1 -b .xplctarget
|
|
|
70622d |
%patch3 -p1 -b .make
|
|
|
70622d |
%patch4 -p1 -b .statinclude
|
|
|
70622d |
%patch5 -p1 -b .gcc
|
|
|
70622d |
%patch6 -p1 -b .gcc47
|
|
|
70622d |
%patch7 -p1 -b .magic
|
|
|
70622d |
|
|
|
70622d |
%build
|
|
|
70622d |
|
|
|
70622d |
export CXXFLAGS="$RPM_OPT_FLAGS -fPIC -fpermissive -fno-strict-aliasing -fno-tree-dce -fno-optimize-sibling-calls"
|
|
|
70622d |
export CFLAGS="$RPM_OPT_FLAGS -fPIC -fno-strict-aliasing"
|
|
|
70622d |
|
|
|
70622d |
# --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
|
|
70622d |
# --with-dbus DBUS
|
|
|
70622d |
# --with-openssl OpenSSL >= 0.9.7 (required)
|
|
|
70622d |
# --with-pam PAM
|
|
|
70622d |
# --with-tcl Tcl
|
|
|
70622d |
# --with-qt Qt
|
|
|
70622d |
# --with-zlib zlib (required)
|
|
|
70622d |
touch configure
|
|
|
70622d |
%configure --with-dbus=yes \
|
|
|
70622d |
--with-pam \
|
|
|
70622d |
--with-openssl \
|
|
|
70622d |
--without-tcl \
|
|
|
70622d |
--with-qt=no \
|
|
|
70622d |
--disable-optimization # -O2 will be turned on because of RPM_OPT_FLAFS,
|
|
|
70622d |
# but it won't be appended at the end of CFLAGS
|
|
|
70622d |
|
|
|
70622d |
#upstream is working with .a lib, so hardcoding path to libdbus-1.so to prevent build failures
|
|
|
70622d |
make %{?_smp_mflags}
|
|
|
70622d |
|
|
|
70622d |
%install
|
|
|
70622d |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
70622d |
chmod 755 $RPM_BUILD_ROOT%{_libdir}/*.so.*
|
|
|
70622d |
rm -fr $RPM_BUILD_ROOT/usr/bin
|
|
|
70622d |
|
|
|
70622d |
pushd $RPM_BUILD_ROOT
|
|
|
70622d |
rm -f \
|
|
|
70622d |
./etc/uniconf.conf \
|
|
|
70622d |
.%{_bindir}/uni \
|
|
|
70622d |
.%{_libdir}/pkgconfig/libwvqt.pc \
|
|
|
70622d |
.%{_sbindir}/uniconfd \
|
|
|
70622d |
.%{_mandir}/man8/uni.8* \
|
|
|
70622d |
.%{_mandir}/man8/uniconfd.8* \
|
|
|
70622d |
.%{_var}/lib/uniconf/uniconfd.ini
|
|
|
70622d |
popd
|
|
|
70622d |
|
|
|
70622d |
%files
|
|
|
70622d |
%defattr(-,root,root,-)
|
|
|
70622d |
%doc LICENSE README
|
|
|
70622d |
%{_libdir}/*.so.*
|
|
|
70622d |
|
|
|
70622d |
%files devel
|
|
|
70622d |
%defattr(-,root,root,-)
|
|
|
70622d |
%{_includedir}/wvstreams
|
|
|
70622d |
%{_libdir}/*.so
|
|
|
70622d |
%{_libdir}/valgrind/*.supp
|
|
|
70622d |
%{_libdir}/pkgconfig/*.pc
|
|
|
70622d |
|
|
|
70622d |
%files static
|
|
|
70622d |
%defattr(-,root,root,-)
|
|
|
70622d |
%{_libdir}/*.a
|
|
|
70622d |
|
|
|
70622d |
%post -p /sbin/ldconfig
|
|
|
70622d |
%postun -p /sbin/ldconfig
|
|
|
70622d |
|
|
|
70622d |
%changelog
|
|
|
70622d |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 4.6.1-11
|
|
|
70622d |
- Mass rebuild 2014-01-24
|
|
|
70622d |
|
|
|
70622d |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 4.6.1-10
|
|
|
70622d |
- Mass rebuild 2013-12-27
|
|
|
70622d |
|
|
|
70622d |
* Tue Jul 09 2013 Michal Sekletar <msekleta@redhat.com> - 4.6.1-9
|
|
|
70622d |
- put static libraries into subpackage
|
|
|
70622d |
- disable strict aliasing optimizations to prevent warnings and possible crashes
|
|
|
70622d |
- fix changelog dates
|
|
|
70622d |
|
|
|
70622d |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6.1-8
|
|
|
70622d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
70622d |
|
|
|
70622d |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6.1-7
|
|
|
70622d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
70622d |
|
|
|
70622d |
* Thu Jun 14 2012 Michal Sekletar <msekleta@redhat.com> - 4.6.1-6
|
|
|
70622d |
- Disabled optimizations which caused crash related to #812651
|
|
|
70622d |
|
|
|
70622d |
* Mon Jun 04 2012 Michal Sekletar <msekleta@redhat.com> - 4.6.1-5
|
|
|
70622d |
- Fix crashes caused by compiler optimizations, #812651
|
|
|
70622d |
|
|
|
70622d |
* Thu Jan 05 2012 Jan Synáček <jsynacek@redhat.com> - 4.6.1-4
|
|
|
70622d |
- Fix missing unistd.h header for gcc 4.7
|
|
|
70622d |
|
|
|
70622d |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6.1-3
|
|
|
70622d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
70622d |
|
|
|
70622d |
* Tue Jan 12 2010 Ondrej Vasik <ovasik@redhat.com> - 4.6.1-2
|
|
|
70622d |
- Merge review changes: added few comments, do not use "-fpermissive"
|
|
|
70622d |
for COPTS, use parallel build (#226061)
|
|
|
70622d |
|
|
|
70622d |
* Thu Nov 12 2009 Ondrej Vasik <ovasik@redhat.com> - 4.6.1-1
|
|
|
70622d |
- new upstream release 4.6.1
|
|
|
70622d |
|
|
|
70622d |
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 4.6-5
|
|
|
70622d |
- rebuilt with new openssl
|
|
|
70622d |
|
|
|
70622d |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6-4
|
|
|
70622d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
70622d |
|
|
|
70622d |
* Sat Jun 27 2009 Ondrej Vasik <ovasik@redhat.com> - 4.6-3
|
|
|
70622d |
- another fix for build with dbus(#479144)
|
|
|
70622d |
|
|
|
70622d |
* Sat Jun 27 2009 Ondrej Vasik <ovasik@redhat.com> - 4.6-2
|
|
|
70622d |
- add build requires for dbus-devel, build with libdbus-1.so
|
|
|
70622d |
(#479144)
|
|
|
70622d |
- fix multilib issue with wvautoconf.h(#508418)
|
|
|
70622d |
|
|
|
70622d |
* Thu Jun 11 2009 Ondrej Vasik <ovasik@redhat.com> - 4.6-1
|
|
|
70622d |
- new upstream release with dynamically linked dbus(#479144)
|
|
|
70622d |
|
|
|
70622d |
* Fri Feb 27 2009 Ondrej Vasik <ovasik@redhat.com> - 4.5.1-5
|
|
|
70622d |
- fix rebuild failure with gcc 4.4
|
|
|
70622d |
|
|
|
70622d |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5.1-4
|
|
|
70622d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
70622d |
|
|
|
70622d |
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 4.5.1-3
|
|
|
70622d |
- rebuild with new openssl
|
|
|
70622d |
|
|
|
70622d |
* Fri Jan 09 2009 Ondrej Vasik <ovasik@redhat.com> - 4.5.1-2
|
|
|
70622d |
- do not remove libwvdbus.pc (#479144)
|
|
|
70622d |
|
|
|
70622d |
* Thu Jan 08 2009 Ondrej Vasik <ovasik@redhat.com> - 4.5.1-1
|
|
|
70622d |
- new upstream release 4.5.1 , removed applied patches
|
|
|
70622d |
- activate --with-dbus(#479144)
|
|
|
70622d |
|
|
|
70622d |
* Fri Nov 21 2008 Ondrej Vasik <ovasik@redhat.com> - 4.5-1
|
|
|
70622d |
- new upstream release
|
|
|
70622d |
- fixed issue with missing install-xplc target and std::sort
|
|
|
70622d |
missing gcc-4.3 error
|
|
|
70622d |
- updated optional configure options list in spec file
|
|
|
70622d |
|
|
|
70622d |
* Fri Aug 29 2008 Ondrej Vasik <ovasik@redhat.com> - 4.4.1-5
|
|
|
70622d |
- patch fuzz clean up
|
|
|
70622d |
|
|
|
70622d |
* Tue Feb 12 2008 Ondrej Vasik <ovasik@redhat.com> - 4.4.1-4
|
|
|
70622d |
- gcc43 rebuild, climits instead limits.h usage
|
|
|
70622d |
|
|
|
70622d |
* Wed Dec 05 2007 Ondrej Vasik <ovasik@redhat.com> - 4.4.1-3
|
|
|
70622d |
- rebuilt because of new OpenSSL
|
|
|
70622d |
|
|
|
70622d |
* Wed Nov 28 2007 Ondrej Vasik <ovasik@redhat.com> - 4.4.1-2
|
|
|
70622d |
- no use of obsolete sa_restorer(#402531- by Oliver Falk)
|
|
|
70622d |
|
|
|
70622d |
* Mon Oct 22 2007 Ondrej Vasik <ovasik@redhat.com> - 4.4.1-1
|
|
|
70622d |
- version 4.4.1
|
|
|
70622d |
|
|
|
70622d |
* Fri Aug 17 2007 Harald Hoyer <harald@rawhide.home> - 4.4-1
|
|
|
70622d |
- version 4.4
|
|
|
70622d |
- changed license tag to LGPLv2+
|
|
|
70622d |
|
|
|
70622d |
* Thu Jun 28 2007 Harald Hoyer <harald@redhat.com> - 4.3-2
|
|
|
70622d |
- added static libs, esp. xplc-cxx
|
|
|
70622d |
|
|
|
70622d |
* Thu Jun 28 2007 Harald Hoyer <harald@redhat.com> - 4.3-1
|
|
|
70622d |
- version 4.3
|
|
|
70622d |
|
|
|
70622d |
* Wed Apr 18 2007 Harald Hoyer <harald@redhat.com> - 4.2.2-4
|
|
|
70622d |
- specfile review
|
|
|
70622d |
|
|
|
70622d |
* Wed Jan 24 2007 Harald Hoyer <harald@redhat.com> - 4.2.2-3
|
|
|
70622d |
- fixed code for new g++ version
|
|
|
70622d |
|
|
|
70622d |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 4.2.2-2.1
|
|
|
70622d |
- rebuild
|
|
|
70622d |
|
|
|
70622d |
* Fri Jun 02 2006 Harald Hoyer <harald@redhat.com> 4.2.2-2
|
|
|
70622d |
- more corrections to multilib patch (bug #192717)
|
|
|
70622d |
|
|
|
70622d |
* Wed May 24 2006 Harald Hoyer <harald@redhat.com> 4.2.2-1
|
|
|
70622d |
- version 4.2.2
|
|
|
70622d |
- fixed multilib issue (bug #192717)
|
|
|
70622d |
|
|
|
70622d |
* Fri Mar 10 2006 Bill Nottingham <notting@redhat.com> - 4.2.1-2
|
|
|
70622d |
- rebuild for ppc TLS issue (#184446)
|
|
|
70622d |
|
|
|
70622d |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.2.1-1.2
|
|
|
70622d |
- bump again for double-long bug on ppc(64)
|
|
|
70622d |
|
|
|
70622d |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.2.1-1.1
|
|
|
70622d |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
70622d |
|
|
|
70622d |
* Mon Dec 19 2005 Harald Hoyer <harald@redhat.com> 4.2.1-1
|
|
|
70622d |
- version 4.2.1
|
|
|
70622d |
|
|
|
70622d |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
70622d |
- rebuilt
|
|
|
70622d |
|
|
|
70622d |
* Wed Nov 9 2005 Tomas Mraz <tmraz@redhat.com> 3.75.0-6
|
|
|
70622d |
- rebuilt against new openssl
|
|
|
70622d |
- the gcc4 patch shouldn't be used anymore
|
|
|
70622d |
|
|
|
70622d |
* Mon Mar 14 2005 Harald Hoyer <harald@redhat.com> 3.75.0-5
|
|
|
70622d |
- gcc4 patch added
|
|
|
70622d |
|
|
|
70622d |
* Wed Mar 2 2005 Jindrich Novy <jnovy@redhat.com> 3.75.0-4
|
|
|
70622d |
- rebuilt
|
|
|
70622d |
|
|
|
70622d |
* Wed Feb 09 2005 Harald Hoyer <harald@redhat.com>
|
|
|
70622d |
- rebuilt
|
|
|
70622d |
|
|
|
70622d |
* Mon Jun 28 2004 Harald Hoyer <harald@redhat.com> 3.75.0-2
|
|
|
70622d |
- added libwvstreams-3.75.0-stringbuf.patch (114996)
|
|
|
70622d |
|
|
|
70622d |
* Mon Jun 21 2004 Harald Hoyer <harald@redhat.com> 3.75.0-1
|
|
|
70622d |
- version 3.75.0
|
|
|
70622d |
|
|
|
70622d |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
70622d |
- rebuilt
|
|
|
70622d |
|
|
|
70622d |
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
70622d |
- rebuilt
|
|
|
70622d |
|
|
|
70622d |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
70622d |
- rebuilt
|
|
|
70622d |
|
|
|
70622d |
* Fri Oct 10 2003 Nalin Dahyabhai <nalin@redhat.com> 3.70-12
|
|
|
70622d |
- link libwvstreams shared libs against libcrypt, upon which they depend
|
|
|
70622d |
|
|
|
70622d |
* Mon Sep 8 2003 Nalin Dahyabhai <nalin@redhat.com> 3.70-11
|
|
|
70622d |
- rebuild
|
|
|
70622d |
|
|
|
70622d |
* Mon Sep 8 2003 Nalin Dahyabhai <nalin@redhat.com> 3.70-10
|
|
|
70622d |
- rebuild
|
|
|
70622d |
|
|
|
70622d |
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
70622d |
- rebuilt
|
|
|
70622d |
|
|
|
70622d |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
70622d |
- rebuilt
|
|
|
70622d |
|
|
|
70622d |
* Tue Jan 7 2003 Nalin Dahyabhai <nalin@redhat.com> 3.70-7
|
|
|
70622d |
- rebuild
|
|
|
70622d |
|
|
|
70622d |
* Fri Jan 3 2003 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
70622d |
- correct an const/not-const type mismatch that breaks compilation with newer
|
|
|
70622d |
OpenSSL
|
|
|
70622d |
- add flags from pkgconfig so that OpenSSL is always found
|
|
|
70622d |
|
|
|
70622d |
* Tue Sep 10 2002 Mike A. Harris <mharris@redhat.com> 3.70-6
|
|
|
70622d |
- use FHS macros for multilib systems
|
|
|
70622d |
|
|
|
70622d |
* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com>
|
|
|
70622d |
- rebuilt with gcc-3.2 (we hope)
|
|
|
70622d |
|
|
|
70622d |
* Mon Jul 22 2002 Tim Powers <timp@redhat.com>
|
|
|
70622d |
- rebuild using gcc-3.2-0.1
|
|
|
70622d |
|
|
|
70622d |
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
70622d |
- automated rebuild
|
|
|
70622d |
|
|
|
70622d |
* Sun May 26 2002 Tim Powers <timp@redhat.com>
|
|
|
70622d |
- automated rebuild
|
|
|
70622d |
|
|
|
70622d |
* Mon May 20 2002 Nalin Dahyabhai <nalin@redhat.com> 3.70-1
|
|
|
70622d |
- patch to build with gcc 3.x
|
|
|
70622d |
- build with -fPIC
|
|
|
70622d |
|
|
|
70622d |
* Wed Apr 10 2002 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
70622d |
- update to 3.70
|
|
|
70622d |
|
|
|
70622d |
* Wed Mar 27 2002 Nalin Dahyabhai <nalin@redhat.com> 3.69-1
|
|
|
70622d |
- pull in from upstream tarball
|
|
|
70622d |
|
|
|
70622d |
* Wed Feb 27 2002 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
70622d |
- merge the main and -devel packages into one .spec file
|
|
|
70622d |
- use globbing to shorten the file lists
|
|
|
70622d |
- don't define name, version, and release as macros (RPM does this by default)
|
|
|
70622d |
- use the License: tag instead of Copyright: (equivalent at the package level,
|
|
|
70622d |
but License: reflects the intent of the tag better)
|
|
|
70622d |
- use a URL to point to the source of the source tarball
|
|
|
70622d |
- add BuildRequires: openssl-devel (libwvcrypto uses libcrypto)
|
|
|
70622d |
- move the buildroot to be under %%{_tmppath}, so that it can be moved by
|
|
|
70622d |
altering RPM's configuration
|
|
|
70622d |
|
|
|
70622d |
* Tue Jan 29 2002 Patrick Patterson <ppatters@nit.ca>
|
|
|
70622d |
- Initial Release of WvStreams
|