📄 qadsl.spec.in
字号:
# qadsl.spec## Copyright (c) 2003 Joachim Nilsson joachim@gnufans.org#%define name qadsl%define version @VERSION@%define release 1%define manifest %{_builddir}/%{name}-%{version}-%{release}.manifest# required itemsName: %{name}Version: %{version}Release: %{release}Copyright: GPLGroup: Application/Misc# optional items#Vendor: Joachim Nilsson#Distribution:#Icon:#URL:#Packager: Joachim Nilsson joachim@gnufans.org# source + patchesSource: %{name}-%{version}.tar.gz#Source1:#Patch:#Patch1:# RPM info#Provides:#Requires:#Conflicts:#Prereq:#Prefix: /usrBuildRoot: /var/tmp/%{name}-%{version}Summary: Auto-login & keep-alive for Internet connections.%descriptionAuto-login & keep-alive for Internet connections.@configure_input@Please edit qadsl.spec.in to add several more lines of descriptionhere if appropriate, and to delete these instructions.%prep%setup -q#%patch0 -p1%build%configuremake%installrm -rf $RPM_BUILD_ROOTmkdir -p $RPM_BUILD_ROOT%makeinstall# __os_install_post is implicitly expanded after the# %install section... do it now, and then disable it,# so all work is done before building manifest.%{?__os_install_post}%define __os_install_post %{nil}# build the file list automagically into %{manifest}cd $RPM_BUILD_ROOTrm -f %{manifest}find . -type d \ | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' >> %{manifest}find . -type f \ | sed 's,^\.,\%attr(-\,root\,root) ,' >> %{manifest}find . -type l \ | sed 's,^\.,\%attr(-\,root\,root) ,' >> %{manifest}#%pre#%post#%preun#%postun%cleanrm -f %{manifest}rm -rf $RPM_BUILD_ROOT%files -f %{manifest}%defattr(-,root,root)#%doc README#%docdir#%config%changelog
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -