delegate-vl.spec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. Summary: Multi-purpose application level gateway
  2. Name: delegate
  3. Version: 9.9.7
  4. Release: 2%{?_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. * Sun Jan 12 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.9.7-2
  51. - rebuilt with current environment.
  52. * Wed May 02 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.9.7-1
  53. - new upstream release.
  54. - made to resign stripped binary.
  55. * Fri Apr 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 9.9.2-1
  56. - applied new versioning policy, spec in UTF-8
  57. - s/Copyright/License/
  58. - updated to 9.9.2
  59. - changed Group to Applications/Services
  60. * Sat Sep 21 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 7.7.1-0vl2
  61. - groupadd in the %%pre section
  62. * Tue Dec 4 2001 Jun Nishii <jun@vinelinux.org> 7.7.1-0vl1
  63. - ver.up
  64. - rewrite spec
  65. * Sun Aug 1 1999 Tetsuhiro Nakane <nakane@ecc.denso.co.jp>
  66. - 1st release