-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathqav.spec
37 lines (30 loc) · 893 Bytes
/
qav.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
%define name qav
%define unmangled_name qav
%define release 1
Summary: Question Answer Validation
Name: %{python}-%{name}
Version: %{version}
Release: %{release}
Source0: %{unmangled_name}-%{version}.tar.gz
License: LGPL v2.1
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{unmangled_name}-%{version}-%{release}-buildroot
Requires: %{python}
Requires: %{python}-netaddr
Prefix: %{_prefix}
BuildArch: noarch
Vendor: UMIACS Staff <[email protected]>
Url: https://github.com/UMIACS/qav
%description
qav is a Python library for console-based question and answering, with the
ability to validate input.
%prep
%setup -n %{unmangled_name}-%{version}
%build
%{python} setup.py build
%install
%{python} setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root)