-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvx.spec.in
45 lines (32 loc) · 873 Bytes
/
vx.spec.in
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
38
39
40
41
42
43
44
45
Name: vx
Version: __VERSION__
Release: __RELEASE__%{?dist}
Summary: Run commands in Python virtualenvs
Group: Development/Tools
License: MIT
URL: /~https://github.com/davvid/vx
Source0: /~https://github.com/davvid/vx/releases/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: bash
BuildRequires: coreutils
BuildRequires: make
Requires: bash
Requires: coreutils
Requires: gawk
BuildRoot: %{_topdir}/BUILDROOT/%{name}-%{version}
prefix: %{_prefix}
%description
Run commands in Python virtualenvs without polluting your shell environment.
%prep
%setup -q
%build
%install
make DESTDIR=%{buildroot} prefix=%{_prefix} bindir=%{_bindir} docdir=%{_docdir}/vx install
%clean
rm -rf %{buildroot}
%post
%postun
%files
%defattr(-,root,root,-)
%{_bindir}/vx
%{_docdir}/vx