source: projects/specs/branches/6/d/delegate/delegate-vl.spec @ 6113

Revision 6113, 2.1 KB checked in by tomop, 12 years ago (diff)

delegate-9.9.7-1

Line 
1Summary: Multi-purpose application level gateway
2Name: delegate
3Version: 9.9.7
4Release: 1%{?_dist_release}
5Group: Applications/System
6Source: ftp://ftp.etl.go.jp/pub/DeleGate/delegate%{version}.tar.gz
7URL: http://www.delegate.org/
8License: see COPYRIGHT
9Buildroot: %{_tmppath}/%{name}-%{version}-root
10
11Vendor: Project Vine
12Distribution: Vine Linux
13
14#%define __spec_install_post /usr/lib/rpm/brp-compress ||:
15
16%description
17Delegated 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
21Delegateは、HTTP, Gopher, FTP, Wais, Telnet, NNTP, SMTP,POP, Whois
22などTCP/IP上の各種プロトコルに対する汎用のプロトコル中継システムです。
23
24%prep
25%setup -q -n %{name}%{version}
26
27%build
28make CC=gcc PATH=".:$PATH" ADMIN=root@localhost
29
30%install
31rm -rf $RPM_BUILD_ROOT
32
33install -d $RPM_BUILD_ROOT/usr/sbin
34install -m 0700 src/delegated $RPM_BUILD_ROOT/usr/sbin
35install -m 0700 bin/expire $RPM_BUILD_ROOT/usr/sbin
36install -m 0700 -d $RPM_BUILD_ROOT/var/spool/delegate
37
38strip $RPM_BUILD_ROOT/usr/sbin/delegated
39./src/delegated -Fesign -w $RPM_BUILD_ROOT/usr/sbin/delegated
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%pre
45if  ! grep -q '^delegate:' /etc/group
46then
47    /usr/sbin/groupadd delegate
48fi
49
50if  ! grep -q '^delegate:' /etc/passwd
51then
52    /usr/sbin/useradd -M -g delegate delegate
53fi
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* 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
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
Note: See TracBrowser for help on using the repository browser.