]> git.pld-linux.org Git - packages/osinfo-db.git/commitdiff
Initial release
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Fri, 13 Jan 2017 23:46:03 +0000 (00:46 +0100)
committerMarcin Banasiak <marcin.banasiak@gmail.com>
Fri, 13 Jan 2017 23:46:03 +0000 (00:46 +0100)
osinfo-db.spec [new file with mode: 0644]

diff --git a/osinfo-db.spec b/osinfo-db.spec
new file mode 100644 (file)
index 0000000..ab46d1f
--- /dev/null
@@ -0,0 +1,34 @@
+Summary:       osinfo database
+Name:          osinfo-db
+Version:       20170107
+Release:       1
+License:       GPL v2
+Group:         Libraries
+Source0:       https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.xz
+# Source0-md5: c1e5cda4155b80401acd4e8265283fe9
+URL:           https://libosinfo.org/
+BuildRequires: osinfo-db-tools
+BuildRequires: xz
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The osinfo database provides information about operating systems and
+hypervisor platforms to facilitate the automated configuration and
+provisioning of new virtual machines.
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+osinfo-db-import \
+       --root $RPM_BUILD_ROOT \
+       --dir %{_datadir}/osinfo \
+       %{SOURCE0}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_datadir}/osinfo
+
This page took 1.083957 seconds and 4 git commands to generate.