]> git.pld-linux.org Git - packages/autofs.git/blob - autofs.spec
- changed Group(pl) to Demony,
[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:        3
9 Copyright:      GPL
10 Group:          Daemons
11 Group(pl):      Demony
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 sieciowy 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 -9nf $RPM_BUILD_ROOT/usr/man/man[58]/* \
77         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}.gz 
93
94 %attr(750,root,root) %config /etc/rc.d/init.d/autofs
95 %attr(-,root,root,750) %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 /usr/man/man[58]/*
104
105 %changelog
106 * Mon Apr  5 1999 Piotr Czerwiñski <pius@pld.org.pl>
107   [3.1.3-3]
108 - changed Group(pl) to Demony,
109 - gzipping documentation,
110 - added -nf to gzip parameters,
111 - removed man group from man pages,
112 - fixed dir permissions,
113 - cosmetic changes for common l&f.
114
115 * Sat Oct 10 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
116   [3.1.3-1d]
117 - fixed pl translation,
118 - fixed invalid modules/Makefile;
119 - fixed files permissions,
120 - moved sysconfdir to /etc/autofs,
121 - fixed rc.autofs to work wiht bash-2.02.1 and higher,
122 - added some samples auto.* config files.
123
124 * Fri Jun 12 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
125   [3.1.1-4d]
126 - build against glibc-2.1,
127 - translation modified for pl,
128 - added %defattr support,
129 - build from non root's account,
130 - moved %changelog at the end of spec.
131
132 * Thu May 07 1998 Prospector System <bugs@redhat.com>
133 - translations modified for de, fr, tr
134
135 * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
136 - updated to 3.1.1
137
138 * Wed Apr 22 1998 Michael K. Johnson <johnsonm@redhat.com>
139 - enhanced initscripts
140
141 * Fri Dec 05 1997 Michael K. Johnson <johnsonm@redhat.com>
142 - Link with -lnsl for glibc compliance.
143
144 * Thu Oct 23 1997 Michael K. Johnson <johnsonm@redhat.com>
145 - exclusivearch for i386 for now, since our kernel packages on
146   other platforms don't include autofs yet.
147 - improvements to initscripts.
148
149 * Thu Oct 16 1997 Michael K. Johnson <johnsonm@redhat.com>
150 - Built package from 0.3.14 for 5.0
This page took 0.059964 seconds and 4 git commands to generate.