cvsdist 8c084ac
Name: libwvstreams
14a6515
Version: 4.6.1
4fc0bf0
Release: 24%{?dist}
f946ff2
Summary: WvStreams is a network programming library written in C++
f153828
Source: http://wvstreams.googlecode.com/files/wvstreams-%{version}.tar.gz
f75bb99
#fixed multilib issue (bug #192717)
f153828
Patch1: wvstreams-4.2.2-multilib.patch
f75bb99
#install-xplc target was missing
8f49cef
Patch2: wvstreams-4.5-noxplctarget.patch
249b594
#Fix parallel build (#226061)
249b594
Patch3: wvstreams-4.6.1-make.patch
4d7d1d0
#sys/stat.h is missing some files in rawhide build
4d7d1d0
Patch4: wvstreams-4.6.1-statinclude.patch
ffaafb6
#const X509V3_EXT_METHOD * -> X509V3_EXT_METHOD * conversion not allowed
ffaafb6
#by rawhide gcc
ffaafb6
Patch5: wvstreams-4.6.1-gcc.patch
645d685
# fix missing unistd.h header for gcc 4.7
645d685
Patch6: wvstreams-4.6.1-gcc47.patch
2c3b9aa
Patch7: wvstreams-4.6.1-magic.patch
1c90fd9
Patch8: 0001-Use-explicit-cast-and-prevent-compiler-error.patch
07dbc7d
URL: https://code.google.com/p/wvstreams/
cvsdist 8c084ac
Group: System Environment/Libraries
dc6dd81
BuildRequires: compat-openssl10-devel, pkgconfig, zlib-devel, readline-devel, dbus-devel
f153828
License: LGPLv2+
cvsdist 8c084ac
cvsdist 8c084ac
%description
cvsdist 8c084ac
WvStreams aims to be an efficient, secure, and easy-to-use library for
cvsdist 8c084ac
doing network applications development.
cvsdist 8c084ac
cvsdist 8c084ac
%package devel
f946ff2
Summary: Development files for WvStreams
cvsdist 8c084ac
Group: Development/Libraries
cvsdist 8c084ac
Requires: %{name} = %{version}-%{release}
cvsdist 8c084ac
cvsdist 8c084ac
%description devel
cvsdist 8c084ac
WvStreams aims to be an efficient, secure, and easy-to-use library for
cvsdist 8c084ac
doing network applications development.  This package contains the files
cvsdist 8c084ac
needed for developing applications which use WvStreams.
cvsdist 8c084ac
938ffd2
%package static
938ffd2
Summary: Static libraries files for WvStreams
938ffd2
Group: Development/Libraries
938ffd2
938ffd2
%description static
938ffd2
WvStreams aims to be an efficient, secure, and easy-to-use library for
938ffd2
doing network applications development. This package contains static libraries.
938ffd2
cvsdist 8c084ac
%prep
cvsdist 8c084ac
%setup -q -n wvstreams-%{version}
f153828
%patch1 -p1 -b .multilib
8f49cef
%patch2 -p1 -b .xplctarget
249b594
%patch3 -p1 -b .make
4d7d1d0
%patch4 -p1 -b .statinclude
ffaafb6
%patch5 -p1 -b .gcc
645d685
%patch6 -p1 -b .gcc47
2c3b9aa
%patch7 -p1 -b .magic
1c90fd9
%patch8 -p1 -b .cast
cvsdist 8c084ac
cvsdist 8c084ac
%build
7e8a909
7e8a909
export CXXFLAGS="$RPM_OPT_FLAGS -fPIC -fpermissive -fno-strict-aliasing -fno-tree-dce -fno-optimize-sibling-calls"
7e8a909
export CFLAGS="$RPM_OPT_FLAGS -fPIC -fno-strict-aliasing"
7e8a909
638534e
#  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
638534e
#  --with-dbus             DBUS
638534e
#  --with-openssl          OpenSSL >= 0.9.7 (required)
cvsdist 5895a38
#  --with-pam              PAM
cvsdist 5895a38
#  --with-tcl              Tcl
cvsdist 5895a38
#  --with-qt               Qt
638534e
#  --with-zlib             zlib (required)
1d3dd91
touch configure
7e8a909
%configure --with-dbus=yes \
7e8a909
           --with-pam \
