source: projects/specs/trunk/d/delegate/delegate-vl.spec @ 10539

Revision 10539, 2.4 KB checked in by tomop, 8 years ago (diff)

delegate-9.9.13-1

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