2013-09-10 02:17:52 +00:00
|
|
|
Summary: Git for operating system binaries
|
2012-11-19 21:05:28 +00:00
|
|
|
Name: ostree
|
2014-04-13 17:58:57 +00:00
|
|
|
Version: 2014.4
|
2014-04-13 18:59:03 +00:00
|
|
|
Release: 2%{?dist}
|
2012-11-19 21:05:28 +00:00
|
|
|
#VCS: git:git://git.gnome.org/ostree
|
2013-08-26 02:46:25 +00:00
|
|
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/ostree/%{version}/ostree-%{version}.tar.xz
|
2014-01-14 15:38:43 +00:00
|
|
|
Source1: 91-ostree.preset
|
2013-10-15 21:27:10 +00:00
|
|
|
License: LGPLv2+
|
2012-11-19 21:05:28 +00:00
|
|
|
URL: http://live.gnome.org/OSTree
|
2013-09-12 18:21:27 +00:00
|
|
|
|
2012-11-19 21:05:28 +00:00
|
|
|
# We always run autogen.sh
|
|
|
|
BuildRequires: autoconf automake libtool
|
|
|
|
# For docs
|
|
|
|
BuildRequires: gtk-doc
|
2013-09-12 18:21:27 +00:00
|
|
|
# Core requirements
|
2014-04-13 18:59:03 +00:00
|
|
|
BuildRequires: pkgconfig(libgsystem)
|
2013-09-12 18:21:27 +00:00
|
|
|
BuildRequires: pkgconfig(libsoup-2.4)
|
2013-10-15 21:27:10 +00:00
|
|
|
BuildRequires: libattr-devel
|
|
|
|
# Extras
|
|
|
|
BuildRequires: pkgconfig(libarchive)
|
2014-03-01 20:16:19 +00:00
|
|
|
BuildRequires: pkgconfig(libselinux)
|
2013-10-15 21:27:10 +00:00
|
|
|
BuildRequires: gpgme-devel
|
2013-09-12 18:21:27 +00:00
|
|
|
BuildRequires: pkgconfig(systemd)
|
|
|
|
BuildRequires: /usr/bin/g-ir-scanner
|
2013-07-08 01:51:28 +00:00
|
|
|
BuildRequires: dracut
|
2012-11-19 21:05:28 +00:00
|
|
|
|
2013-09-12 18:21:27 +00:00
|
|
|
# Runtime requirements
|
2013-07-08 01:51:28 +00:00
|
|
|
Requires: dracut
|
2014-03-07 12:47:27 +00:00
|
|
|
Requires: /usr/bin/gpgv2
|
2013-08-17 22:05:33 +00:00
|
|
|
Requires: systemd-units
|
2012-11-19 21:05:28 +00:00
|
|
|
|
|
|
|
%description
|
2013-09-10 02:17:52 +00:00
|
|
|
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.
|
2012-11-19 21:05:28 +00:00
|
|
|
|
2013-08-17 22:05:33 +00: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.
|
|
|
|
|
2012-11-19 21:05:28 +00:00
|
|
|
%prep
|
2013-08-26 02:46:25 +00:00
|
|
|
%setup -q -n ostree-%{version}
|
2012-11-19 21:05:28 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
env NOCONFIGURE=1 ./autogen.sh
|
|
|
|
%configure --disable-silent-rules \
|
2013-08-17 22:05:33 +00:00
|
|
|
--enable-gtk-doc \
|
2014-03-01 20:16:19 +00:00
|
|
|
--with-selinux \
|
2013-08-26 02:46:25 +00:00
|
|
|
--with-dracut
|
2012-11-19 21:05:28 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c"
|
2013-08-17 22:05:33 +00:00
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
2014-01-14 15:38:43 +00:00
|
|
|
install -D -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system-preset/91-ostree.preset
|
2012-11-19 21:05:28 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2013-08-17 22:05:33 +00:00
|
|
|
%post
|
|
|
|
%systemd_post ostree-remount.service
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun ostree-remount.service
|
|
|
|
|
2012-11-19 21:05:28 +00:00
|
|
|
%files
|
|
|
|
%doc COPYING README.md
|
|
|
|
%{_bindir}/ostree
|
2013-07-08 01:51:28 +00:00
|
|
|
%{_sbindir}/ostree-prepare-root
|
|
|
|
%{_sbindir}/ostree-remount
|
2014-03-14 18:28:54 +00:00
|
|
|
%{_datadir}/ostree/trusted.gpg.d
|
2013-07-08 01:51:28 +00:00
|
|
|
%{_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/*
|
2013-08-17 22:05:33 +00:00
|
|
|
%{_libdir}/*.so.1*
|
2013-09-12 18:21:27 +00:00
|
|
|
%{_libdir}/girepository-1.0/OSTree-1.0.typelib
|
2014-03-31 21:41:56 +00:00
|
|
|
%{_mandir}/man*/*.gz
|
2014-01-14 15:38:43 +00:00
|
|
|
%{_prefix}/lib/systemd/system-preset/91-ostree.preset
|
2012-11-19 21:05:28 +00:00
|
|
|
|
2013-08-17 22:05:33 +00:00
|
|
|
%files devel
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
%dir %{_datadir}/gtk-doc/html/ostree
|
|
|
|
%{_datadir}/gtk-doc/html/ostree
|
2013-09-12 18:21:27 +00:00
|
|
|
%{_datadir}/gir-1.0/OSTree-1.0.gir
|
2013-08-17 22:05:33 +00:00
|
|
|
|
2012-11-19 21:05:28 +00:00
|
|
|
%changelog
|
2014-04-13 17:58:57 +00:00
|
|
|
* Sun Apr 13 2014 Colin Walters <walters@verbum.org> - 2014.4-1
|
|
|
|
- New upstream release
|
|
|
|
|
2014-03-31 21:41:56 +00:00
|
|
|
* Mon Mar 31 2014 Colin Walters <walters@verbum.org>
|
|
|
|
- New git snapshot for rpm-ostree
|
|
|
|
|
2014-03-21 19:06:03 +00:00
|
|
|
* Fri Mar 21 2014 Colin Walters <walters@verbum.org> - 2014.3-1
|
|
|
|
- New upstream release
|
|
|
|
|
2014-03-14 18:28:54 +00:00
|
|
|
* Fri Mar 14 2014 Colin Walters <walters@verbum.org> - 2014.2-3
|
|
|
|
- Move trusted.gpg.d to main runtime package, where it should be
|
|
|
|
|
2014-03-07 12:47:27 +00:00
|
|
|
* Fri Mar 07 2014 Colin Walters <walters@verbum.org> - 2014.2-2
|
|
|
|
- Depend on gpgv2
|
|
|
|
- Resolves: #1073813
|
|
|
|
|
2014-03-01 20:16:19 +00:00
|
|
|
* Sat Mar 01 2014 Colin Walters <walters@verbum.org> - 2014.2-1
|
|
|
|
- New upstream release
|
|
|
|
- Depend on libselinux
|
|
|
|
- Explicitly depend on libarchive too, we were actually failing
|
|
|
|
to disable it before
|
|
|
|
|
2014-01-24 06:47:34 +00:00
|
|
|
* Fri Jan 24 2014 Colin Walters <walters@verbum.org> - 2014.1-1
|
|
|
|
- New upstream release
|
|
|
|
|
2014-01-14 15:38:43 +00:00
|
|
|
* Mon Jan 13 2014 Colin Walters <walters@verbum.org> - 2013.7-2
|
|
|
|
- Add preset file so ostree-remount is enabled by default, since
|
|
|
|
it needs to be.
|
|
|
|
|
2013-10-15 21:27:10 +00:00
|
|
|
* Tue Oct 15 2013 Colin Walters <walters@verbum.org> - 2013.7-1
|
|
|
|
- New upstream release
|
|
|
|
- Now LGPLv2+ only
|
|
|
|
- Enable libarchive since it might be useful for people
|
|
|
|
- Enable new gpgme dependency
|
|
|
|
|
2013-09-12 18:21:27 +00:00
|
|
|
* Thu Sep 12 2013 Colin Walters <walters@verbum.org> - 2013.6-3
|
|
|
|
- Enable introspection
|
|
|
|
|
2013-09-10 02:17:52 +00:00
|
|
|
* Mon Sep 09 2013 Colin Walters <walters@verbum.org> - 2013.6-2
|
|
|
|
- Tweak description
|
|
|
|
|
2013-09-10 02:14:23 +00:00
|
|
|
* Mon Sep 09 2013 Colin Walters <walters@verbum.org> - 2013.6-1
|
|
|
|
- New upstream release
|
|
|
|
|
2013-08-26 02:46:25 +00:00
|
|
|
* Sat Aug 25 2013 Colin Walters <walters@verbum.org> - 2013.5-3
|
|
|
|
- And actually while we are here, drop all the embedded dependency
|
|
|
|
goop from this spec file; it may live on in the EPEL branch.
|
|
|
|
|
2013-08-25 20:56:30 +00:00
|
|
|
* Sat Aug 25 2013 Colin Walters <walters@verbum.org> - 2013.5-2
|
|
|
|
- Drop requirement on linux-user-chroot
|
|
|
|
We now require triggers to be processed on the build server
|
|
|
|
by default, so ostree does not runtime-depend on linux-user-chroot.
|
|
|
|
|
2013-08-17 22:05:33 +00:00
|
|
|
* Sat Aug 17 2013 Colin Walters <walters@verbum.org> - 2013.5-1
|
|
|
|
- New upstream release
|
|
|
|
- Add devel package
|
|
|
|
|
2013-08-03 16:08:22 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2013.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-17 00:54:25 +00:00
|
|
|
* Tue Jul 16 2013 Colin Walters <walters@verbum.org> - 2013.4-1
|
|
|
|
- New upstream release
|
|
|
|
|
2013-07-08 01:51:28 +00:00
|
|
|
* Sun Jul 07 2013 Colin Walters <walters@verbum.org> - 2013.3-1
|
|
|
|
- New upstream release
|
|
|
|
|
2013-04-02 13:18:41 +00:00
|
|
|
* Mon Apr 01 2013 Colin Walters <walters@verbum.org> - 2013.1-1
|
|
|
|
- New upstream release
|
|
|
|
|
2013-02-14 09:37:44 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2012.13-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-12-23 22:54:25 +00:00
|
|
|
* Sun Dec 23 2012 Colin Walters <walters@verbum.org> - 2012.13-1
|
|
|
|
- New upstream release
|
|
|
|
|
2012-12-18 17:06:21 +00:00
|
|
|
* Tue Dec 18 2012 Colin Walters <walters@verbum.org> - 2012.12-2
|
|
|
|
- Explicitly enable grub2 hook; otherwise we pick up whatever
|
|
|
|
the buildroot has, which is not what we want.
|
2012-11-19 21:05:28 +00:00
|
|
|
|
|
|
|
* Mon Nov 19 2012 Colin Walters <walters@verbum.org> - 2012.12-1
|
|
|
|
- Initial import; thanks to Michel Alexandre Salim for review
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=819951
|
|
|
|
|