packages: hwreport/hwreport.spec - updated to 0.11.0
kiesiu
kiesiu at pld-linux.org
Mon Aug 8 13:27:48 CEST 2011
Author: kiesiu Date: Mon Aug 8 11:27:48 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- updated to 0.11.0
---- Files affected:
packages/hwreport:
hwreport.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: packages/hwreport/hwreport.spec
diff -u packages/hwreport/hwreport.spec:1.12 packages/hwreport/hwreport.spec:1.13
--- packages/hwreport/hwreport.spec:1.12 Wed Aug 6 20:51:47 2008
+++ packages/hwreport/hwreport.spec Mon Aug 8 13:27:42 2011
@@ -2,13 +2,15 @@
Summary: Collect system informations for the hardware4linux site
Summary(pl.UTF-8): Zbieranie informacji dla strony hardware4linux
Name: hwreport
-Version: 0.10.0
+Version: 0.11.0
Release: 1
License: GPL v2
Group: Applications/System
Source0: http://hardware4linux.info/res/%{name}-%{version}.tar.bz2
-# Source0-md5: f9a00ee633ee6e4a0d286f9482d7629d
+# Source0-md5: 463109a35076dfe946ab115cd5422e6d
URL: http://hardware4linux.info/
+BuildRequires: libusb
+BuildRequires: pkgconfig
Requires: dmidecode
Requires: issue
Requires: pciutils
@@ -29,26 +31,26 @@
kompatybilności na stronie <http://hardware4linux.info/>.
Działa to w obie strony - można pobierać informacje na temat
-sterowników i kompatybilności sprzętu ze strony lub wysyłać
-nowe wpisy na stronę hardware4linux.
+sterowników i kompatybilności sprzętu ze strony lub wysyłać nowe wpisy
+na stronę hardware4linux.
%prep
%setup -q
cat > Makefile <<'EOF'
-TARGET = scan-printers
+TARGET = scan-printers reportusb
INSTALL = %{_bindir}/install -c
-OBJECTS = scan-printers.o
-BINARIES = hwreport
+BINARIES = hwreport osinfo
sbindir = %{_sbindir}
all: Makefile $(TARGET)
-$(TARGET): $(OBJECTS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $(TARGET) $(OBJECTS)
+scan-printers: scan-printers.c
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
+
+reportusb: reportusb.c
+ $(CC) $(CFLAGS) `pkg-config --cflags libusb-1.0` $(LDFLAGS) `pkg-config --libs libusb-1.0` -o $@ $^
clean:
rm -f $(OBJECTS) $(TARGET)
-scan-printers.o: scan-printers.c
-
install:
$(INSTALL) $(TARGET) $(DESTDIR)/$(sbindir)
$(INSTALL) $(BINARIES) $(DESTDIR)/$(sbindir)
@@ -80,6 +82,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2011/08/08 11:27:42 kiesiu
+- updated to 0.11.0
+
Revision 1.12 2008/08/06 18:51:47 patrys
- 0.10.0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/hwreport/hwreport.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list