7e8a909
           --with-openssl \
7e8a909
           --without-tcl \
7e8a909
           --with-qt=no \
7e8a909
           --disable-optimization # -O2 will be turned on because of RPM_OPT_FLAFS,
7e8a909
                                  # but it won't be appended at the end of CFLAGS
cvsdist 5895a38
f75bb99
#upstream is working with .a lib, so hardcoding path to libdbus-1.so to prevent build failures
7e8a909
make %{?_smp_mflags}
cvsdist 8c084ac
cvsdist 8c084ac
%install
cvsdist 5895a38
make install DESTDIR=$RPM_BUILD_ROOT
cvsdist 42b5d40
chmod 755 $RPM_BUILD_ROOT%{_libdir}/*.so.*
2e772bb
rm -fr $RPM_BUILD_ROOT/usr/bin
c02febf
c02febf
pushd $RPM_BUILD_ROOT
c02febf
rm -f \
c02febf
   ./etc/uniconf.conf \
a3439fb
   .%{_bindir}/uni \
a3439fb
   .%{_libdir}/pkgconfig/libwvqt.pc \
a3439fb
   .%{_sbindir}/uniconfd \
a3439fb
   .%{_mandir}/man8/uni.8* \
a3439fb
   .%{_mandir}/man8/uniconfd.8* \
a3439fb
   .%{_var}/lib/uniconf/uniconfd.ini
c02febf
popd
c02febf
cvsdist 8c084ac
%files
8f49cef
%defattr(-,root,root,-)
638534e
%doc LICENSE README
cvsdist 42b5d40
%{_libdir}/*.so.*
cvsdist 8c084ac
cvsdist 8c084ac
%files devel
8f49cef
%defattr(-,root,root,-)
cvsdist 42b5d40
%{_includedir}/wvstreams
cvsdist 42b5d40
%{_libdir}/*.so
fe3cfd0
%{_libdir}/valgrind/*.supp
c02febf
%{_libdir}/pkgconfig/*.pc
cvsdist 8c084ac
938ffd2
%files static
938ffd2
%defattr(-,root,root,-)
938ffd2
%{_libdir}/*.a
938ffd2
7c30214
%ldconfig_scriptlets
cvsdist 8c084ac
cvsdist 8c084ac
%changelog
4fc0bf0
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.1-24
4fc0bf0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4fc0bf0
7c30214
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.6.1-23
7c30214
- Switch to %%ldconfig_scriptlets
7c30214
a549d67
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 4.6.1-22
a549d67
- Rebuilt for switch to libxcrypt
a549d67
707c34b
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.1-21
707c34b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
707c34b
4bb6f82
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.1-20
4bb6f82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4bb6f82
dc6dd81
* Tue Feb 28 2017 Michal Sekletar <msekleta@redhat.com> - 4.6.1-19
dc6dd81
- Build against openssl-1.0.2 because package fails to build against openssl-1.1.0 (#1423893)
dc6dd81
dfa4250
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.1-18
dfa4250
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
dfa4250
Igor Gnatenko 41a8540
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 4.6.1-17
Igor Gnatenko 41a8540
- Rebuild for readline 7.x
Igor Gnatenko 41a8540
1c90fd9
* Tue Feb 09 2016 Michal Sekletar <msekleta@redhat.com> - 4.6.1-16
1c90fd9
- Fix invalid cast and prevent compilation error
1c90fd9
c4cc60b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.1-15
c4cc60b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c4cc60b
a5a765e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6.1-14
a5a765e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a5a765e
b2d462e
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 4.6.1-13
b2d462e
- Rebuilt for GCC 5 C++11 ABI change
b2d462e
59e3f36
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6.1-12
59e3f36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
59e3f36
10cff77
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6.1-11
10cff77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
10cff77
fe9fcf2
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6.1-10
fe9fcf2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fe9fcf2
938ffd2
* Tue Jul 09 2013 Michal Sekletar <msekleta@redhat.com> - 4.6.1-9
938ffd2
- put static libraries into subpackage
7e8a909
- disable strict aliasing optimizations to prevent warnings and possible crashes
68fb704
- fix changelog dates
938ffd2
eb3052b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6.1-8
eb3052b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
eb3052b
3678e31
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6.1-7
3678e31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3678e31
59d3a44
* Thu Jun 14 2012 Michal Sekletar <msekleta@redhat.com> - 4.6.1-6
59d3a44
- Disabled optimizations which caused crash related to #812651
59d3a44
2c3b9aa
* Mon Jun 04 2012 Michal Sekletar <msekleta@redhat.com> - 4.6.1-5
2c3b9aa
- Fix crashes caused by compiler optimizations, #812651
2c3b9aa
645d685
* Thu Jan 05 2012 Jan Synáček <jsynacek@redhat.com> - 4.6.1-4
645d685
- Fix missing unistd.h header for gcc 4.7
645d685
4585780
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6.1-3
4585780
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4585780
f75bb99
* Tue Jan 12 2010 Ondrej Vasik <ovasik@redhat.com> - 4.6.1-2
f75bb99
- Merge review changes: added few comments, do not use "-fpermissive"
425c733
  for COPTS, use parallel build (#226061)
f75bb99
14a6515
* Thu Nov 12 2009 Ondrej Vasik <ovasik@redhat.com> - 4.6.1-1
14a6515
- new upstream release 4.6.1
14a6515
23c3b6a
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 4.6-5
23c3b6a
- rebuilt with new openssl
23c3b6a
e0cac70
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6-4
e0cac70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e0cac70
bb02e52
* Sat Jun 27 2009 Ondrej Vasik <ovasik@redhat.com> - 4.6-3
bb02e52
- another fix for build with dbus(#479144)
bb02e52
108310a
* Sat Jun 27 2009 Ondrej Vasik <ovasik@redhat.com> - 4.6-2
108310a
- add build requires for dbus-devel, build with libdbus-1.so
108310a
  (#479144)
108310a
- fix multilib issue with wvautoconf.h(#508418)
108310a
b74a3b1
* Thu Jun 11 2009 Ondrej Vasik <ovasik@redhat.com> - 4.6-1
b74a3b1
- new upstream release with dynamically linked dbus(#479144)
b74a3b1
fe018b0
* Fri Feb 27 2009 Ondrej Vasik <ovasik@redhat.com> - 4.5.1-5
fe018b0
- fix rebuild failure with gcc 4.4
fe018b0
dd15231
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5.1-4
dd15231
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
dd15231
af330ee
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 4.5.1-3
af330ee
- rebuild with new openssl
af330ee
67ac9d5
* Fri Jan 09 2009 Ondrej Vasik <ovasik@redhat.com> - 4.5.1-2
67ac9d5
- do not remove libwvdbus.pc (#479144)
67ac9d5
8f49cef
* Thu Jan 08 2009 Ondrej Vasik <ovasik@redhat.com> - 4.5.1-1
8f49cef
- new upstream release 4.5.1 , removed applied patches
8f49cef
- activate --with-dbus(#479144)
8f49cef
68fb704
* Fri Nov 21 2008 Ondrej Vasik <ovasik@redhat.com> - 4.5-1
638534e
- new upstream release
638534e
- fixed issue with missing install-xplc target and std::sort
638534e
  missing gcc-4.3 error
638534e
- updated optional configure options list in spec file
638534e
68fb704
* Fri Aug 29 2008 Ondrej Vasik <ovasik@redhat.com> - 4.4.1-5
c65408d
- patch fuzz clean up
c65408d
59a8038
* Tue Feb 12 2008 Ondrej Vasik <ovasik@redhat.com> - 4.4.1-4
59a8038
- gcc43 rebuild, climits instead limits.h usage
59a8038
7e75412
* Wed Dec 05 2007 Ondrej Vasik <ovasik@redhat.com> - 4.4.1-3
7e75412
- rebuilt because of new OpenSSL
7e75412
fe3cfd0
* Wed Nov 28 2007 Ondrej Vasik <ovasik@redhat.com> - 4.4.1-2
fe3cfd0
- no use of obsolete sa_restorer(#402531- by Oliver Falk)
fe3cfd0
fe3cfd0
* Mon Oct 22 2007 Ondrej Vasik <ovasik@redhat.com> - 4.4.1-1
fe3cfd0
- version 4.4.1
fe3cfd0
f153828
* Fri Aug 17 2007 Harald Hoyer <harald@rawhide.home> - 4.4-1
f153828
- version 4.4
f153828
- changed license tag to LGPLv2+
f153828
cadb400
* Thu Jun 28 2007 Harald Hoyer <harald@redhat.com> - 4.3-2
cadb400
- added static libs, esp. xplc-cxx
cadb400
2e772bb
* Thu Jun 28 2007 Harald Hoyer <harald@redhat.com> - 4.3-1
2e772bb
- version 4.3
2e772bb
f946ff2
* Wed Apr 18 2007 Harald Hoyer <harald@redhat.com> - 4.2.2-4
f946ff2
- specfile review
f946ff2
349c2ed
* Wed Jan 24 2007 Harald Hoyer <harald@redhat.com> - 4.2.2-3
349c2ed
- fixed code for new g++ version
349c2ed
8a457ec
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 4.2.2-2.1
8a457ec
- rebuild
8a457ec
a3439fb
* Fri Jun 02 2006 Harald Hoyer <harald@redhat.com> 4.2.2-2
a3439fb
- more corrections to multilib patch (bug #192717)
a3439fb
1d3dd91
* Wed May 24 2006 Harald Hoyer <harald@redhat.com> 4.2.2-1
1d3dd91
- version 4.2.2
1d3dd91
- fixed multilib issue (bug #192717)
1d3dd91
f11cd83
* Fri Mar 10 2006 Bill Nottingham <notting@redhat.com> - 4.2.1-2
f11cd83
- rebuild for ppc TLS issue (#184446)
f11cd83
fea6a6d
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.2.1-1.2
fea6a6d
- bump again for double-long bug on ppc(64)
fea6a6d
eac89d9
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.2.1-1.1
eac89d9
- rebuilt for new gcc4.1 snapshot and glibc changes
eac89d9
c02febf
* Mon Dec 19 2005 Harald Hoyer <harald@redhat.com> 4.2.1-1
c02febf
- version 4.2.1
c02febf
d0fb3f8
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
d0fb3f8
- rebuilt
d0fb3f8
90e2d84
* Wed Nov  9 2005 Tomas Mraz <tmraz@redhat.com> 3.75.0-6
90e2d84
- rebuilt against new openssl
6624734
- the gcc4 patch shouldn't be used anymore
90e2d84
b68d32e
* Mon Mar 14 2005 Harald Hoyer <harald@redhat.com> 3.75.0-5
b68d32e
- gcc4 patch added
b68d32e
66e5252
* Wed Mar  2 2005 Jindrich Novy <jnovy@redhat.com> 3.75.0-4
66e5252
- rebuilt
66e5252
4e0bcf6
* Wed Feb 09 2005 Harald Hoyer <harald@redhat.com>
4e0bcf6
- rebuilt
4e0bcf6
68fb704
* Mon Jun 28 2004 Harald Hoyer <harald@redhat.com> 3.75.0-2
cvsdist 544dbd7
- added libwvstreams-3.75.0-stringbuf.patch (114996)
cvsdist 544dbd7
cvsdist 5895a38
* Mon Jun 21 2004 Harald Hoyer <harald@redhat.com> 3.75.0-1
cvsdist 5895a38
- version 3.75.0
cvsdist 5895a38
cvsdist 5895a38
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 5895a38
- rebuilt
cvsdist 5895a38
cvsdist 3e81837
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 3e81837
- rebuilt
cvsdist 3e81837
cvsdist 3e81837
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 3e81837
- rebuilt
cvsdist 3e81837
cvsdist 4d3e0ae
* Fri Oct 10 2003 Nalin Dahyabhai <nalin@redhat.com> 3.70-12
cvsdist 4d3e0ae
- link libwvstreams shared libs against libcrypt, upon which they depend
cvsdist 4d3e0ae
cvsdist 4d3e0ae
* Mon Sep  8 2003 Nalin Dahyabhai <nalin@redhat.com> 3.70-11
cvsdist 4d3e0ae
- rebuild
cvsdist 4d3e0ae
cvsdist 4d3e0ae
* Mon Sep  8 2003 Nalin Dahyabhai <nalin@redhat.com> 3.70-10
cvsdist 4d3e0ae
- rebuild
cvsdist 4d3e0ae
cvsdist 4d3e0ae
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 4d3e0ae
- rebuilt
cvsdist 4d3e0ae
cvsdist 42b5d40
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 42b5d40
- rebuilt
cvsdist 42b5d40
cvsdist 42b5d40
* Tue Jan  7 2003 Nalin Dahyabhai <nalin@redhat.com> 3.70-7
cvsdist 42b5d40
- rebuild
cvsdist 42b5d40
cvsdist 42b5d40
* Fri Jan  3 2003 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 42b5d40
- correct an const/not-const type mismatch that breaks compilation with newer
cvsdist 42b5d40
  OpenSSL
cvsdist 42b5d40
- add flags from pkgconfig so that OpenSSL is always found
cvsdist 42b5d40
cvsdist 42b5d40
* Tue Sep 10 2002 Mike A. Harris <mharris@redhat.com> 3.70-6
cvsdist 42b5d40
- use FHS macros for multilib systems
cvsdist 42b5d40
cvsdist 357bbe7
* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com>
cvsdist 357bbe7
- rebuilt with gcc-3.2 (we hope)
cvsdist 357bbe7
cvsdist 8d8d1f4
* Mon Jul 22 2002 Tim Powers <timp@redhat.com>
cvsdist 8d8d1f4
- rebuild using gcc-3.2-0.1
cvsdist 8d8d1f4
cvsdist 8c084ac
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 8c084ac
- automated rebuild
cvsdist 8c084ac
cvsdist 8c084ac
* Sun May 26 2002 Tim Powers <timp@redhat.com>
cvsdist 8c084ac
- automated rebuild
cvsdist 8c084ac
cvsdist 8c084ac
* Mon May 20 2002 Nalin Dahyabhai <nalin@redhat.com> 3.70-1
cvsdist 8c084ac
- patch to build with gcc 3.x
cvsdist 8c084ac
- build with -fPIC
cvsdist 8c084ac
cvsdist 8c084ac
* Wed Apr 10 2002 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 8c084ac
- update to 3.70
cvsdist 8c084ac
cvsdist 8c084ac
* Wed Mar 27 2002 Nalin Dahyabhai <nalin@redhat.com> 3.69-1
cvsdist 8c084ac
- pull in from upstream tarball
cvsdist 8c084ac
cvsdist 8c084ac
* Wed Feb 27 2002 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 8c084ac
- merge the main and -devel packages into one .spec file
cvsdist 8c084ac
- use globbing to shorten the file lists
cvsdist 8c084ac
- don't define name, version, and release as macros (RPM does this by default)
cvsdist 8c084ac
- use the License: tag instead of Copyright: (equivalent at the package level,
cvsdist 8c084ac
  but License: reflects the intent of the tag better)
cvsdist 8c084ac
- use a URL to point to the source of the source tarball
cvsdist 8c084ac
- add BuildRequires: openssl-devel (libwvcrypto uses libcrypto)
cvsdist 8c084ac
- move the buildroot to be under %%{_tmppath}, so that it can be moved by
cvsdist 8c084ac
  altering RPM's configuration
cvsdist 8c084ac
cvsdist 8c084ac
* Tue Jan 29 2002 Patrick Patterson <ppatters@nit.ca>
cvsdist 8c084ac
- Initial Release of WvStreams