This repository contains scripts for building an RPM package for the piqi
command-line tool.
The package includes:
/usr/bin/piqi
PIQI(1)
man page- HTML documentation (also available online at http://piqi.org/doc/)
Install the following packages:
yum install ocaml ocaml-camlp4-devel ocaml-findlib
# for building documentation and running tests
yum install pandoc protobuf-devel
make
The resulting binary and source RPM packages will be located here:
RPMS/*/piqi-*.rpm
SRPMS/piqi-*.src.rpm
To update the package after a new Piqi version is released:
- Set the
VERSION
andCOMMIT
variables in./Makefile
to the new upstream version. - Edit the following sections in
piqi.spec
:
%global commit <COMMIT>
Version: <VERSION>
Release: 1%{?dist}
%changelog