69 lines
1.8 KiB
RPMSpec
69 lines
1.8 KiB
RPMSpec
Summary: Commit RPMs to an OSTree repository
|
|
Name: rpm-ostree
|
|
Version: 2014.1
|
|
Release: 1%{?dist}
|
|
#VCS: https://github.com/cgwalters/rpm-ostree
|
|
# This tarball is generated via "make -f Makefile.dist-packaging dist-snapshot"
|
|
Source0: rpm-ostree-%{version}.tar.xz
|
|
License: LGPLv2+
|
|
URL: https://github.com/cgwalters/rpm-ostree
|
|
# We always run autogen.sh
|
|
BuildRequires: autoconf automake libtool
|
|
# For docs
|
|
BuildRequires: gtk-doc
|
|
BuildRequires: gnome-common
|
|
BuildRequires: pkgconfig(ostree-1)
|
|
BuildRequires: pkgconfig(libgsystem)
|
|
BuildRequires: pkgconfig(json-glib-1.0)
|
|
BuildRequires: pkgconfig(rpm)
|
|
BuildRequires: pkgconfig(hawkey)
|
|
BuildRequires: libcap-devel
|
|
|
|
Requires: /usr/bin/yum
|
|
|
|
%description
|
|
This tool takes a set of packages, and commits them to an OSTree
|
|
repository. At the moment, it is intended for use on build servers.
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
%build
|
|
env NOCONFIGURE=1 ./autogen.sh
|
|
%configure --disable-silent-rules --enable-gtk-doc --enable-patched-hawkey-and-libsolv --enable-usrbinatomic
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c"
|
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
|
|
|
%files
|
|
%doc COPYING README.md
|
|
%{_bindir}/atomic
|
|
%{_bindir}/rpm-ostree
|
|
%{_libdir}/%{name}/
|
|
%{_mandir}/man1/*
|
|
%{_libdir}/*.so.1*
|
|
%{_libdir}/girepository-1.0/*.typelib
|
|
|
|
%files devel
|
|
%{_libdir}/lib*.so
|
|
%{_includedir}/*
|
|
%{_libdir}/pkgconfig/*
|
|
%dir %{_datadir}/gtk-doc/html/*
|
|
%{_datadir}/gtk-doc/html/*
|
|
%{_datadir}/gir-1.0/*-1.0.gir
|
|
|
|
%changelog
|
|
* Fri Mar 07 2014 Colin Walters <walters@verbum.org> - 2014.5-1
|
|
- Initial package
|
|
|