delegate-vl.spec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. Summary: Multi-purpose application level gateway
  2. Name: delegate
  3. Version: 9.9.2
  4. Release: 1%{?_dist_release}
  5. Group: Applications/System
  6. Source: ftp://ftp.etl.go.jp/pub/DeleGate/delegate%{version}.tar.gz
  7. URL: http://www.delegate.org/
  8. License: see COPYRIGHT
  9. Buildroot: %{_tmppath}/%{name}-%{version}-root
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. %description
  13. Delegated is the DeleGate server process which relays TCP/IP protocols
  14. like HTTP, Gopher, Whois, FTP, Telnet, NNTP, SMTP, POP, and so on.
  15. %description -l ja
  16. Delegateは、HTTP, Gopher, FTP, Wais, Telnet, NNTP, SMTP,POP, Whois
  17. などTCP/IP上の各種プロトコルに対する汎用のプロトコル中継システムです。
  18. %prep
  19. %setup -q -n %{name}%{version}
  20. %build
  21. make CC=gcc PATH=".:$PATH" ADMIN=root@localhost
  22. %install
  23. rm -rf $RPM_BUILD_ROOT
  24. install -d $RPM_BUILD_ROOT/usr/sbin
  25. install -m 0700 src/delegated $RPM_BUILD_ROOT/usr/sbin
  26. install -m 0700 bin/expire $RPM_BUILD_ROOT/usr/sbin
  27. install -m 0700 -d $RPM_BUILD_ROOT/var/spool/delegate
  28. %clean
  29. rm -rf $RPM_BUILD_ROOT
  30. %pre
  31. if ! grep -q '^delegate:' /etc/group
  32. then
  33. /usr/sbin/groupadd delegate
  34. fi
  35. if ! grep -q '^delegate:' /etc/passwd
  36. then
  37. /usr/sbin/useradd -M -g delegate delegate
  38. fi
  39. %files
  40. %defattr(-,delegate,delegate)
  41. %doc CHANGES COPYRIGHT CREDITS README* DG9note.html
  42. %doc doc/
  43. /usr/sbin/delegated
  44. /usr/sbin/expire
  45. %dir /var/spool/delegate
  46. %changelog
  47. * Fri Apr 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 9.9.2-1
  48. - applied new versioning policy, spec in UTF-8
  49. - s/Copyright/License/
  50. - updated to 9.9.2
  51. - changed Group to Applications/Services
  52. * Sat Sep 21 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 7.7.1-0vl2
  53. - groupadd in the %%pre section
  54. * Tue Dec 4 2001 Jun Nishii <jun@vinelinux.org> 7.7.1-0vl1
  55. - ver.up
  56. - rewrite spec
  57. * Sun Aug 1 1999 Tetsuhiro Nakane <nakane@ecc.denso.co.jp>
  58. - 1st release