Sisyphus repository
Last update: 19 june 2019 | SRPMs: 17691 | Visits: 14139111
en ru br
ALT Linux repos

Group :: Development/Other
RPM: ostree

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable check

Name: ostree
Version: 2019.2
Release: alt1

Summary: Linux-based operating system develop/build/deploy tool
License: LGPLv2+
Group: Development/Other

Packager: Vitaly Lipatov <lav at>

# Source-url:

Source: %name-%version.tar
# Note! Always use HEAD!!
# Source1-url:
Source1: libglnx.tar
# Source2-url:
Source2: bsdiff.tar


Requires: libostree = %version-%release
Requires: %_bindir/gpg2

BuildRequires: db2latex-xsl libarchive-devel libe2fs-devel
BuildRequires: libfuse-devel libgpgme-devel liblzma-devel libsystemd-devel
BuildRequires: zlib-devel libselinux-devel libcurl-devel libssl-devel
BuildRequires: libgpgme-devel liblzma-devel libmount-devel
BuildRequires: gobject-introspection-devel
BuildRequires: libsoup-devel libattr-devel
BuildRequires: libavahi-glib-devel libgjs-devel
# For docs
BuildRequires: gtk-doc


%package -n libostree
Summary: Library files of %name
Group: Development/C
License: LGPLv2

%description -n libostree
Library files of %name.

%package -n libostree-devel
Summary: Library and header files of %name
Group: Development/C
License: LGPLv2
Requires: libostree = %version-%release

%description -n libostree-devel
Development package containing library and header files of %name.

%package -n libostree-devel-doc
Summary: Development documentation for lib%name
Group: Development/Documentation
BuildArch: noarch

%description -n libostree-devel-doc
This package contains development documentation for lib%name.

%setup -a1 -a2
%__subst 's|$(prefix)\(/lib/tmpfiles.d\)|\1|g'

NOCONFIGURE=1 sh -x ./

%configure --disable-silent-rules \
  --without-dracut \
          --with-selinux \
          --with-curl \
          --with-openssl \
          --enable-gtk-doc \

# hack to fix missed dirname declaration

echo "#include <libgen.h>" >>config.h


rm -rf %buildroot/etc/dracut.conf.d/ %buildroot/usr/lib/dracut/
rm -rf %buildroot%_sysconfdir/grub.d/15_ostree
rm -rf %buildroot/lib/systemd/system-generators/ostree-system-generator

%make check

%exclude /usr/lib/libostree/grub2-15_ostree

%files -n libostree

%files -n libostree-devel

%files -n libostree-devel-doc


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin