4840a44
Summary:		Simplify TCP/IP socket operations
4840a44
Name:		vanessa_socket
4840a44
Version:		0.0.12
247b850
Release:		18%{?dist}
4840a44
License:		LGPLv2+
4840a44
URL:			http://www.vergenet.net/linux/vanessa/
4840a44
Source0:		http://www.vergenet.net/linux/vanessa/download/%{name}/%{version}/%{name}-%{version}.tar.bz2
4840a44
Requires:		vanessa_logger >= 0.0.8
acc3331
BuildRequires: make
4840a44
BuildRequires:	automake autoconf libtool vanessa_logger-devel >= 0.0.8
4840a44
4840a44
%description
4840a44
Library to simplify TCP/IP socket operations. Includes code to
4840a44
open a socket to a server as a client, to listen on socket for
4840a44
clients as a server and to pipe information between sockets.
4840a44
4840a44
%package		devel
4840a44
Summary:		Headers and static libraries for development
4840a44
Requires:		%{name} = %{version}-%{release}
4840a44
Requires:		vanessa_logger-devel >= 0.0.8
4840a44
4840a44
%description devel
4840a44
Headers and static libraries required to develop against libvanessa_socket.
4840a44
4840a44
%package		pipe
4840a44
Summary:		Trivial TCP/IP pipe build using libvanessa_adt
4840a44
License:		GPLv2+
4840a44
Requires:		%{name} = %{version}-%{release}
4840a44
# Epel5 have not popt-devel package
4840a44
%if 0%{?fedora}%{?rhel} > 5
4840a44
BuildRequires:	popt-devel
4840a44
%endif
4840a44
4840a44
%description pipe
4840a44
A TCP/IP pipe is a user space programme that listens for TCP/IP connections on
4840a44
port on the local host and when a client connects makes a connection to a
4840a44
TCP/IP port, possibly on another host. Once both connections are established
4840a44
data sent on one connection is relayed to the other, hence forming a
4840a44
bi-directional pipe.
4840a44
4840a44
Uses include enabling connections to specific ports on hosts behind a
4840a44
packet filter.
4840a44
4840a44
This code is intended primarily as an example of how many of the
4840a44
features of libvanessa_socket work.
4840a44
4840a44
%prep
4840a44
%setup -q
4840a44
4840a44
%build
4840a44
%configure --disable-static
4840a44
4840a44
# Disable Rpath for x86_64
4840a44
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
4840a44
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
4840a44
4840a44
make %{?_smp_mflags}
4840a44
4840a44
%install
4840a44
rm -rf %{buildroot}
4840a44
make DESTDIR=%{buildroot} install
4840a44
4840a44
rm -f %{buildroot}%{_libdir}/*.*a
4840a44
4840a44
b519854
%ldconfig_scriptlets
4840a44
4840a44
%files
4840a44
%{_libdir}/*.so.*
4840a44
%doc README COPYING ChangeLog
4840a44
4840a44
%files devel
4840a44
%{_includedir}/*.h
4840a44
%{_libdir}/*.so
4840a44
%{_libdir}/pkgconfig/*
4840a44
4840a44
%files pipe
4840a44
%{_bindir}/vanessa_socket_pipe
4840a44
%{_mandir}/man1/vanessa_socket_pipe.*
4840a44
%doc README vanessa_socket_pipe/COPYING
4840a44
4840a44
%changelog
247b850
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.12-18
247b850
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
247b850
ddae731
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.12-17
ddae731
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ddae731
4451406
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.12-16
4451406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4451406
b7e6d66
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.12-15
b7e6d66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b7e6d66
e4853a8
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.12-14
e4853a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e4853a8
8a53d89
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.12-13
8a53d89
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
8a53d89
55fa902
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.12-12
55fa902
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
55fa902
127662a
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.12-11
127662a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
127662a
15b7ca0
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.12-10
15b7ca0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
15b7ca0
2437f28
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.12-9
2437f28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2437f28
c95a8a9
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.12-8
c95a8a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c95a8a9
4db736b
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.12-7
4db736b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4db736b
e00f132
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.12-6
e00f132
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e00f132
25aa093
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.12-5
25aa093
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
25aa093
b9ffa56
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.12-4
b9ffa56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b9ffa56
c4579e9
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.12-3
c4579e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c4579e9
3bf9b76
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.12-2
3bf9b76
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3bf9b76
4840a44
* Thu Mar 1 2012 Pavel Alexeev <Pahan@Hubbitus.info> - 0.0.12-1
4840a44
- Update to 0.0.12 version.
4840a44
4840a44
* Mon Jan 25 2010 Pavel Alexeev <Pahan@Hubbitus.info> - 0.0.10-8
4840a44
- Change License back to LGPLv2+, as clarified by Simon Horman - http://hg.vergenet.net/vanessa/vanessa_socket/rev/1e82bd57c239
4840a44
4840a44
* Mon Jan 25 2010 Pavel Alexeev <Pahan@Hubbitus.info> - 0.0.10-7
4840a44
- libvanessa_socket/vanessa_socket_daemon.c is GPLv2+, so all package License change to GPLv2+ from LGPLv2+ (Garrett Holmstrom)
4840a44
- Cut off strange issue vith rpath appeared only in x86_64 (thanks to Garrett Holmstrom, Joshua Roys)
4840a44
- Fix forgot version of vanessa_logger-devel >= 0.0.8 (thanks Michael Schwendt).
4840a44
4840a44
* Tue Jan 5 2010 Pavel Alexeev <Pahan@Hubbitus.info> - 0.0.10-6
4840a44
- Add %%{?_smp_mflags} for parallel build.
4840a44
- Remove hand  invoking autotuls, build with existing configure (thanks to Joshua Roys).
4840a44
- Requires: vanessa_logger updated to version 0.0.8
4840a44
4840a44
* Sun Dec 20 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.0.10-5
4840a44
- Update to 0.0.10 version.
4840a44
- BR up to vanessa_logger-devel >= 0.0.8
4840a44
- Add new files %%{_mandir}/man1/vanessa_gethostbyname.1.gz, %%{_bindir}/vanessa_gethostbyname
4840a44
4840a44
* Mon Aug 24 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.0.7-4
4840a44
- Historical ./configure with huge amount parameters replaced by %%configure macro.
4840a44
- Removed unnecessary requires /sbin/ldconfig
4840a44
- Removed the files README,COPYING from the devel package
4840a44
4840a44
* Sun Aug 23 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.0.7-3
4840a44
- Fix typo in condition (confgure.in instead of configure.in) (thanks to Andrew Colin Kissa)
4840a44
- In -pipe sabpackage Requires: %%{name}-%%{version} replaced by more precise: %%{name} = %%{version}-%%{release}
4840a44
- Add --add-missing flag to automake command and put it before autoheader.
4840a44
4840a44
* Tue Aug 18 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.0.7-2
4840a44
- Ressurect old http://hubbitus.net.ru/rpm/Fedora9/vanessa_socket/vanessa_socket-0.0.7-1.fc8.Hu.1.src.rpm.
4840a44
- Rename spec to classic %%{name}.spec.
4840a44
- Remove Hu part from release.
4840a44
- Strip some old comments and unneded commands/macroses.
4840a44
- Replace $RPM_BUILD_ROOT by %%{buildroot}.
4840a44
- Move %%doc README COPYING ChangeLog from devel to main package.
4840a44
- Old BuildPrereq tag replaced by BuildRequires.
4840a44
- Make setup quiet.
4840a44
- Remove *.*a files in %%install.
4840a44
- Move %%{_libdir}/*.so into -devel.
4840a44
- Add Requires(postun):	/sbin/ldconfig, Requires(post):	/sbin/ldconfig, and %%post/%%postun ldconfig invoke.
4840a44
- Add COPYING also in %%doc of -devel, README in all packages.
4840a44
- Add --disable-static in configure options (with it .la file not produced).
4840a44
- License changed to LGPLv2+ for main package and to GPLv2+.
4840a44
4840a44
* Mon Dec 31 2007 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] info> - 0.0.7-1
4840a44
- Replace Tag Copyright by License
4840a44
- Change BuildRoot:	to correct (intead of hardcoded path): %%{_tmppath}/%%{name}-%%{version}-%%{release}-%%(%%{__id_u} -n)
4840a44
- Reformat all with tabs
4840a44
- Delete (Comment out) %%define prefix	/usr
4840a44
- Change from Release:	1 to Release:	%%{rel}%%{?dist}.Hu.0
4840a44
- For package pipe Change BuildRequires: popt to BuildRequires: popt-devel
4840a44
4840a44
* Fri Dec 14 2001 Horms <horms@verge.net.au>
4840a44
  Revamped configure to use %%{_libdir} and friends. This should be more
4840a44
  distribution indepentant. With thanks to Scot W. Hetzel <scot@genroco.com>
4840a44
* Fri Dec 14 2001 Horms <horms@verge.net.au>
4840a44
  Use %%configure and %%{_libdir} and friends. This should be more
4840a44
  distribution indepentant. With thanks to Scot W. Hetzel <scot@genroco.com>
4840a44
* Mon Feb 12 2001 Horms <horms@verge.net.au>
4840a44
  Added manual page for vanessa_socket_pipe
4840a44
* Sat Sep 2 2000 Horms <horms@verge.net.au>
4840a44
  created for version 0.0.0