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