SPECS: libsmbios.spec - fixed build

qboosh qboosh at pld-linux.org
Mon Jul 9 20:38:08 CEST 2007


Author: qboosh                       Date: Mon Jul  9 18:38:08 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed build

---- Files affected:
SPECS:
   libsmbios.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/libsmbios.spec
diff -u SPECS/libsmbios.spec:1.2 SPECS/libsmbios.spec:1.3
--- SPECS/libsmbios.spec:1.2	Sat Jul  7 01:30:35 2007
+++ SPECS/libsmbios.spec	Mon Jul  9 20:38:03 2007
@@ -4,7 +4,7 @@
 Name:		libsmbios
 Version:	0.13.6
 Release:	1
-License:	GPL/OSL
+License:	OSL v2.1 or GPL v2+
 Group:		Libraries
 Source0:	http://linux.dell.com/libsmbios/download/libsmbios/%{name}-%{version}/%{name}-%{version}.tar.gz
 # Source0-md5:	cab4267585bb5c8707510c27026d5a3b
@@ -44,6 +44,9 @@
 Summary(uk.UTF-8):	Хедери для розробки програм з використанням libsmbios
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	libstdc++-devel
+# for libsmbiosxml only
+#BuildRequires:	libxml2-devel
 
 %description devel
 Header files and development documentation for libsmbios.
@@ -88,11 +91,13 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sysconfdir}
+install -d $RPM_BUILD_ROOT%{_includedir}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+cp -rf include/smbios $RPM_BUILD_ROOT%{_includedir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -101,26 +106,27 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING* ChangeLog NEWS README TODO
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%doc AUTHORS COPYING COPYING-OSL ChangeLog NEWS README TODO
+%attr(755,root,root) %{_libdir}/libsmbios.so.*.*.*
+%attr(755,root,root) %{_libdir}/libsmbiosxml.so.*.*.*
 
 %files progs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
-%{_includedir}/*
-%{_aclocaldir}/*.m4
-%{_pkgconfigdir}/*.pc
-%{_mandir}/man3/*
+%doc doc/interface/html
+%attr(755,root,root) %{_libdir}/libsmbios.so
+%attr(755,root,root) %{_libdir}/libsmbiosxml.so
+%{_libdir}/libsmbios.la
+%{_libdir}/libsmbiosxml.la
+%{_includedir}/smbios
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libsmbios.a
+%{_libdir}/libsmbiosxml.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -128,6 +134,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/07/09 18:38:03  qboosh
+- fixed build
+
 Revision 1.2  2007/07/06 23:30:35  qboosh
 - pl, better group for -progs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libsmbios.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list