X-Git-Url: http://git.onelab.eu/?p=bind_public.git;a=blobdiff_plain;f=portforward.spec;fp=portforward.spec;h=2f12d038bfa8a7fc54793fdaa16c210a19d6dd26;hp=0000000000000000000000000000000000000000;hb=6ec8d2f19f58aa275bac01212750896ff89bcea7;hpb=34192f7a958c5d60cef464d6fba05fe2217bae0f diff --git a/portforward.spec b/portforward.spec new file mode 100644 index 0000000..2f12d03 --- /dev/null +++ b/portforward.spec @@ -0,0 +1,41 @@ +%define name portforward +%define version 0.1 +%define taglevel 1 + +%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} + +Summary: Library for transparently redirect bind() calls for lxc-PlanetLab +Name: %{name} +Version: %{version} +Release: %{release} +License: PlanetLab +Group: System Environment/Libraries +Source0: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root + +Vendor: PlanetLab +Packager: PlanetLab Central +Distribution: PlanetLab %{plrelease} +URL: %{SCMURL} + +%description +This package provides bind_public.so that allows to +transparently redirect calls to bind(0.0.0.0) to the public IP address +of the node. + +%prep +%setup -q + +%build +make + +%install +make install DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +/etc/planetlab/ + +%changelog