delegate-vl.spec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. Summary: Multi-purpose application level gateway
  2. Name: delegate
  3. Version: 9.9.7
  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. #%define __spec_install_post /usr/lib/rpm/brp-compress ||:
  13. %description
  14. Delegated is the DeleGate server process which relays TCP/IP protocols
  15. like HTTP, Gopher, Whois, FTP, Telnet, NNTP, SMTP, POP, and so on.
  16. %description -l ja
  17. Delegateは、HTTP, Gopher, FTP, Wais, Telnet, NNTP, SMTP,POP, Whois
  18. などTCP/IP上の各種プロトコルに対する汎用のプロトコル中継システムです。
  19. %prep
  20. %setup -q -n %{name}%{version}
  21. %build
  22. make CC=gcc PATH=".:$PATH" ADMIN=root@localhost
  23. %install
  24. rm -rf $RPM_BUILD_ROOT
  25. install -d $RPM_BUILD_ROOT/usr/sbin
  26. install -m 0700 src/delegated $RPM_BUILD_ROOT/usr/sbin
  27. install -m 0700 bin/expire $RPM_BUILD_ROOT/usr/sbin
  28. install -m 0700 -d $RPM_BUILD_ROOT/var/spool/delegate
  29. strip $RPM_BUILD_ROOT/usr/sbin/delegated
  30. ./src/delegated -Fesign -w $RPM_BUILD_ROOT/usr/sbin/delegated
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %pre
  34. if ! grep -q '^delegate:' /etc/group
  35. then
  36. /usr/sbin/groupadd delegate
  37. fi
  38. if ! grep -q '^delegate:' /etc/passwd
  39. then
  40. /usr/sbin/useradd -M -g delegate delegate
  41. fi
  42. %files
  43. %defattr(-,delegate,delegate)
  44. %doc CHANGES COPYRIGHT CREDITS README* DG9note.html
  45. %doc doc/
  46. /usr/sbin/delegated
  47. /usr/sbin/expire
  48. %dir /var/spool/delegate
  49. %changelog
  50. * Wed May 02 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.9.7-1
  51. - new upstream release.
  52. - made to resign stripped binary.
  53. * Fri Apr 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 9.9.2-1
  54. - applied new versioning policy, spec in UTF-8
  55. - s/Copyright/License/
  56. - updated to 9.9.2
  57. - changed Group to Applications/Services
  58. * Sat Sep 21 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 7.7.1-0vl2
  59. - groupadd in the %%pre section
  60. * Tue Dec 4 2001 Jun Nishii <jun@vinelinux.org> 7.7.1-0vl1
  61. - ver.up
  62. - rewrite spec
  63. * Sun Aug 1 1999 Tetsuhiro Nakane <nakane@ecc.denso.co.jp>
  64. - 1st release