Summary: Git for operating system binaries Name: ostree Version: 2013.7 Release: 3%{?dist} #VCS: git:git://git.gnome.org/ostree Source0: http://ftp.gnome.org/pub/GNOME/sources/ostree/%{version}/ostree-%{version}.tar.xz Source1: 91-ostree.preset License: LGPLv2+ URL: http://live.gnome.org/OSTree # We always run autogen.sh BuildRequires: autoconf automake libtool # For docs BuildRequires: gtk-doc # Core requirements BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(libsoup-2.4) BuildRequires: pkgconfig(libgsystem) BuildRequires: pkgconfig(e2p) # Extras BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(libselinux) BuildRequires: gpgme-devel BuildRequires: pkgconfig(systemd) BuildRequires: /usr/bin/g-ir-scanner BuildRequires: dracut # Runtime requirements Requires: dracut Requires: systemd-units %description OSTree is a tool for managing bootable, immutable, versioned filesystem trees. While it takes over some of the roles of tradtional "package managers" like dpkg and rpm, it is not a package system; nor is it a tool for managing full disk images. Instead, it sits between those levels, offering a blend of the advantages (and disadvantages) of both. %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. %package grub2 Summary: GRUB2 integration for OSTree Group: Development/Libraries Requires: grub2 %description grub2 GRUB2 integration for OSTree %prep %setup -q -n ostree-%{version} %build env NOCONFIGURE=1 ./autogen.sh %configure --disable-silent-rules \ --enable-gtk-doc \ --with-selinux \ --with-dracut make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c" find $RPM_BUILD_ROOT -name '*.la' -delete install -D -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system-preset/91-ostree.preset %clean rm -rf $RPM_BUILD_ROOT %post %systemd_post ostree-remount.service %preun %systemd_preun ostree-remount.service %files %doc COPYING README.md %{_bindir}/ostree %{_sbindir}/ostree-prepare-root %{_sbindir}/ostree-remount %{_sysconfdir}/dracut.conf.d/ostree.conf %dir %{_prefix}/lib/dracut/modules.d/98ostree %{_prefix}/lib/systemd/system/ostree*.service %{_prefix}/lib/dracut/modules.d/98ostree/* %{_libdir}/*.so.1* %{_libdir}/girepository-1.0/OSTree-1.0.typelib %{_mandir}/man1/*.gz %{_mandir}/man5/*.gz %{_prefix}/lib/systemd/system-preset/91-ostree.preset %dir %{_sysconfdir}/ostree/remotes.d %files devel %{_libdir}/lib*.so %{_includedir}/* %{_libdir}/pkgconfig/* %{_datadir}/ostree %dir %{_datadir}/gtk-doc/html/ostree %{_datadir}/gtk-doc/html/ostree %{_datadir}/gir-1.0/OSTree-1.0.gir %files grub2 %{_sysconfdir}/grub.d/*ostree %{_libexecdir}/ostree/grub2*