SPECS: hwinfo.spec - updated headers patch, pass optflags in suppo...

qboosh qboosh at pld-linux.org
Wed May 23 22:17:31 CEST 2007


Author: qboosh                       Date: Wed May 23 20:17:31 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated headers patch, pass optflags in supported way
- .so symlink moved to -devel

---- Files affected:
SPECS:
   hwinfo.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/hwinfo.spec
diff -u SPECS/hwinfo.spec:1.6 SPECS/hwinfo.spec:1.7
--- SPECS/hwinfo.spec:1.6	Wed May 23 22:10:20 2007
+++ SPECS/hwinfo.spec	Wed May 23 22:17:26 2007
@@ -1,8 +1,4 @@
 # $Revision$, $Date$
-#
-# TODO:
-# - -static etc?
-# - doesn't build:
 Summary:	hwinfo - the hardware detection tool used in SuSE Linux
 Summary(pl.UTF-8):	hwinfo - narzędzie do wykrywania sprzętu używane w SuSE Linuksie
 Name:		hwinfo
@@ -15,6 +11,7 @@
 Patch0:		%{name}-kbd.patch
 Patch1:		%{name}-headers.patch
 URL:		http://packages.qa.debian.org/h/hwinfo.html
+BuildRequires:	dbus-devel >= 0.35
 BuildRequires:	flex
 BuildRequires:	hal-devel
 BuildRequires:	linux-libc-headers >= 7:2.6.20
@@ -47,7 +44,7 @@
 %build
 %{__make} -j1 \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} `pkg-config --cflags dbus-1`"
+	RPM_OPT_FLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -64,12 +61,14 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/*
-%attr(755,root,root) %{_libdir}/libhd.so*
+%attr(755,root,root) %{_libdir}/libhd.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libhd.so.13
 %{_datadir}/%{name}
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/*
+%attr(755,root,root) %{_libdir}/libhd.so
+%{_includedir}/hd.h
 %{_pkgconfigdir}/hwinfo.pc
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -78,6 +77,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2007/05/23 20:17:26  qboosh
+- updated headers patch, pass optflags in supported way
+- .so symlink moved to -devel
+
 Revision 1.6  2007/05/23 20:10:20  arvenil
 - BR: flex
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/hwinfo.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list