]> git.pld-linux.org Git - packages/bsd-finger.git/blob - bsd-finger.spec
- typo in Obsoletes (s/ffingetd/ffingedd/)
[packages/bsd-finger.git] / bsd-finger.spec
1 Summary:        Finger client 
2 Summary(de):    Finger-Client
3 Summary(fr):    Client finger
4 Summary(pl):    Klient finger
5 Summary(tr):    Finger istemcisi
6 Group:          Networking/Utilities
7 Group(pl):      Sieciowe/Narzêdzia
8 Name:           bsd-finger
9 Version:        0.16
10 Release:        2
11 Copyright:      BSD
12 Source:         ftp://sunsite.unc.edu/pub/Linux/system/network/finger/%{name}-%{version}.tar.gz
13 Source1:        finger.1.pl
14 Source2:        fingerd.inetd
15 Patch0:         bsd-finger-DESTDIR.patch
16 Patch1:         bsd-finger-exact.patch
17 Patch2:         bsd-finger-pts.patch
18 Patch3:         http://www.misiek.eu.org/ipv6/bsd-finger-ipv6.patch.gz
19 Obsoletes:      finger
20 Obsoletes:      finger-client
21 BuildRoot:      /tmp/%{name}-%{version}-root
22
23 %description
24 Finger is a simple protocol which allows users to find information about
25 users on other machines. This package includes a standard finger client. 
26
27 %description -l de
28 Finger ist ein einfaches Protokoll, das Informationen über Benutzer auf
29 anderen Rechnern herausfindet. Dieses Paket enthält einen standardmäßigen
30 Finger-Client. 
31
32 %description -l fr
33 finger est un protocole simple permettant de trouver des informations sur
34 les utilisateurs d'autres machines. Ce paquetage contient un client finger
35 standard.
36
37 %description -l pl
38 Finger jest prostym protoko³em, który umo¿liwia wyszukiwanie informacji
39 o u¿ytkownikach na innym serwerze. Pakiet ten zawiera klienta fingera.
40
41 %description -l tr
42 finger, að baðlantýsý bulunan makinalarda çalýþan kullanýcýlar hakkýnda kýsa
43 bilgi veren bir hizmettir. Bu pakette standart bir finger istemcisi 
44 bulunmaktadýr.
45
46 %package -n bsd-fingerd
47 Summary:        Finger server
48 Summary(de):    Finger-Server 
49 Summary(fr):    Server finger
50 Summary(pl):    Serwer finger
51 Summary(tr):    Finger sunucusu
52 Group:          Networking/Daemons
53 Group(pl):      Sieciowe/Serwery
54 Prereq:         rc-inetd >= 0.8.1
55 Provides:       fingerd
56 Obsoletes:      fingerd
57 Obsoletes:      ffingerd
58 Obsoletes:      cfingerd
59 Obsoletes:      finger-server
60
61 %description -n bsd-fingerd
62 Finger is a simple protocol which allows users to find information about
63 users on other machines. This package includes a standard finger server. 
64
65 %description -n bsd-fingerd -l de
66 Finger ist ein einfaches Protokoll, das Informationen über Benutzer 
67 auf anderen Rechnern herausfindet. Dieses Paket enthält einen 
68 standardmäßigen Finger-Server.
69
70 %description -n bsd-fingerd -l fr
71 finger est un protocole simple permettant de trouver des informations sur
72 les utilisateurs d'autres machines. Ce paquetage contient un serveur finger
73 standard.
74
75 %description -n bsd-fingerd -l pl
76 Finger jest prostym protoko³em, który umo¿liwia wyszukiwanie informacji
77 o u¿ytkownikach na innym serwerze. Pakiet ten zawiera serwer fingera. 
78
79 %description -n bsd-fingerd -l tr
80 finger, að baðlantýsý bulunan makinalarda çalýþan kullanýcýlar hakkýnda 
81 kýsa bilgi veren bir hizmettir. Bu pakette standart bir finger sunucusu 
82 bulunmaktadýr.
83
84 %prep
85 %setup  -q
86 %patch0 -p1
87 %patch1 -p1
88 # Need update.
89 #%patch2 -p1
90
91 %build
92 ./configure \
93         --installroot=$RPM_BUILD_ROOT \
94         --prefix=%{_prefix}
95
96 make CFLAGS="$RPM_OPT_FLAGS"
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/{man{1,8},pl/man1}} \
101         $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
102
103 make MANDIR=%{_mandir} install
104
105 mv -f $RPM_BUILD_ROOT%{_sbindir}/in.fingerd \
106         $RPM_BUILD_ROOT%{_sbindir}/fingerd
107 mv -f $RPM_BUILD_ROOT%{_mandir}/man8/in.fingerd.8 \
108          $RPM_BUILD_ROOT%{_mandir}/man8/fingerd.8 
109
110 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/finger.1
111 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/fingerd
112
113 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/{man?/*,pl/man1/*} \
114         README BUGS
115
116 %post -n bsd-fingerd
117 if [ -f /var/lock/subsys/rc-inetd ]; then
118         /etc/rc.d/init.d/rc-inetd reload 1>&2
119 else
120         echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
121 fi
122
123 %postun -n bsd-fingerd
124 if [ -f /var/lock/subsys/rc-inetd ]; then
125         /etc/rc.d/init.d/rc-inetd reload
126 fi
127
128 %clean
129 rm -rf $RPM_BUILD_ROOT
130
131 %files -n bsd-fingerd
132 %defattr(644,root,root,755)
133 %doc {README,BUGS}.gz
134 %attr(755,root,root) %{_sbindir}/*
135 %attr(640,root,root) /etc/sysconfig/rc-inetd/fingerd
136 %{_mandir}/man8/*
137
138 %files
139 %defattr(644,root,root,755)
140 %attr(755,root,root) %{_bindir}/*
141 %{_mandir}/man1/*
142 %{_mandir}/pl/man1/*
This page took 0.062371 seconds and 4 git commands to generate.