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 | |
---|
11 | Vendor: Project Vine |
---|
12 | Distribution: Vine Linux |
---|
13 | |
---|
14 | #%define __spec_install_post /usr/lib/rpm/brp-compress ||: |
---|
15 | |
---|
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 | |
---|
38 | strip $RPM_BUILD_ROOT/usr/sbin/delegated |
---|
39 | ./src/delegated -Fesign -w $RPM_BUILD_ROOT/usr/sbin/delegated |
---|
40 | |
---|
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 |
---|
66 | * Sun Jan 12 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.9.7-2 |
---|
67 | - rebuilt with current environment. |
---|
68 | |
---|
69 | * Wed May 02 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.9.7-1 |
---|
70 | - new upstream release. |
---|
71 | - made to resign stripped binary. |
---|
72 | |
---|
73 | * Fri Apr 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 9.9.2-1 |
---|
74 | - applied new versioning policy, spec in UTF-8 |
---|
75 | - s/Copyright/License/ |
---|
76 | - updated to 9.9.2 |
---|
77 | - changed Group to Applications/Services |
---|
78 | |
---|
79 | * Sat Sep 21 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 7.7.1-0vl2 |
---|
80 | - groupadd in the %%pre section |
---|
81 | |
---|
82 | * Tue Dec 4 2001 Jun Nishii <jun@vinelinux.org> 7.7.1-0vl1 |
---|
83 | - ver.up |
---|
84 | - rewrite spec |
---|
85 | |
---|
86 | * Sun Aug 1 1999 Tetsuhiro Nakane <nakane@ecc.denso.co.jp> |
---|
87 | - 1st release |
---|