delegate-vl.spec 2.4 KB

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