Blob Blame History Raw
Summary: Extra tools for rpm-ostree
Name: rpm-ostree-toolbox
Version: 2014.100
Release: 1%{?dist}
#VCS: https://github.com/cgwalters/rpm-ostree-toolbox
# This tarball is generated via "make -C packaging -f Makefile.dist-packaging dist-snapshot"
# which is really just a wrapper for "git archive".
# It doesn't follow the Github guidelines because they only work for
# github; the infrastructure above is generic for any git repository.
Source0: %{name}-%{version}.tar.xz
License: LGPLv2+
URL: https://github.com/cgwalters/rpm-ostree-toolbox
# We always run autogen.sh
BuildRequires: autoconf automake libtool
# For docs
BuildRequires: gtk-doc
BuildRequires: gnome-common
BuildRequires: pkgconfig(ostree-1)
BuildRequires: pkgconfig(libgsystem)
BuildRequires: pkgconfig(json-glib-1.0)

Requires: gjs
Requires: libguestfs-tools-c
Requires: libguestfs-gobject
# Needed for libguests
Requires: kernel
%if 0%{?rhel}
%else
Requires: libguestfs-xfs
%endif

%description
Various utilities and scripts for working with rpm-ostree based
operating systems, particularly as virtual machines.

%prep
%setup -q -n %{name}-%{version}

%build
env NOCONFIGURE=1 ./autogen.sh
%configure --disable-silent-rules
make %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot} INSTALL="install -p -c"

%files
%doc COPYING README.md
%{_bindir}/rpm-ostree-toolbox
%{_libdir}/%{name}/
%{_datadir}/%{name}/

%changelog
* Fri May 30 2014 Colin Walters <walters@verbum.org> - 2014.100-1
- New upstream release

* Sat May 24 2014 Colin Walters <walters@verbum.org> - 2014.11-1
- Initial package