Summary: Test package
Name: ds
Version: 1.0.0
Release: 1
License: GPL
Group: System
Source: dstat-0.7.2.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Url:
Packager: dsabc
Prefix: %{_prefix}
Prefix: %{_sysconfdir}
%define userpath /opt/demo
%description
Just a test .
%prep
%setup -c
%install
install -d $RPM_BUILD_ROOT%{userpath}
cp -a %{name}* $RPM_BUILD_ROOT%{userpath}
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
%files
%defattr(-,root,root)
%{userpath}
暂留备忘,说明稍后
阅读(2976) | 评论(0) | 转发(0) |