Skip to content

Commit

Permalink
Merge pull request #50 from arrfab/rpm-spec
Browse files Browse the repository at this point in the history
Adding initial spec for RPM package
  • Loading branch information
jpmens authored Mar 15, 2017
2 parents 935a324 + 201abd2 commit 9e7390a
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions rpm-build/jo.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
Name: jo
Version: 1.0
Release: 1%{?dist}
Summary: jo is a small utility to create JSON objects

License: GPL2
URL: https://github.com/jpmens/jo
Source0: https://github.com/jpmens/jo/releases/download/v%{version}/jo-%{version}.tar.gz

BuildRequires: autoconf
BuildRequires: pandoc

%description
jo is a small utility to create JSON objects

%prep
%setup -q


%build
%configure
make %{?_smp_mflags}
make check

%install
rm -rf $RPM_BUILD_ROOT
%make_install


%files
%doc
%{_bindir}/*
%{_mandir}/man1/*


%changelog
* Wed Mar 15 2017 Fabian Arrotin <[email protected]> 1.0-1
- initial spec

0 comments on commit 9e7390a

Please sign in to comment.