From 0cca1391587dcd9defbb9dd8f1d6f03b4d84ddcd7affd8577f6154ab20e58f2c Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 8 Apr 2009 02:32:10 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dmidecode?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + dmidecode-2.10.tar.bz2 | 3 ++ dmidecode.changes | 8 ++++ dmidecode.spec | 86 ++++++++++++++++++++++++++++++++++++++++++ ready | 0 6 files changed, 121 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 dmidecode-2.10.tar.bz2 create mode 100644 dmidecode.changes create mode 100644 dmidecode.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/dmidecode-2.10.tar.bz2 b/dmidecode-2.10.tar.bz2 new file mode 100644 index 0000000..31f331f --- /dev/null +++ b/dmidecode-2.10.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d74a3e93353320317a424816f9a045df06d9ed4b5b80881e16fdfcc74c9e2c0 +size 51904 diff --git a/dmidecode.changes b/dmidecode.changes new file mode 100644 index 0000000..6a899dd --- /dev/null +++ b/dmidecode.changes @@ -0,0 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 25 10:35:42 CET 2009 - jdelvare@suse.de + +- Initial packaging. Historically, dmidecode had been part of the + pmtools package, but it didn't make that much sense so it now has + its own package. +- Initial version: 2.10. + diff --git a/dmidecode.spec b/dmidecode.spec new file mode 100644 index 0000000..fd033eb --- /dev/null +++ b/dmidecode.spec @@ -0,0 +1,86 @@ +# +# spec file for package dmidecode (Version 2.10) +# +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + + +Name: dmidecode +Url: http://www.nongnu.org/dmidecode/ +Version: 2.10 +Release: 2 +License: GPL v2 or later +Group: System/Console +Provides: pmtools:/usr/sbin/dmidecode +AutoReqProv: on +Summary: DMI table decoder +Source: %{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +ExclusiveArch: %ix86 ia64 x86_64 + +%description +Dmidecode reports information about your system's hardware as described +in your system BIOS according to the SMBIOS/DMI standard. This +information typically includes system manufacturer, model name, serial +number, BIOS version, asset tag as well as a lot of other details of +varying level of interest and reliability depending on the +manufacturer. This will often include usage status for the CPU sockets, +expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the +list of I/O ports (e.g. serial, parallel, USB). + +Beware that DMI data have proven to be too unreliable to be blindly +trusted. Dmidecode does not scan your hardware, it only reports what +the BIOS told it to. + + + +Authors: +-------- + Alan Cox + Jean Delvare + +%prep +%setup + +%build +make CFLAGS="$RPM_OPT_FLAGS" + +%install +install -dm 755 %{buildroot}/usr/sbin +install -dm 755 %{buildroot}%{_mandir}/man8 +install -dm 755 %{buildroot}%{_docdir}/%{name} +%ifarch ia64 +for i in dmidecode ; do +%else +for i in dmidecode vpddecode ownership biosdecode ; do +%endif +install -m 755 $i %{buildroot}/usr/sbin/ +install -m 644 man/$i.8 %{buildroot}%{_mandir}/man8/ +install -m 644 AUTHORS CHANGELOG LICENSE README %{buildroot}%{_docdir}/%{name}/ +done + +%files +%defattr(-,root,root) +/usr/sbin/* +%doc %{_docdir}/%{name} +/%{_mandir}/man8/* + +%changelog +* Wed Mar 25 2009 jdelvare@suse.de +- Initial packaging. Historically, dmidecode had been part of the + pmtools package, but it didn't make that much sense so it now has + its own package. +- Initial version: 2.10. diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4