ipmasqadm-vl.spec 907 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. %description
  14. Ipmasqadm is an administration tool to configure extra masquerading.
  15. %prep
  16. %setup
  17. %patch0 -p1
  18. %build
  19. make "RPM_OPT_FLAGS=$RPM_OPT_FLAGS"
  20. %install
  21. rm -rf %{buildroot}
  22. mkdir -p %{buildroot}/usr/sbin
  23. install -d -m 0700 %{buildroot}/usr/lib/ipmasqadm
  24. make DESTDIR=%{buildroot} MANDIR=%{buildroot}/%{_mandir} install
  25. %clean
  26. rm -rf %{buildroot}
  27. %files
  28. %defattr(-,root,root)
  29. %doc doc/* ChangeLog
  30. %{_mandir}/man8/ipmasqadm.8*
  31. /usr/sbin/ipmasqadm
  32. %dir /usr/lib/ipmasqadm
  33. /usr/lib/ipmasqadm/portfw.so
  34. /usr/lib/ipmasqadm/autofw.so
  35. /usr/lib/ipmasqadm/mfw.so