Commented the debug() function to avoid printing messages on production slices. Devel...
[bind_public.git] / bind_public.spec
1 %define name bind_public
2 %define version 0.1
3 %define taglevel 2
4
5 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
6
7 Summary: Library for transparently redirect bind() calls for lxc-PlanetLab
8 Name: %{name}
9 Version: %{version}
10 Release: %{release}
11 License: PlanetLab
12 Group: System Environment/Libraries
13 Source0: %{name}-%{version}.tar.gz
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
15
16 Vendor: PlanetLab
17 Packager: PlanetLab Central <support@planet-lab.org>
18 Distribution: PlanetLab %{plrelease}
19 URL: %{SCMURL}
20
21 %description
22 This package provides bind_public.so that allows to
23 transparently redirect calls to bind(0.0.0.0) to the public IP address
24 of the node.
25
26 %prep
27 %setup -q
28
29 %build
30 make
31
32 %install
33 make install DESTDIR=$RPM_BUILD_ROOT
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 /etc/planetlab/
40
41 %changelog
42 * Mon Nov 26 2012 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - bind_public-0.1-2
43 - bug fixes
44