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

Revision 521, 1.8 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: Multi-purpose application level gateway
2Name: delegate
3Version: 9.9.2
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%description
15Delegated 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
19Delegateは、HTTP, Gopher, FTP, Wais, Telnet, NNTP, SMTP,POP, Whois
20などTCP/IP上の各種プロトコルに対する汎用のプロトコル中継システムです。
21
22%prep
23%setup -q -n %{name}%{version}
24
25%build
26make CC=gcc PATH=".:$PATH" ADMIN=root@localhost
27
28%install
29rm -rf $RPM_BUILD_ROOT
30
31install -d $RPM_BUILD_ROOT/usr/sbin
32install -m 0700 src/delegated $RPM_BUILD_ROOT/usr/sbin
33install -m 0700 bin/expire $RPM_BUILD_ROOT/usr/sbin
34install -m 0700 -d $RPM_BUILD_ROOT/var/spool/delegate
35
36%clean
37rm -rf $RPM_BUILD_ROOT
38
39%pre
40if  ! grep -q '^delegate:' /etc/group
41then
42    /usr/sbin/groupadd delegate
43fi
44
45if  ! grep -q '^delegate:' /etc/passwd
46then
47    /usr/sbin/useradd -M -g delegate delegate
48fi
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
Note: See TracBrowser for help on using the repository browser.