Log In
New Account
  
 
Home My Page Project Tree Code Snippets Project Openings NUTSS
 
 
Summary Tracker Lists CVS Files
 

CVS | Administration


File:  [GForge:cvsroot/nutss] / libnutss / nutss.spec.in
Revision 1.3: download - view: text, annotated - select for diffs
Thu Apr 26 11:13:59 2007 UTC (10 years, 4 months ago) by saikat
Branches: MAIN
CVS tags: version_0_1_0, HEAD
Fix autogenerated public dox

Name:           nutss
Version:        @VERSION@
Release:        1%{?dist}
Summary:        NUTSS Library for named Internet communication

Group:          System Environment/Libraries
License:        GPL
URL:            http://nutss.net/
Source0:        %{name}-%{version}.tar.bz2
Patch0:         nutss-dsocks-path.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  libeXosip2-devel, libosip2-devel, zlib-devel, openssl-devel
BuildRequires:  libxml2-devel >= 2.6.27, libevent-devel, libX11-devel
Requires:       libxml2 >= 2.6.27
Requires:       %{name}-libs = %{version}-%{release}

%description
Implements the NUTSS architecture that facilitates named communication over
the Internet. The communication layer exposes named endpoints and treats the
underlying IP addresses and ports as ephemeral, negotiating network addresses
on the fly and traversing NATs as needed transparent to the application.

%package        libs
Summary:        Runtime libraries for %{name}
Group:          System Environment/Libraries
Requires:       %{name} = %{version}-%{release}

%description    libs
The %{name}-libs package contains dynamic libraries for running applications
that use %{name}.

%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}

%description    devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q
%patch0 -p1


%build
./autogen.sh

%configure --disable-static --enable-debug

# Fix RPATH issue
find -name libtool | xargs sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g'
find -name libtool | xargs sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

make
#%{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'


%clean
rm -rf $RPM_BUILD_ROOT


%post libs -p /sbin/ldconfig

%postun libs -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc AUTHORS BUGS COPYING README TODO NEWS
%{_bindir}/nutssping
%{_bindir}/nutssttcp
%{_bindir}/nutssify
%{_sbindir}/nutssd
%{_mandir}/man1/nutssd.1*
%{_mandir}/man1/nutssify.1*


%files libs
%defattr(-,root,root,-)
%{_libdir}/*.so.*


%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so
%{_mandir}/man3/nutss.h.3*
%{_mandir}/man3/nutss.3*


%changelog
* Tue Apr 24 2007 Saikat Guha <saikat@cs.cornell.edu> 0.1.0-1
- Initial packaging

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>
 

GForge.cis.cornell.edu is brought to you by

Cornell Computing and Information Science


Powered By GForge Collaborative Development Environment