a3a65fd7b5
This is somewhat similar to what we've been doing with Continuous; we take the manifest.json, and turn it into a "snapshot". Except here there is a notion of inheritance. This gets stored into the tree as /usr/share/rpm-ostree/treefile.json. Additionally, it goes into the autobuilder directory in products-built.json. Though really we should split up that file, since it will be kind of...large.
47 lines
1.1 KiB
RPMSpec
47 lines
1.1 KiB
RPMSpec
Summary: Commit RPMs to an OSTree repository
|
|
Name: rpm-ostree
|
|
Version: 2014.1
|
|
Release: 1%{?dist}
|
|
#VCS: git:git://git.gnome.org/ostree
|
|
Source0: rpm-ostree-%{version}.tar.xz
|
|
License: LGPLv2+
|
|
URL: https://github.com/cgwalters/rpm-ostree
|
|
# We always run autogen.sh
|
|
BuildRequires: autoconf automake libtool
|
|
# For docs
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: gnome-common
|
|
BuildRequires: pkgconfig(ostree-1)
|
|
BuildRequires: pkgconfig(json-glib-1.0)
|
|
BuildRequires: /usr/bin/g-ir-scanner
|
|
|
|
Requires: ostree
|
|
|
|
# These are actually requirements for the autobuilder, not core
|
|
Requires: /usr/bin/gjs
|
|
Requires: /usr/bin/guestmount
|
|
Requires: libguestfs-gobject
|
|
|
|
%description
|
|
This tool takes a set of packages, and commits them to an OSTree
|
|
repository. At the moment, it is intended for use on build servers.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
%build
|
|
env NOCONFIGURE=1 ./autogen.sh
|
|
%configure --disable-silent-rules
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c"
|
|
|
|
%files
|
|
%doc COPYING README.md
|
|
%{_bindir}/rpm-ostree
|
|
%{_bindir}/rpm-ostree-autobuilder
|
|
%{_libdir}/%{name}/
|
|
%{_datadir}/%{name}/
|