antinat/antinat.spec

Name: antinat
Summary: SOCKS4 and SOCKS5 compliant SOCKS server
Version: 0.90
Release: 1.2
License: GPL
Group: Applications/Internet
URL: http://yallara.cs.rmit.edu.au/~malsmith/products/antinat/
Description: A SOCKS server for SOCKS v4 and SOCKS v5.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Malcolm Smith <malxau$users,sourceforge,net>

### FIXME: Add sysv script using sysconfig file.

%define _datadir %{_libdir}

Summary: SOCKS4 and SOCKS5 compliant SOCKS server
Name: antinat
Version: 0.90
Release: 1.2%{?dist}
License: GPL
Group: Applications/Internet
URL: http://yallara.cs.rmit.edu.au/~malsmith/products/antinat/

Source: http://dl.sf.net/antinat/antinat-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: libds-devel >= 1.2.0
Requires: libds >= 1.2.0

%description
A SOCKS server for SOCKS v4 and SOCKS v5.

%package devel
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup

%{__perl} -pi.orig -e 's|\@LOGDIR\@|\$(localstatedir)/log/antinat|g' etc/Makefile.in

%build
export CFLAGS="%{optflags} -fPIC"
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%makeinstall

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc COPYING README TODO
%doc %{_mandir}/man1/antinat.1*
%doc %{_mandir}/man4/antinat.xml.4*
%config(noreplace) %{_sysconfdir}/antinat.xml
%{_bindir}/antinat
%{_libdir}/libantinat.so.*
#%{_libdir}/antinat-%{version}/

%files devel
%defattr(-, root, root, 0755)
%doc %{_mandir}/man3/*
%{_bindir}/antinat-config
%{_libdir}/libantinat.a
%{_libdir}/libantinat.so
%{_includedir}/antinat.h
%exclude %{_libdir}/libantinat.la
#%exclude %{_libdir}/antinat-%{version}/*/*.la
#%exclude %{_libdir}/antinat-%{version}/*/*/*.la
#%exclude %{_libdir}/antinat-%{version}/*/*/*/*.la

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.90-1.2
- Rebuild for Fedora Core 5.

* Wed Jan 12 2005 Dag Wieers <dag@wieers.com> - 0.90-1
- Updated to release 0.90.

* Mon Oct 04 2004 Dag Wieers <dag@wieers.com> - 0.81-1
- Updated to release 0.81.

* Wed Sep 29 2004 Dag Wieers <dag@wieers.com> - 0.80-1
- Updated to release 0.80.

* Thu May 13 2004 Dag Wieers <dag@wieers.com> - 0.71-1
- Updated to release 0.71.

* Mon Mar 22 2004 Dag Wieers <dag@wieers.com> - 0.70-0
- Updated to release 0.70.

* Wed Oct 01 2003 Dag Wieers <dag@wieers.com> - 0.66-0
- Updated to release 0.66.

* Fri Sep 19 2003 Dag Wieers <dag@wieers.com> - 0.64-0
- Updated to release 0.64.

* Tue Sep 09 2003 Dag Wieers <dag@wieers.com> - 0.63-0
- Initial package. (using DAR)