Rev | Line | |
---|
[521] | 1 | Summary: IP masquerading additional modules |
---|
| 2 | Name: ipmasqadm |
---|
| 3 | %define version 0.4.2 |
---|
| 4 | Version: %{version} |
---|
| 5 | Release: 0vl1 |
---|
| 6 | Copyright: GPL2 |
---|
| 7 | Group: Networking/Admin |
---|
| 8 | Source: http://juanjox.home.ml.org/ipmasqadm-%{version}.tar.gz |
---|
| 9 | Patch0: ipmasqadm-0.4.2-pathfix.patch |
---|
| 10 | Buildroot: %{_tmppath}/%{name}-root |
---|
| 11 | |
---|
| 12 | Vendor: Project Vine |
---|
| 13 | Distribution: Vine Linux |
---|
| 14 | |
---|
| 15 | %description |
---|
| 16 | Ipmasqadm is an administration tool to configure extra masquerading. |
---|
| 17 | |
---|
| 18 | %prep |
---|
| 19 | %setup |
---|
| 20 | %patch0 -p1 |
---|
| 21 | |
---|
| 22 | %build |
---|
| 23 | make "RPM_OPT_FLAGS=$RPM_OPT_FLAGS" |
---|
| 24 | |
---|
| 25 | %install |
---|
| 26 | rm -rf %{buildroot} |
---|
| 27 | mkdir -p %{buildroot}/usr/sbin |
---|
| 28 | install -d -m 0700 %{buildroot}/usr/lib/ipmasqadm |
---|
| 29 | make DESTDIR=%{buildroot} MANDIR=%{buildroot}/%{_mandir} install |
---|
| 30 | |
---|
| 31 | %clean |
---|
| 32 | rm -rf %{buildroot} |
---|
| 33 | |
---|
| 34 | %files |
---|
| 35 | %defattr(-,root,root) |
---|
| 36 | %doc doc/* ChangeLog |
---|
| 37 | %{_mandir}/man8/ipmasqadm.8* |
---|
| 38 | /usr/sbin/ipmasqadm |
---|
| 39 | %dir /usr/lib/ipmasqadm |
---|
| 40 | /usr/lib/ipmasqadm/portfw.so |
---|
| 41 | /usr/lib/ipmasqadm/autofw.so |
---|
| 42 | /usr/lib/ipmasqadm/mfw.so |
---|
Note: See
TracBrowser
for help on using the repository browser.