]> git.pld-linux.org Git - packages/autofs.git/blob - autofs.spec
Entry
[packages/autofs.git] / autofs.spec
1 Summary:        autofs daemon
2 Summary(de):    autofs daemon 
3 Summary(fr):    démon autofs
4 Summary(pl):    Demon autofs 
5 Summary(tr):    autofs sunucu süreci
6 Name:           autofs
7 Version:        3.1.3
8 Release:        2d
9 Copyright:      GPL
10 Group:          Daemons
11 Group(pl):      Serwery
12 URL:            ftp://ftp.kernel.org/pub/linux/daemons/autofs
13 Source0:        %{name}-%{version}.tar.bz2
14 Source1:        %{name}.init
15 Patch:          %{name}-%{version}.patch
16 Buildroot:      /tmp/%{name}-%{version}-root
17 Prereq:         /sbin/chkconfig
18 Requires:       mktemp
19 Exclusivearch:  i386
20
21 %description
22 autofs is a daemon which automatically mounts filesystems when you use
23 them, and unmounts them later when you are not using them.  This can
24 include network filesystems, CD-ROMs, floppies, and so forth.
25
26 %description -l pl
27 Autofs jest demonem, który montuje automatycznie systemy plików je¿eli
28 je u¿ywasz i odmontowuje pó¼niej, je¿eli ich nie u¿ywasz. Mo¿e montowaæ
29 sieciwy system plików, CD-romy, stacje dyskietek i inne.
30
31 %description -l de
32 autofs ist ein Dämon, der Dateisysteme automatisch montiert, wenn sie 
33 benutzt werden, und sie später bei Nichtbenutzung wieder demontiert. 
34 Dies kann Netz-Dateisysteme, CD-ROMs, Disketten und ähnliches einschließen. 
35
36 %description -l fr
37 autofs est un démon qui monte automatiquement les systèmes de fichiers
38 lorsqu'on les utilise et les démonte lorsqu'on ne les utilise plus. Cela
39 inclus les systèmes de fichiers réseau, les CD-ROMs, les disquettes, etc.
40
41 %description -l tr
42 autofs, kullanýlan dosya sistemlerini gerek olunca kendiliðinden baðlar
43 ve kullanýmlarý sona erince yine kendiliðinden çözer. Bu iþlem, að dosya
44 sistemleri, CD-ROM'lar ve disketler üzerinde yapýlabilir.
45
46 %prep
47 %setup -q
48 %patch -p1 
49
50 %build
51 CFLAGS=$RPM_OPT_FLAGS LDFLAGS=-s \
52     ./configure \
53     --prefix=/usr \
54     --sysconfdir=/etc/autofs
55
56 make 
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 install -d $RPM_BUILD_ROOT/usr/{sbin,lib/autofs,man/{man5,man8}}
62 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,autofs}
63
64 make sbindir=$RPM_BUILD_ROOT/usr/sbin \
65 mandir=$RPM_BUILD_ROOT/usr/man \
66 autofslibdir=$RPM_BUILD_ROOT/usr/lib/autofs install
67
68 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/autofs
69 install samples/auto.* $RPM_BUILD_ROOT/etc/autofs
70
71 install -d $RPM_BUILD_ROOT/misc
72
73 for i in auto.home auto.misc auto.var auto.tmp; do
74 touch $RPM_BUILD_ROOT/etc/autofs/$i; done
75
76 gzip -9 $RPM_BUILD_ROOT/usr/man/man[58]/*
77 bzip2 -9 NEWS README 
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post
83 /sbin/chkconfig --add autofs
84
85 %preun
86 if [ $1 = 0 ]; then
87     /sbin/chkconfig --del autofs
88 fi
89
90 %files
91 %defattr(644,root,root,755)
92 %doc {NEWS,README}.bz2 
93
94 %attr(750,root,root) %config /etc/rc.d/init.d/autofs
95 %attr(750,root,root) %dir /etc/autofs
96 %attr(640,root,root) %config %verify(not size mtime md5) /etc/autofs/*
97 %attr(755,root,root) /usr/sbin/automount
98
99 %dir /misc
100
101 %dir /usr/lib/autofs
102 %attr(755,root,root) /usr/lib/autofs/*
103 %attr(644,root, man) /usr/man/man[58]/*
104
105 %changelog
106 * Sat Oct 10 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
107   [3.1.3-1d]
108 - fixed pl translation,
109 - fixed invalid modules/Makefile;
110 - fixed files permissions,
111 - moved sysconfdir to /etc/autofs,
112 - fixed rc.autofs to work wiht bash-2.02.1 and higher,
113 - added some samples auto.* config files.
114
115 * Fri Jun 12 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
116   [3.1.1-4d]
117 - build against glibc-2.1,
118 - translation modified for pl,
119 - added %defattr support,
120 - build from non root's account,
121 - moved %changelog at the end of spec.
122
123 * Thu May 07 1998 Prospector System <bugs@redhat.com>
124 - translations modified for de, fr, tr
125
126 * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
127 - updated to 3.1.1
128
129 * Wed Apr 22 1998 Michael K. Johnson <johnsonm@redhat.com>
130 - enhanced initscripts
131
132 * Fri Dec 05 1997 Michael K. Johnson <johnsonm@redhat.com>
133 - Link with -lnsl for glibc compliance.
134
135 * Thu Oct 23 1997 Michael K. Johnson <johnsonm@redhat.com>
136 - exclusivearch for i386 for now, since our kernel packages on
137   other platforms don't include autofs yet.
138 - improvements to initscripts.
139
140 * Thu Oct 16 1997 Michael K. Johnson <johnsonm@redhat.com>
141 - Built package from 0.3.14 for 5.0
This page took 1.131368 seconds and 4 git commands to generate.