From 201abd20e103ed51b42ecc766460e161ea644b88 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Wed, 15 Mar 2017 12:17:29 +0100 Subject: [PATCH] Adding initial spec for RPM package --- rpm-build/jo.spec | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 rpm-build/jo.spec diff --git a/rpm-build/jo.spec b/rpm-build/jo.spec new file mode 100644 index 0000000..f46cc84 --- /dev/null +++ b/rpm-build/jo.spec @@ -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 1.0-1 +- initial spec