]> git.pld-linux.org Git - packages/uucp.git/blob - uucp.spec
- release 5.
[packages/uucp.git] / uucp.spec
1 Summary:        GNU uucp
2 Summary(de):    GNU-uucp
3 Summary(es):    Uucp de la GNU
4 Summary(fr):    uucp de GNU
5 Summary(pl):    GNU uucp
6 Summary(pt_BR): Uucp da GNU
7 Summary(ru):    GNU uucp
8 Summary(tr):    GNU uucp sistemi
9 Summary(uk):    GNU uucp
10 Name:           uucp
11 Version:        1.06.2
12 Release:        5
13 License:        GPL
14 Group:          Networking
15 Source0:        ftp://prep.ai.mit.edu/pub/gnu/uucp/%{name}-%{version}.tar.gz
16 Source1:        %{name}.logrotate
17 Source2:        %{name}.inetd
18 Source3:        %{name}.crontab
19 Source4:        %{name}-non-english-man-pages.tar.bz2
20 Patch0:         %{name}-misc.patch
21 Patch1:         %{name}-debian.patch
22 Patch2:         %{name}-buggy_autoconf.patch
23 Patch3:         %{name}-ac.patch
24 Patch4:         %{name}-security.patch
25 Patch5:         %{name}-lock.patch
26 Patch6:         %{name}-pipe.patch
27 Patch7:         %{name}-no_libnsl.patch
28 URL:            http://lists.cirr.com/cgi-bin/wilma/taylor-uucp/
29 BuildRequires:  autoconf
30 BuildRequires:  texinfo
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 UUCP is a Unix to Unix transfer mechanism. It is used primarily for
35 remote sites to download and upload email and news files to local
36 machines. If you didn't already know that, you probably don't need
37 this package installed. :-)
38
39 %description -l de
40 UUCP ist ein Unix-nach-Unix-Übertragungsprotokoll. Es wird vor allem
41 verwendet, um E-Mail- und News-Dateien von entfernten auf lokale
42 Rechner herunter- bzw. umgekehrt hochzuladen. Wie Sie wahrscheinlich
43 wissen, müssen Sie das Paket wahrscheinlich nicht installieren. :-)
44
45 %description -l es
46 UUCP es un mecanismo de transferencia de Unix para Unix. Se usa
47 primeramente en sitios remotos para hacer download y upload de
48 archivos de mail y news para máquinas locales. Si no lo sabias,
49 probablemente no necesitas de este paquete instalado. :-)
50
51 %description -l fr
52 UUCP est un mécanisme de transfert d'UNIX à UNIX. Il est
53 principalement utilisés par les sites de connexion pour télécharger ou
54 envoyer des courriers èlèctroniques et des nouvelles sur les machines
55 locales. Si vous ne saviez pas déja cela, vous n'avez probablement pas
56 besoin d'insatller ce package.
57
58 %description -l pl
59 UUCP (Unix to Unix Copy Protocol) jest jednym z podstawowych
60 protoko³ów systemu Linux. U¿ywany jest przede wszystkim do wysy³ania i
61 pobierania przesy³ek newsów oraz poczty elektronicznej mêdzy maszynami
62 po³±czonymi np. przez modem.
63
64 %description -l pt_BR
65 UUCP é um mecanismo de transferência de Unix para Unix. Ele é usado
66 primeiramente em sites remotos para fazer download e upload de
67 arquivos de mail e news para máquinas locais. Se você não sabia disso,
68 você provavelmente não precisa deste pacote instalado. :-)
69
70 %description -l ru
71 UUCP - ÜÔÏ ÍÅÈÁÎÉÚÍ ÐÅÒÅÄÁÞÉ ÆÁÊÌÏ× ÍÅÖÄÕ UNIX-ÓÉÓÔÅÍÁÍÉ. ÷ ÏÓÎÏ×ÎÏÍ
72 ÉÓÐÏÌØÚÕÅÔÓÑ ÄÌÑ ÏÂÍÅÎÁ ÐÏÞÔÏÊ É ÔÅÌÅËÏÎÆÅÒÅÎÃÉÑÍÉ ÍÅÖÄÕ ÍÁÛÉÎÁÍÉ.
73 åÓÌÉ ×Ù ÜÔÏÇÏ ÎÅ ÚÎÁÌÉ, ×ÁÍ ÜÔÏÔ ÐÁËÅÔ ÎÅ ÎÕÖÅΠ:-))
74
75 %description -l tr
76 UUCP bir Unix'ten Unix'e iletim mekanizmasýdýr. Uzak sitelerden yerel
77 sisteme e-posta ve haber öbekleri aktarýmý için kullanýlýr. Bunun ne
78 olduðunu bilmiyorsanýz, büyük olasýlýkla iþinize de yaramayacaktýr.
79 :-)
80
81 %description -l uk
82 UUCP - ÃÅ ÍÅÈÁΦÚÍ ÐÅÒÅÄÁÞ¦ ÆÁÊ̦נͦ֠UNIX-ÓÉÓÔÅÍÁÍÉ. úÄŦÌØÛÏÇÏ
83 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ÄÌÑ ÏÂͦÎÕ ÐÏÛÔÏÀ ÔÁ ÔÅÌÅËÏÎÆÅÒÅÎæÑÍɠͦ֠ÍÁÛÉÎÁÍÉ.
84 ñËÝÏ ×É ÃØÏÇÏ ÎÅ ÚÎÁÌÉ, ×ÁÍ ÃÅÊ ÐÁËÅÔ ÎÅ ÐÏÔÒ¦ÂÅΠ:-))
85
86 %package server
87 Summary:        GNU uucp server
88 Summary(de):    GNU-uucp
89 Summary(fr):    uucp de GNU
90 Summary(pl):    Serwer GNU uucp
91 Group:          Networking
92 Requires:       %{name} = %{version}
93
94 %description server
95 GNU uucp server.
96
97 %description server -l pl
98 Serwer GNU uucp.
99
100 %prep
101 %setup -q -n uucp-1.06.1
102 %patch0 -p1
103 %patch1 -p1
104 %patch2 -p0
105 %patch3 -p1
106 %patch4 -p1
107 %patch5 -p1
108 %patch6 -p1
109 %patch7 -p1
110
111 find . -name "*.perlpath" | xargs rm -f
112
113 %build
114 %{__autoconf}
115 %configure
116
117 %{__make} clean; make
118
119 %install
120 rm -rf $RPM_BUILD_ROOT
121 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man{1,8},%{_infodir}} \
122         $RPM_BUILD_ROOT{%{_libdir}/uucp,/var/{lock/uucp,spool/{uucp,uucppublic}}} \
123         $RPM_BUILD_ROOT/var/log/{uucp,archiv/uucp} \
124 $RPM_BUILD_ROOT%{_sysconfdir}/{uucp/oldconfig,sysconfig/rc-inetd,cron.d,logrotate.d}
125
126 %{__make} install install-info \
127         prefix=$RPM_BUILD_ROOT%{_prefix} \
128         infodir=$RPM_BUILD_ROOT%{_infodir} \
129         bindir=$RPM_BUILD_ROOT%{_bindir} \
130         sbindir=$RPM_BUILD_ROOT%{_sbindir} \
131         man1dir=$RPM_BUILD_ROOT%{_mandir}/man1 \
132         man8dir=$RPM_BUILD_ROOT%{_mandir}/man8 \
133         owner=`id -u`
134
135 gzip -9nf sample/*
136
137 ln -sf ../../sbin/uucico $RPM_BUILD_ROOT%{_libdir}/uucp/uucico
138
139 install %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/uucp
140 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/uucp
141 install %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.d/uucp
142 bzip2 -dc %{SOURCE4} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
143
144 # Create empty files
145 for n in Log Stats Debug; do
146         touch $RPM_BUILD_ROOT/var/log/uucp/$n
147 done
148
149 for i in dial passwd port dialcode sys call ; do
150 cat > $RPM_BUILD_ROOT%{_sysconfdir}/uucp/$i <<EOF
151 # This is an example of a $i file. This file have the syntax compatible
152 # with Taylor UUCP (not HDB, not anything else). Please check uucp
153 # documentation if you are not sure how Taylor config files are supposed to
154 # look like. Edit it as appropriate for your system.
155
156 # Everything after a '#' character is a comment.
157 EOF
158 done
159
160 %clean
161 rm -rf $RPM_BUILD_ROOT
162
163 %post
164 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
165
166 %post server
167 if [ -f /var/lock/subsys/rc-inetd ]; then
168         /etc/rc.d/init.d/rc-inetd reload 1>&2
169 else
170         echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
171 fi
172
173 %postun
174 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
175
176 %postun server
177 if [ -f /var/lock/subsys/rc-inetd ]; then
178         /etc/rc.d/init.d/rc-inetd reload 1>&2
179 fi
180
181 %files
182 %defattr(644,root,root,755)
183 %doc README ChangeLog MANIFEST NEWS sample contrib
184
185 %attr(750,uucp,root) %dir %{_sysconfdir}/uucp
186 %attr(755,uucp,root) %dir %{_sysconfdir}/uucp/oldconfig
187
188 %attr(640,uucp,root) %config %verify(not size mtime md5) %{_sysconfdir}/uucp/ca*
189 %attr(640,uucp,root) %config %verify(not size mtime md5) %{_sysconfdir}/uucp/di*
190 %attr(640,uucp,root) %config %verify(not size mtime md5) %{_sysconfdir}/uucp/p*
191 %attr(640,uucp,root) %config %verify(not size mtime md5) %{_sysconfdir}/uucp/sys
192
193 %attr(640,root,root) %config /etc/logrotate.d/uucp
194
195 %attr(4554,uucp,uucp) %{_bindir}/cu
196 %attr(4554,uucp,uucp) %{_bindir}/uucp
197 %attr(0755,root,root) %{_bindir}/uulog
198 %attr(4554,uucp,uucp) %{_bindir}/uuname
199 %attr(0755,root,root) %{_bindir}/uupick
200 %attr(4554,uucp,uucp) %{_bindir}/uustat
201 %attr(0755,root,root) %{_bindir}/uuto
202 %attr(4554,uucp,uucp) %{_bindir}/uux
203
204 %{_infodir}/uucp.*
205
206 %attr(755,root,root) %dir %{_libdir}/uucp
207 %attr(755,root,root) %{_libdir}/uucp/uucico
208
209 %{_mandir}/man[18]/*
210 %lang(fi) %{_mandir}/fi/man[18]/*
211 %lang(ja) %{_mandir}/ja/man[18]/*
212 %lang(pl) %{_mandir}/pl/man[18]/*
213
214 %attr(0755,uucp,uucp) %{_sbindir}/uuchk
215 %attr(4554,uucp,uucp) %{_sbindir}/uucico
216 %attr(0755,uucp,uucp) %{_sbindir}/uuconv
217 %attr(0755,root,root) %{_sbindir}/uusched
218 %attr(4554,uucp,uucp) %{_sbindir}/uuxqt
219
220 %attr(755,uucp,uucp) %dir /var/spool/uucppublic
221 %attr(755,uucp,uucp) %dir /var/spool/uucp
222
223 %attr(750,uucp,root) %dir /var/log/uucp
224 %attr(750,uucp,root) %dir /var/log/archiv/uucp
225 %attr(750,uucp,root) %dir /var/lock/uucp
226 %attr(640,uucp,root) %config(noreplace) %verify(not size mtime md5) /var/log/uucp/Debug
227 %attr(640,uucp,root) %config(noreplace) %verify(not size mtime md5) /var/log/uucp/Log
228 %attr(640,uucp,root) %config(noreplace) %verify(not size mtime md5) /var/log/uucp/Stats
229
230 %files server
231 %defattr(644,root,root,755)
232 %attr(640,root,root) %config /etc/sysconfig/rc-inetd/uucp
This page took 0.090958 seconds and 3 git commands to generate.