📄 submount.spec
字号:
%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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -