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