2014-01-16 06:54:48 +04:00
Summary : Commit RPMs to an OSTree repository
Name : rpm-ostree
2014-05-03 15:32:28 +04:00
Version : 2014.1
2014-01-16 06:54:48 +04:00
Release : 1%{?dist}
2014-02-24 02:27:56 +04:00
#VCS: https://github.com/cgwalters/rpm-ostree
# This tarball is generated via "make -f Makefile.dist-packaging dist-snapshot"
2014-01-16 06:54:48 +04:00
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)
2014-02-24 02:27:56 +04:00
BuildRequires : pkgconfig(libgsystem)
2014-02-13 03:26:31 +04:00
BuildRequires : pkgconfig(json-glib-1.0)
2014-03-28 03:57:10 +04:00
BuildRequires : pkgconfig(rpm)
BuildRequires : pkgconfig(hawkey)
2014-11-15 02:07:47 +03:00
BuildRequires : libcap-devel
2014-01-16 07:22:49 +04:00
2014-02-24 02:27:56 +04:00
Requires : /usr/bin/yum
2014-01-16 06:54:48 +04: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.
2015-04-09 00:20:50 +03:00
%package devel
Summary : Development headers for %{name}
Group : Development/Libraries
Requires : %{name} = %{version} -%{release}
%description devel
The %{name} -devel package includes the header files for the %{name} library.
2014-01-16 06:54:48 +04:00
%prep
%setup -q -n %{name} -%{version}
%build
env NOCONFIGURE=1 ./autogen.sh
2015-09-01 00:21:35 +03:00
%configure --disable-silent-rules --enable-gtk-doc
2014-01-16 06:54:48 +04:00
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL=" i n s t a l l - p - c "
2015-04-09 00:20:50 +03:00
find $RPM_BUILD_ROOT -name '*.la' -delete
2014-01-16 06:54:48 +04:00
%files
%doc COPYING README.md
%{_bindir} /rpm-ostree
%{_libdir} /%{name} /
2014-05-16 00:57:12 +04:00
%{_mandir} /man1/*
2015-04-09 00:20:50 +03:00
%{_libdir} /*.so.1*
%{_libdir} /girepository-1.0/*.typelib
2015-04-28 04:22:58 +03:00
%{_libexecdir} /rpm-ostreed
%{_datadir} /dbus-1/system-services/org.projectatomic.rpmostree1.service
%{_prefix} /lib/systemd/system/rpm-ostreed.service
%{_sysconfdir} /dbus-1/system.d/org.projectatomic.rpmostree1.conf
2015-04-09 00:20:50 +03:00
%files devel
%{_libdir} /lib*.so
%{_includedir} /*
%{_libdir} /pkgconfig/*
%dir %{_datadir} /gtk-doc/html/*
%{_datadir} /gtk-doc/html/*
%{_datadir} /gir-1.0/*-1.0.gir
2014-02-24 02:27:56 +04:00
2014-03-10 22:19:29 +04:00
%changelog
* Fri Mar 07 2014 Colin Walters <walters@verbum.org> - 2014.5-1
- Initial package