| 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 | |
|---|
| 11 | Vendor: Project Vine |
|---|
| 12 | Distribution: Vine Linux |
|---|
| 13 | |
|---|
| 14 | %description |
|---|
| 15 | Delegated is the DeleGate server process which relays TCP/IP protocols |
|---|
| 16 | like HTTP, Gopher, Whois, FTP, Telnet, NNTP, SMTP, POP, and so on. |
|---|
| 17 | |
|---|
| 18 | %description -l ja |
|---|
| 19 | Delegateは、HTTP, Gopher, FTP, Wais, Telnet, NNTP, SMTP,POP, Whois |
|---|
| 20 | などTCP/IP上の各種プロトコルに対する汎用のプロトコル中継システムです。 |
|---|
| 21 | |
|---|
| 22 | %prep |
|---|
| 23 | %setup -q -n %{name}%{version} |
|---|
| 24 | |
|---|
| 25 | %build |
|---|
| 26 | make CC=gcc PATH=".:$PATH" ADMIN=root@localhost |
|---|
| 27 | |
|---|
| 28 | %install |
|---|
| 29 | rm -rf $RPM_BUILD_ROOT |
|---|
| 30 | |
|---|
| 31 | install -d $RPM_BUILD_ROOT/usr/sbin |
|---|
| 32 | install -m 0700 src/delegated $RPM_BUILD_ROOT/usr/sbin |
|---|
| 33 | install -m 0700 bin/expire $RPM_BUILD_ROOT/usr/sbin |
|---|
| 34 | install -m 0700 -d $RPM_BUILD_ROOT/var/spool/delegate |
|---|
| 35 | |
|---|
| 36 | %clean |
|---|
| 37 | rm -rf $RPM_BUILD_ROOT |
|---|
| 38 | |
|---|
| 39 | %pre |
|---|
| 40 | if ! grep -q '^delegate:' /etc/group |
|---|
| 41 | then |
|---|
| 42 | /usr/sbin/groupadd delegate |
|---|
| 43 | fi |
|---|
| 44 | |
|---|
| 45 | if ! grep -q '^delegate:' /etc/passwd |
|---|
| 46 | then |
|---|
| 47 | /usr/sbin/useradd -M -g delegate delegate |
|---|
| 48 | fi |
|---|
| 49 | |
|---|
| 50 | |
|---|
| 51 | %files |
|---|
| 52 | %defattr(-,delegate,delegate) |
|---|
| 53 | %doc CHANGES COPYRIGHT CREDITS README* DG9note.html |
|---|
| 54 | %doc doc/ |
|---|
| 55 | /usr/sbin/delegated |
|---|
| 56 | /usr/sbin/expire |
|---|
| 57 | %dir /var/spool/delegate |
|---|
| 58 | |
|---|
| 59 | |
|---|
| 60 | %changelog |
|---|
| 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 | |
|---|
| 67 | * Sat Sep 21 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 7.7.1-0vl2 |
|---|
| 68 | - groupadd in the %%pre section |
|---|
| 69 | |
|---|
| 70 | * Tue Dec 4 2001 Jun Nishii <jun@vinelinux.org> 7.7.1-0vl1 |
|---|
| 71 | - ver.up |
|---|
| 72 | - rewrite spec |
|---|
| 73 | |
|---|
| 74 | * Sun Aug 1 1999 Tetsuhiro Nakane <nakane@ecc.denso.co.jp> |
|---|
| 75 | - 1st release |
|---|