Matt Flood 2598509
Name:           rudesocket
Matt Flood 3ac1444
Version:        1.3.0
96c1a72
Release:        17%{?dist}
Matt Flood 2598509
Summary:        Library (C++ API) for creating client sockets
Matt Flood 2598509
Matt Flood 2598509
Group:          System Environment/Libraries
Matt Flood 2598509
License:        GPLv2+
Matt Flood 2598509
URL:            http://www.rudeserver.com/socket
694cdd3
Source0:        http://homeless.fedorapeople.org/rudesocket/rudesocket-%{version}.tar.bz2
694cdd3
Patch0:         rudesocket-1.3.0-leak-connection.patch
694cdd3
Patch1:         rudesocket-1.3.0-timeout.patch
Matt Flood 2598509
727c10e
# autoreconf
727c10e
BuildRequires: autoconf
727c10e
BuildRequires: automake
727c10e
BuildRequires: libtool
727c10e
Matt Flood 2598509
BuildRequires:  openssl-devel
Matt Flood 2598509
Requires:       openssl
Matt Flood 2598509
Matt Flood 2598509
%description
694cdd3
rudesocket is a library provides client socket services to an application.
Matt Flood 2598509
In addition to normal and SSL TCP connections, it supports 
Matt Flood 2598509
proxies, SOCK4 and SOCKS5 servers. Furthermore, it allows you 
Matt Flood 2598509
to chain proxies together.
Matt Flood 2598509
Matt Flood 2598509
%package        devel
694cdd3
Summary:        Development files for rudesocket
Matt Flood 2598509
Group:          Development/Libraries
694cdd3
Requires:       %{name}%{?_isa} = %{version}-%{release}
Matt Flood 2598509
Matt Flood 2598509
%description    devel
694cdd3
rudesocket is a library provides client socket services to an application.
Matt Flood 2598509
In addition to normal and SSL TCP connections, it supports 
Matt Flood 2598509
proxies, SOCK4 and SOCKS5 servers. Furthermore, it allows you 
694cdd3
to chain proxies together. The rudesocket-devel package 
Matt Flood 2598509
contains libraries, header files, and documentation needed 
694cdd3
to develop C++ applications using rudesocket. 
Matt Flood 2598509
Matt Flood 2598509
%prep
Matt Flood 2598509
%setup -q
694cdd3
%patch0 -p1 -b .leak
694cdd3
%patch1 -p1 -b .timeout
Matt Flood 2598509
Matt Flood 2598509
%build
727c10e
autoreconf --verbose --force --install
Matt Flood 2598509
%configure --disable-static --with-openssl
Matt Flood 2598509
make %{?_smp_mflags}
Matt Flood 2598509
Matt Flood 2598509
%install
Matt Flood 2598509
make install DESTDIR=$RPM_BUILD_ROOT
Matt Flood 2598509
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
Matt Flood 2598509
Matt Flood 2598509
%post -p /sbin/ldconfig
Matt Flood 2598509
Matt Flood 2598509
%postun -p /sbin/ldconfig
Matt Flood 2598509
Matt Flood 2598509
%files
Matt Flood 2598509
%doc AUTHORS COPYING README NEWS ChangeLog
Matt Flood 2598509
%{_libdir}/*.so.*
Matt Flood 2598509
Matt Flood 2598509
%files devel
Matt Flood 2598509
%doc 
Matt Flood 2598509
%dir %{_includedir}/rude
Matt Flood 2598509
%{_includedir}/rude/socket.h
Matt Flood 2598509
%{_libdir}/*.so
Matt Flood 2598509
%{_mandir}/man3/*
Matt Flood 2598509
Matt Flood 2598509
%changelog
96c1a72
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-17
96c1a72
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
96c1a72
65589a7
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.3.0-16
65589a7
- Rebuilt for GCC 5 C++11 ABI change
65589a7
bc59094
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-15
bc59094
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
bc59094
02df581
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-14
02df581
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
02df581
dec4023
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-13
dec4023
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
dec4023
727c10e
* Mon Mar 25 2013 Jiri Popelka <jpopelka@redhat.com> - 1.3.0-12
727c10e
- Run autoreconf prior to running configure (#926464)
727c10e
cfc862e
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-11
cfc862e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
cfc862e
aa27392
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-10
aa27392
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
aa27392
694cdd3
* Wed Apr 04 2012 Jiri Popelka <jpopelka@redhat.com> - 1.3.0-9
694cdd3
- fix hardcoded timeout and connection leaking (#665658)
694cdd3
- clean up spec file
694cdd3
9cf6116
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-8
9cf6116
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9cf6116
a581181
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-7
a581181
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a581181
fd3f381
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.3.0-6
fd3f381
- rebuilt with new openssl
fd3f381
5644979
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-5
5644979
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5644979
9bb67af
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-4
9bb67af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9bb67af
62ab646
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com>
62ab646
- 1.3.0-3
62ab646
- rebuild with new openssl
Matt Flood 6d65104
Matt Flood 6d65104
* Wed Feb 06 2008 Matt Flood <matt@rudeserver.com>
Matt Flood 6d65104
- 1.3.0-2
Matt Flood 6d65104
- Added missing include statement
Matt Flood 6d65104
Matt Flood 3ac1444
* Wed Feb 06 2008 Matt Flood <matt@rudeserver.com>
Matt Flood 3ac1444
- 1.3.0-1
Matt Flood 3ac1444
- Replaced std c includes with c++ style includes
Matt Flood 2598509
Matt Flood 2598509
* Tue Jan 29 2008 Matt Flood <matt@rudeserver.com>
Matt Flood 2598509
- 1.2.0-1
Matt Flood 2598509
- Modified source code to facilitate windows builds
Matt Flood 2598509
- Instead of configuring build to use openssl by default, 
Matt Flood 2598509
  it now requires ./configure --with-openssl to include 
Matt Flood 2598509
  openssl functionality
Matt Flood 2598509
Matt Flood 2598509
* Tue Jan 08 2008 Matt Flood <matt@rudeserver.com>
Matt Flood 2598509
- 1.1.0-3
Matt Flood 2598509
- Minor changes to build scripts
Matt Flood 2598509
Matt Flood 2598509
* Tue May 29 2007 Matt Flood <matt@rudeserver.com>
Matt Flood 2598509
- 1.1.0-2
Matt Flood 2598509
- Added Man Page
Matt Flood 2598509
- Minor changes to build scripts
Matt Flood 2598509
Matt Flood 2598509
* Thu Apr 10 2006 Matt Flood <matt@rudeserver.com>
Matt Flood 2598509
- 1.1.0-1
Matt Flood 2598509
- First RPM Release
Matt Flood 2598509