-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpex.spec
More file actions
38 lines (30 loc) · 688 Bytes
/
pex.spec
File metadata and controls
38 lines (30 loc) · 688 Bytes
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
Name: pex
Version: CHANGEME
Release: 1
Summary: package manager for PostgreSQL
License: MIT
URL: https://github.com/petere/pex
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: curl, git
%description
Pex is a tool for downloading and installing PostgreSQL extensions
and other packages. It’s based on Git and standard Unix tools
underneath.
%prep
%setup -q
%build
make prefix=%{_prefix}
%install
rm -rf %{buildroot}
make install prefix=%{_prefix} DESTDIR=%{buildroot}
%check
make check
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README.md
%{_bindir}/*
%{_mandir}/man1/*