rpm-ostree/rpm-ostree.spec

83 lines
2.2 KiB
RPMSpec
Raw Normal View History

2014-03-11 12:50:13 +00:00
Summary: Commit RPMs to an OSTree repository
Name: rpm-ostree
2014-03-31 23:22:53 +00:00
Version: 2014.7
Release: 2%{?dist}
2014-03-11 12:50:13 +00:00
#VCS: https://github.com/cgwalters/rpm-ostree
# This tarball is generated via "make -f Makefile.dist-packaging dist-snapshot"
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
2014-03-22 15:41:31 +00:00
BuildRequires: pkgconfig(ostree-1) >= 2014.3
2014-03-11 12:50:13 +00:00
BuildRequires: pkgconfig(libgsystem)
BuildRequires: pkgconfig(json-glib-1.0)
2014-03-31 23:44:11 +00:00
BuildRequires: pkgconfig(rpm)
BuildRequires: pkgconfig(hawkey)
2014-03-11 12:50:13 +00:00
# For now only treecompose requires this
#Requires: /usr/bin/yum
2014-03-22 15:41:31 +00:00
Requires: ostree >= 2014.3
2014-03-11 12:50:13 +00:00
%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.
%package autobuilder
Summary: Build server for rpm-ostree
Group: System Environment/Base
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: /usr/bin/gjs
Requires: /usr/bin/guestmount
Requires: libguestfs-gobject
BuildRequires: /usr/bin/g-ir-scanner
BuildRequires: readline-devel
%description autobuilder
An automatic build server for rpm-ostree.
%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
%{_libdir}/%{name}/
2014-04-01 02:04:42 +00:00
%{_mandir}/man*/*.gz
2014-03-11 12:50:13 +00:00
%files autobuilder
%{_bindir}/rpm-ostree-autobuilder
%{_libdir}/%{name}-autobuilder/
%{_datadir}/%{name}-autobuilder/
%changelog
* Tue Apr 08 2014 Colin Walters <walters@verbum.org>
- Drop requires on yum to allow minimal images without it
2014-03-31 23:22:53 +00:00
* Mon Mar 31 2014 Colin Walters <walters@verbum.org>
- New upstream release
2014-03-22 15:41:31 +00:00
* Sat Mar 22 2014 Colin Walters <walters@verbum.org> - 2014.6.3.g5707fa7-2
- Bump ostree version requirement
* Sat Mar 22 2014 Colin Walters <walters@verbum.org> - 2014.6.3.g5707fa7-1
- New git snapshot, add rpm-ostree-sign to file list
2014-03-22 14:02:38 +00:00
* Sat Mar 22 2014 Colin Walters <walters@verbum.org> - 2014.6-1
- New upstream version
2014-03-11 12:50:13 +00:00
* Fri Mar 07 2014 Colin Walters <walters@verbum.org> - 2014.5-1
- Initial package