From 9584273e91a56b43ac305cefc0083ecc0712b8e1 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Thu, 4 Aug 2016 16:42:15 +0100 Subject: [PATCH] Initial import --- .gitignore | 5 +++++ osinfo-db-tools.spec | 47 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+) create mode 100644 osinfo-db-tools.spec diff --git a/.gitignore b/.gitignore index e69de29..e64649c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,5 @@ +/osinfo-db-tools-*.tar.gz +/.build-*.log +*.rpm +x86_64/ +*~ diff --git a/osinfo-db-tools.spec b/osinfo-db-tools.spec new file mode 100644 index 0000000..c0e65ae --- /dev/null +++ b/osinfo-db-tools.spec @@ -0,0 +1,47 @@ +# -*- rpm-spec -*- + +Summary: Tools for managing the osinfo database +Name: osinfo-db-tools +Version: 1.0.0 +Release: 1%{?dist} +License: GPLv2+ +Source: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.gz +URL: http://libosinfo.org/ +BuildRequires: intltool +BuildRequires: glib2-devel +BuildRequires: libxml2-devel >= 2.6.0 +BuildRequires: libxslt-devel >= 1.0.0 +BuildRequires: libarchive-devel +BuildRequires: /usr/bin/pod2man + +%description +This package provides tools for managing the osinfo database of +information about operating systems for use with virtualization + +%prep +%setup -q + +%build +%configure +%__make %{?_smp_mflags} V=1 + +%install +%__make install DESTDIR=%{buildroot} + +%find_lang %{name} + +%files -f %{name}.lang +%doc AUTHORS ChangeLog NEWS README +%license COPYING +%{_bindir}/osinfo-db-export +%{_bindir}/osinfo-db-import +%{_bindir}/osinfo-db-path +%{_bindir}/osinfo-db-validate +%{_mandir}/man1/osinfo-db-export.1* +%{_mandir}/man1/osinfo-db-import.1* +%{_mandir}/man1/osinfo-db-path.1* +%{_mandir}/man1/osinfo-db-validate.1* + +%changelog +* Fri Jul 29 2016 Daniel P. Berrange - 1.0.0-1 +- Initial package after split from libosinfo (rhbz #1361594) diff --git a/sources b/sources index e69de29..b21354e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +70ca425996be08d3f8ff2e7aaf35073d osinfo-db-tools-1.0.0.tar.gz