Name: min-metadata-service Version: 2014.3 Release: 1%{?dist} Summary: Minimal client implementation of EC2/OpenStack metadata API Group: System Environment/Base License: LGPLv2+ URL: https://github.com/cgwalters/min-metadata-service #VCS: https://github.com/cgwalters/min-metadata-service # This tarball is generated via "make -f Makefile.dist-packaging dist-snapshot" Source0: %{name}-%{version}.tar.xz BuildRequires: autoconf automake libtool BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(libgsystem) BuildRequires: pkgconfig(libsoup-2.4) BuildRequires: pkgconfig(systemd) Requires: systemd Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units %description Client implementation of a small subset of the metadata service API. At present, only SSH key provisioning is implemented. %prep %setup -q %build env NOCONFIGURE=1 ./autogen.sh %configure make %{?_smp_mflags} %install make install INSTALL='install -p' DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %post %systemd_post min-metadata.service %preun %systemd_preun min-metadata.service %files %doc COPYING %{_libexecdir}/min-metadata-service %{_prefix}/lib/systemd/system/min-metadata.service %changelog * Sun Mar 02 2014 Colin Walters - 2014.3-1 - Initial packaging