packages: Add files that should have been in previous commit
These were intended to be with the embedded-dependencies commit.
This commit is contained in:
parent
79f993beb4
commit
344a7b3fd3
|
|
@ -0,0 +1,66 @@
|
||||||
|
%if 0%{?rhel}
|
||||||
|
# HACK to fix building on RHEL6; find_debuginfo is crashing, not sure
|
||||||
|
# why
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Summary: Linux-based operating system develop/build/deploy tool
|
||||||
|
Name: ostree
|
||||||
|
Version: 2012.8
|
||||||
|
Release: 1%{?dist}
|
||||||
|
#VCS: git:git://git.gnome.org/ostree
|
||||||
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/ostree/%{version}/ostree-embeddeps-%{version}.tar.gz
|
||||||
|
License: LGPLv2+
|
||||||
|
URL: http://live.gnome.org/OSTree
|
||||||
|
# We always run autogen.sh
|
||||||
|
BuildRequires: autoconf automake libtool
|
||||||
|
# Too bad there isn't a pkg-config file =(
|
||||||
|
BuildRequires: libattr-devel
|
||||||
|
# For docs
|
||||||
|
BuildRequires: gtk-doc
|
||||||
|
|
||||||
|
# Embedded GLib dependencies
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: pkgconfig(libffi)
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
BuildRequires: pkgconfig(libselinux)
|
||||||
|
|
||||||
|
# Embedded libsoup dependencies
|
||||||
|
BuildRequires: gnome-common
|
||||||
|
BuildRequires: intltool
|
||||||
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
|
|
||||||
|
%description
|
||||||
|
See http://live.gnome.org/OSTree
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n ostree-embeddeps-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
env NOCONFIGURE=1 ./autogen.sh
|
||||||
|
%configure --disable-silent-rules --enable-embedded-dependencies \
|
||||||
|
--enable-documentation \
|
||||||
|
--disable-libarchive
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/ostree
|
||||||
|
%{_bindir}/ostree-pull
|
||||||
|
%{_bindir}/ostree-run-triggers
|
||||||
|
%{_bindir}/ostadmin
|
||||||
|
%{_sbindir}/ostree-switch-root
|
||||||
|
%dir %{_libdir}/ostree
|
||||||
|
%{_libdir}/ostree
|
||||||
|
%{_libexecdir}/ostreed
|
||||||
|
%dir %{_libexecdir}/ostree
|
||||||
|
%{_libexecdir}/ostree
|
||||||
|
%{_mandir}/man1/*.gz
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# rpmbuild-cwd:
|
||||||
|
# Run "rpmbuild", defining all RPM variables to use the current directory.
|
||||||
|
# This matches Fedora's system.
|
||||||
|
#
|
||||||
|
# Licensed under the new-BSD license (http://www.opensource.org/licenses/bsd-license.php)
|
||||||
|
# Copyright (C) 2010 Red Hat, Inc.
|
||||||
|
# Written by Colin Walters <walters@verbum.org>
|
||||||
|
|
||||||
|
pwd=$(pwd)
|
||||||
|
exec rpmbuild --define "_sourcedir ${pwd}" --define "_specdir ${pwd}" --define "_builddir ${pwd}" --define "_srcrpmdir ${pwd}" --define "_rpmdir ${pwd}" --define "_buildrootdir ${pwd}/.build" "$@"
|
||||||
Loading…
Reference in New Issue