Blame SPECS/ostree.spec

7ed8e8
Summary: Tool for managing bootable, immutable filesystem trees
7ed8e8
Name: ostree
c8d317
Version: 2016.1
c8d317
Release: 2.atomic%{?dist}
7ed8e8
#VCS: git:git://git.gnome.org/ostree
7ed8e8
Source0: http://ftp.gnome.org/pub/GNOME/sources/ostree/%{version}/ostree-%{version}.tar.xz
7ed8e8
Source1: 91-ostree.preset
c8d317
Patch0: 0001-ostree-remount-Explicitly-set-tmp-to-01777.patch
c8d317
Patch1: 0001-fetcher-Fix-hung-GTlsInteraction.patch
7ed8e8
License: LGPLv2+
7ed8e8
URL: http://live.gnome.org/OSTree
7ed8e8
7ed8e8
# For autosetup
7ed8e8
BuildRequires: git
7ed8e8
# We always run autogen.sh
7ed8e8
BuildRequires: autoconf automake libtool
7ed8e8
# For docs
7ed8e8
BuildRequires: gtk-doc
7ed8e8
# Core requirements
a5f24b
BuildRequires: pkgconfig(libgsystem) >= 2015.1
7ed8e8
BuildRequires: pkgconfig(libsoup-2.4)
7ed8e8
BuildRequires: libattr-devel
7ed8e8
# Extras
7ed8e8
BuildRequires: pkgconfig(libarchive)
7ed8e8
BuildRequires: pkgconfig(libselinux)
7ed8e8
BuildRequires: pkgconfig(liblzma)
7ed8e8
BuildRequires: pkgconfig(e2p)
a5f24b
BuildRequires: libcap-devel
7ed8e8
BuildRequires: gpgme-devel
7ed8e8
BuildRequires: pkgconfig(systemd)
7ed8e8
BuildRequires: /usr/bin/g-ir-scanner
7ed8e8
BuildRequires: dracut
c8d317
BuildRequires:  bison
7ed8e8
7ed8e8
# Runtime requirements
a5f24b
Requires: libgsystem >= 2015.1
7ed8e8
Requires: dracut
7ed8e8
Requires: systemd-units
7ed8e8
7ed8e8
%description
7ed8e8
OSTree is a tool for managing bootable, immutable, versioned
7ed8e8
filesystem trees. While it takes over some of the roles of tradtional
7ed8e8
"package managers" like dpkg and rpm, it is not a package system; nor
7ed8e8
is it a tool for managing full disk images. Instead, it sits between
7ed8e8
those levels, offering a blend of the advantages (and disadvantages)
7ed8e8
of both.
7ed8e8
7ed8e8
%package devel
7ed8e8
Summary: Development headers for %{name}
7ed8e8
Group: Development/Libraries
7ed8e8
Requires: %{name} = %{version}-%{release}
7ed8e8
7ed8e8
%description devel
7ed8e8
The %{name}-devel package includes the header files for the %{name} library.
7ed8e8
7ed8e8
%package grub2
7ed8e8
Summary: GRUB2 integration for OSTree
7ed8e8
Group: Development/Libraries
7ed8e8
Requires: grub2
7ed8e8
7ed8e8
%description grub2
7ed8e8
GRUB2 integration for OSTree
7ed8e8
7ed8e8
%prep
7ed8e8
%autosetup -n ostree-%{version} -Sgit
7ed8e8
7ed8e8
%build
7ed8e8
env NOCONFIGURE=1 ./autogen.sh
7ed8e8
%configure --disable-silent-rules \
7ed8e8
	   --enable-gtk-doc \
7ed8e8
	   --disable-static-deltas \
7ed8e8
	   --with-selinux \
7ed8e8
	   --enable-libsoup-client-certs \
7ed8e8
	   --with-dracut
7ed8e8
make %{?_smp_mflags}
7ed8e8
7ed8e8
%install
7ed8e8
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c"
7ed8e8
find $RPM_BUILD_ROOT -name '*.la' -delete
7ed8e8
install -D -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system-preset/91-ostree.preset
7ed8e8
7ed8e8
%clean
7ed8e8
rm -rf $RPM_BUILD_ROOT
7ed8e8
7ed8e8
%post
7ed8e8
%systemd_post ostree-remount.service
7ed8e8
7ed8e8
%preun
7ed8e8
%systemd_preun ostree-remount.service
7ed8e8
7ed8e8
%files
7ed8e8
%doc COPYING README.md
7ed8e8
%{_bindir}/ostree
7ed8e8
%{_sbindir}/ostree-prepare-root
7ed8e8
%{_sbindir}/ostree-remount
7ed8e8
%{_datadir}/ostree/trusted.gpg.d
7ed8e8
%{_sysconfdir}/ostree
7ed8e8
%{_sysconfdir}/dracut.conf.d/ostree.conf
7ed8e8
%dir %{_prefix}/lib/dracut/modules.d/98ostree
7ed8e8
%{_prefix}/lib/systemd/system/ostree*.service
7ed8e8
%{_prefix}/lib/dracut/modules.d/98ostree/*
7ed8e8
%{_libdir}/*.so.1*
7ed8e8
%{_libdir}/girepository-1.0/OSTree-1.0.typelib
a5f24b
%{_mandir}/man*/*.gz
7ed8e8
%{_prefix}/lib/systemd/system-preset/91-ostree.preset
7ed8e8
7ed8e8
%files devel
7ed8e8
%{_libdir}/lib*.so
7ed8e8
%{_includedir}/*
7ed8e8
%{_libdir}/pkgconfig/*
7ed8e8
%dir %{_datadir}/gtk-doc/html/ostree
7ed8e8
%{_datadir}/gtk-doc/html/ostree
7ed8e8
%{_datadir}/gir-1.0/OSTree-1.0.gir
7ed8e8
7ed8e8
%files grub2
7ed8e8
%{_sysconfdir}/grub.d/*ostree
7ed8e8
%{_libexecdir}/ostree/grub2*
7ed8e8
7ed8e8
%changelog
c8d317
* Tue Feb 09 2016 Colin Walters <walters@redhat.com> - 2016.1-2.atomic
c8d317
- Backport patch to fix GTlsInteraction
c8d317
c8d317
* Tue Jan 12 2016 Colin Walters <walters@redhat.com> - 2016.1-1.atomic
c8d317
- New upstream version
c8d317
- Apply patch to fix /tmp permission regression: Resolves: #1297745
c8d317
c8d317
* Tue Dec 08 2015 Colin Walters <walters@redhat.com> - 2015.11-2.atomic
c8d317
- New upstream version
c8d317
- Continuation of: #1265756
c8d317
8aff2a
* Wed Sep 23 2015 Colin Walters <walters@redhat.com> - 2015.9-2.atomic
8aff2a
- New upstream version
8aff2a
da591a
* Sun May 31 2015 Colin Walters <walters@redhat.com> - 2015.6-4.atomic
da591a
- Backport complete patch: Resolves: #1225088
da591a
da591a
* Fri May 29 2015 Colin Walters <walters@redhat.com> - 2015.6-3.atomic
da591a
- Backport patches from Fedora rawhide
da591a
  Ensure bootloader ordering: Resolves: #1225088
da591a
  Close sysroot FD (would affect RHEL if we respun the installer)
Karanbir Singh 4ceea1
a5f24b
* Fri Apr 17 2015 Colin Walters <walters@redhat.com> - 2015.6-2.atomic
a5f24b
- New upstream release
a5f24b
a5f24b
* Tue Apr 07 2015 Colin Walters <walters@redhat.com> - 2015.5-2.atomic
a5f24b
- New upstream release
a5f24b
7ed8e8
* Fri Jan 23 2015 Colin Walters <walters@redhat.com> - 2015.3-2.atomic
7ed8e8
- New upstream release
7ed8e8
- Disable static deltas until they are stable
7ed8e8
7ed8e8
* Thu Jan 08 2015 Colin Walters <walters@redhat.com> - 2015.2-1.atomic
7ed8e8
- New upstream release
7ed8e8
7ed8e8
* Fri Dec 19 2014 Colin Walters <walters@redhat.com> - 2014.9-4.atomic
7ed8e8
- Rebuild for 7.1
7ed8e8
7ed8e8
* Mon Oct 27 2014 Colin Walters <walters@redhat.com> - 2014.9-3.atomic
7ed8e8
- Add patch to fix crasher on UEFI
7ed8e8
7ed8e8
* Fri Oct 24 2014 Colin Walters <walters@redhat.com> - 2014.9-2.atomic
7ed8e8
- New upstream release
7ed8e8
7ed8e8
* Fri Oct 17 2014 Colin Walters <walters@redhat.com> - 2014.8-2.atomic
7ed8e8
- Add patch for anaconda work
7ed8e8
7ed8e8
* Thu Oct 16 2014 Colin Walters <walters@redhat.com> - 2014.8-1.atomic
7ed8e8
- New upstream source
7ed8e8
7ed8e8
* Fri Oct 03 2014 Colin Walters <walters@redhat.com> - 2014.7-1.atomic
7ed8e8
- New upstream source
7ed8e8
7ed8e8
* Sat Sep 20 2014 Colin Walters <walters@redhat.com> - 2014.6-3.atomic
7ed8e8
- Backport patches for /etc merging
7ed8e8
7ed8e8
* Mon Sep 08 2014 Colin Walters <walters@redhat.com> - 2014.6-2.atomic
7ed8e8
- New upstream release
7ed8e8
7ed8e8
* Fri Jun 27 2014 Colin Walters <walters@redhat.com>
7ed8e8
- Add patch for tls-ca-path to enable restricting to Red Hat CDN CA
7ed8e8
7ed8e8
* Thu Jun 26 2014 Colin Walters <walters@redhat.com>
7ed8e8
- Add patch to hard require client certs, use it.  This ensures
7ed8e8
  that the functionality is available in the buildroot, and we
7ed8e8
  do not silently compile without it.
7ed8e8
7ed8e8
* Thu Jun 26 2014 Colin Walters <walters@redhat.com>
7ed8e8
- Rebuild to pick up tagged libsoup for client-side certs
7ed8e8
7ed8e8
* Thu Jun 12 2014 Colin Walters <walters@redhat.com>
7ed8e8
- New atomic build
7ed8e8
7ed8e8
* Sat Mar 22 2014 Colin Walters <walters@verbum.org> - 2014.3-1.collider.0
7ed8e8
- New upstream release
7ed8e8
7ed8e8
* Sat Mar 01 2014 Colin Walters <walters@verbum.org> - 2014.2-1
7ed8e8
- New upstream release
7ed8e8
- Depend on libselinux
7ed8e8
- Explicitly depend on libarchive too, we were actually failing
7ed8e8
  to disable it before
7ed8e8
7ed8e8
* Fri Jan 24 2014 Colin Walters <walters@verbum.org> - 2014.1-1
7ed8e8
- New upstream release
7ed8e8
7ed8e8
* Mon Jan 13 2014 Colin Walters <walters@verbum.org> - 2013.7-2
7ed8e8
- Add preset file so ostree-remount is enabled by default, since
7ed8e8
  it needs to be.
7ed8e8
7ed8e8
* Tue Oct 15 2013 Colin Walters <walters@verbum.org> - 2013.7-1
7ed8e8
- New upstream release
7ed8e8
- Now LGPLv2+ only
7ed8e8
- Enable libarchive since it might be useful for people
7ed8e8
- Enable new gpgme dependency
7ed8e8
7ed8e8
* Thu Sep 12 2013 Colin Walters <walters@verbum.org> - 2013.6-3
7ed8e8
- Enable introspection
7ed8e8
7ed8e8
* Mon Sep 09 2013 Colin Walters <walters@verbum.org> - 2013.6-2
7ed8e8
- Tweak description
7ed8e8
7ed8e8
* Mon Sep 09 2013 Colin Walters <walters@verbum.org> - 2013.6-1
7ed8e8
- New upstream release
7ed8e8
7ed8e8
* Sat Aug 25 2013 Colin Walters <walters@verbum.org> - 2013.5-3
7ed8e8
- And actually while we are here, drop all the embedded dependency
7ed8e8
  goop from this spec file; it may live on in the EPEL branch.
7ed8e8
7ed8e8
* Sat Aug 25 2013 Colin Walters <walters@verbum.org> - 2013.5-2
7ed8e8
- Drop requirement on linux-user-chroot
7ed8e8
  We now require triggers to be processed on the build server
7ed8e8
  by default, so ostree does not runtime-depend on linux-user-chroot.
7ed8e8
7ed8e8
* Sat Aug 17 2013 Colin Walters <walters@verbum.org> - 2013.5-1
7ed8e8
- New upstream release
7ed8e8
- Add devel package
7ed8e8
7ed8e8
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2013.4-2
7ed8e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7ed8e8
7ed8e8
* Tue Jul 16 2013 Colin Walters <walters@verbum.org> - 2013.4-1
7ed8e8
- New upstream release
7ed8e8
7ed8e8
* Sun Jul 07 2013 Colin Walters <walters@verbum.org> - 2013.3-1
7ed8e8
- New upstream release
7ed8e8
7ed8e8
* Mon Apr 01 2013 Colin Walters <walters@verbum.org> - 2013.1-1
7ed8e8
- New upstream release
7ed8e8
7ed8e8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2012.13-2
7ed8e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7ed8e8
7ed8e8
* Sun Dec 23 2012 Colin Walters <walters@verbum.org> - 2012.13-1
7ed8e8
- New upstream release
7ed8e8
7ed8e8
* Tue Dec 18 2012 Colin Walters <walters@verbum.org> - 2012.12-2
7ed8e8
- Explicitly enable grub2 hook; otherwise we pick up whatever
7ed8e8
  the buildroot has, which is not what we want.
7ed8e8
7ed8e8
* Mon Nov 19 2012 Colin Walters <walters@verbum.org> - 2012.12-1
7ed8e8
- Initial import; thanks to Michel Alexandre Salim for review
7ed8e8
  https://bugzilla.redhat.com/show_bug.cgi?id=819951
7ed8e8