Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
autofs
autofs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File autofs.spec of Package autofs
# # spec file for package autofs (Version 5.0.4) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: autofs Url: http://www.kernel.org/pub/linux/daemons/autofs/v5/ BuildRequires: bison e2fsprogs flex krb5-devel libxml2-devel module-init-tools nfs-client openldap2-devel License: GPLv2+ Group: System/Daemons AutoReqProv: on Version: 5.0.4 Release: 6.<RELEASE2> Summary: A Kernel-Based Automounter BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5/%{name}-%{version}.tar.bz2 Source1: sysconfig.autofs Source3: autofs.schema Source4: README.SuSE.ldap Source5: README.SuSE Source7: NetworkManager-autofs Source8: get-upstream-patches %define patchdate 20090122 Patch0: autofs-%{version}-upstream-patches-%{patchdate}.bz2 Patch1: autofs-5.0.4-fix-hosts-map-use-after-free.patch Patch10: autofs-suse-auto_master_default.patch Patch11: autofs-suse-autofs_init.patch Patch13: autofs-5.0.2-use_local_cflags.patch Patch15: autofs-5.0.4-link_kerberos.patch Patch16: autofs-5.0.4-as_needed.patch PreReq: %fillup_prereq %insserv_prereq aaa_base Recommends: nfs-client %description Autofs is a kernel-based automounter for Linux. It is still under development, although the features currently implemented seem to work well. There is nowhere near enough documentation available yet. Help in getting some written would be appreciated. This package replaces the amd package. Authors: -------- H. Peter Anvin <hpa@transmeta.com> Ian Kent <raven@themaw.net> %prep %setup cp %{SOURCE3} . cp %{SOURCE4} . cp %{SOURCE5} . # %patch0 -p1 %patch1 -p1 %patch10 -p1 %patch11 -p1 %patch13 -p1 %patch15 -p1 %patch16 %build autoconf -f ./configure %{_target_cpu}-suse-linux \ --libdir=%{_libdir} --mandir=%{_mandir} \ --with-confdir=/etc/sysconfig \ --disable-mount-locking \ --enable-forced-shutdown \ --enable-ignore-busy \ --with-hesiod=no \ --with-sasl make all DONTSTRIP=1 LOCAL_CFLAGS="$RPM_OPT_FLAGS %(getconf LFS_CFLAGS)" %install make install INSTALLROOT=$RPM_BUILD_ROOT ln -s ../../etc/init.d/autofs $RPM_BUILD_ROOT/usr/sbin/rcautofs mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates install -m 644 %{S:1} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.autofs mkdir -p $RPM_BUILD_ROOT/etc/NetworkManager/dispatcher.d install -m 755 %{S:7} $RPM_BUILD_ROOT/etc/NetworkManager/dispatcher.d/autofs # will be installed by fillup scripts rm -f $RPM_BUILD_ROOT/etc/sysconfig/autofs %clean rm -rf %{buildroot} %post if /sbin/chkconfig -c autofs 3; then %{insserv_force_if_yast autofs} fi %{fillup_only -n autofs} %preun %{stop_on_removal autofs} %postun %{insserv_cleanup} %files %defattr (-, root, root) /var/adm/fillup-templates/sysconfig.autofs %config(noreplace) /etc/auto.master %config(noreplace) /etc/auto.misc %config(noreplace) /etc/auto.net %config(noreplace) /etc/auto.smb %config(noreplace) /etc/autofs_ldap_auth.conf %config /etc/init.d/autofs %dir /etc/NetworkManager %dir /etc/NetworkManager/dispatcher.d /etc/NetworkManager/dispatcher.d/autofs /usr/sbin/rcautofs %doc COPYRIGHT README README.changer README.ncpfs README.replicated-server %doc README.smbfs README.v5.release autofs.schema %doc README.SuSE README.SuSE.ldap %dir %{_libdir}/autofs/ %{_libdir}/autofs/lookup_file.so %{_libdir}/autofs/lookup_files.so %{_libdir}/autofs/lookup_hosts.so %{_libdir}/autofs/lookup_ldap.so %{_libdir}/autofs/lookup_ldaps.so %{_libdir}/autofs/lookup_multi.so %{_libdir}/autofs/lookup_nis.so %{_libdir}/autofs/lookup_nisplus.so %{_libdir}/autofs/lookup_program.so %{_libdir}/autofs/lookup_userhome.so %{_libdir}/autofs/lookup_yp.so %{_libdir}/autofs/mount_afs.so %{_libdir}/autofs/mount_autofs.so %{_libdir}/autofs/mount_bind.so %{_libdir}/autofs/mount_changer.so %{_libdir}/autofs/mount_ext2.so %{_libdir}/autofs/mount_ext3.so %{_libdir}/autofs/mount_generic.so %{_libdir}/autofs/mount_nfs.so %{_libdir}/autofs/mount_nfs4.so %{_libdir}/autofs/parse_sun.so %{_mandir}/man5/* %{_mandir}/man8/* /usr/sbin/automount %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor