SPECS: lshwd.spec (NEW) - new, build fails totally

glen glen at pld-linux.org
Mon Jan 5 11:40:03 CET 2009


Author: glen                         Date: Mon Jan  5 10:40:02 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, build fails totally

---- Files affected:
SPECS:
   lshwd.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/lshwd.spec
diff -u /dev/null SPECS/lshwd.spec:1.1
--- /dev/null	Mon Jan  5 11:40:03 2009
+++ SPECS/lshwd.spec	Mon Jan  5 11:39:57 2009
@@ -0,0 +1,49 @@
+# $Revision$, $Date$
+Summary:	Lists hardware devices and their approp modules
+Name:		lshwd
+Version:	1.1.3
+Release:	0.1
+License:	GPL v2
+Group:		Applications/System
+Source0:	http://user-contributions.org/projects/lshwd/source/%{name}-%{version}.tar.gz
+# Source0-md5:	493ae06aada341f0bde063aab3c4167f
+URL:		http://user-contributions.org/projects/lshwd/
+BuildRequires:	libusb-devel
+BuildRequires:	pciutils-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+lshwd - lists hardware devices and their approp modules. currently
+supports pci, usb, pcmcia, and firewire devices. lshwd uses pcitable &
+usbtable files (can be located at same directory or /usr/share/hwdata)
+for displaying extended description and module names. module names are
+then parsed for generic names and changes accordingly.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sbindir}
+install lshwd $RPM_BUILD_ROOT%{_sbindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/01/05 10:39:57  glen
+- new, build fails totally
+
================================================================


More information about the pld-cvs-commit mailing list