submount.spec
来自「linux下mount各种文件系统的程序submount的源代码」· SPEC 代码 · 共 64 行
SPEC
64 行
%define dist mdk10beta2%define name submount%define version 0.9%define kerver 2.6.2-0.rc3.1mdk%define release 1Summary: Automatically mounts and unmounts removable media devices.Name: %{name}Version: %{version}Release: %{release}%{dist}Copyright: GPLGroup: System Environment/BaseSource: http://prdownloads.sourceforge.net/submount/submount-%{version}.tar.gzBuildRoot: /var/tmp/%{name}-buildroot%descriptionThe submount system automatically mounts and unmounts removablemedia devices when their mountpoints are accessed.Install submount if you do not wish to mount and unmount removable mediadevices manually.This RPM will only work with the vendor kernel for which it was created.If you are using a custom kernel, you must build submount from the sourcecode.%prep%setup -q#%patch -p1 -b .buildroot%buildcd subfs-%{version}makecd .../submountd-%{version}/configuremake CFLAGS="$RPM_OPT_FLAGS"%installmake install DESTDIR=$RPM_BUILD_ROOT mandir=%_mandircd subfs-%{version}make install DESTDIR=$RPM_BUILD_ROOTcd .../rename-docs %{version}%cleanrm -rf $RPM_BUILD_ROOT%postdepmod -a%files%defattr(-,root,root)%doc README COPYING INSTALL.subfs INSTALL.submountd README.subfs README.submountd /sbin/submountd/sbin/net-submountd/lib/modules/%{kerver}/kernel/fs/subfs/subfs.ko%_mandir/man8/submount.8*%changelog* Wed Feb 4 2004 Eugene S. Weiss <yossarian@users.sourceforge.net> Initial release.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?