提交 7c229388 编写于 作者: L Lucas Meneghel Rodrigues 提交者: Lucas Meneghel Rodrigues

Merge pull request #12 from ruda/spec_file

Add Spec file to build RPM package.
......@@ -9,3 +9,5 @@ tags
cscope.*
build
sysinfo-*
MANIFEST
dist
include README.rst
include LICENSE
Summary: Avocado Test Framework
Name: avocado
Version: 0.0.1
Release: 1%{?dist}
License: GPLv2
Group: Development/Tools
URL: https://github.com/lmr/avocado
Source: avocado-%{version}.tar.gz
BuildRequires: python2-devel
BuildArch: noarch
Requires: python
%description
Avocado is an experimental test framework that is built on the experience with
the autotest framework. It aims to implement the good concepts that make
autotest a good test suite, while trying to streamline and reduce some of its
shortcomings.
%prep
%setup -q
%build
%{__python} setup.py build
%install
%{__python} setup.py install --root %{buildroot} --skip-build
%files
%defattr(-,root,root,-)
%doc README.rst LICENSE
%dir /etc/avocado
%config(noreplace)/etc/avocado/settings.ini
%{_bindir}/avocado
%{python_sitelib}/avocado*
%{_datadir}/avocado
%changelog
* Wed Apr 2 2014 Ruda Moura <rmoura@redhat.com> - 0.0.1-1
- Created initial spec file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册