rpms/libsmbios/devel .cvsignore, 1.9, 1.10 libsmbios.spec, 1.8, 1.9 sources, 1.9, 1.10
Michael E Brown (mebrown)
fedora-extras-commits at redhat.com
Wed Feb 13 15:23:06 UTC 2008
Author: mebrown
Update of /cvs/extras/rpms/libsmbios/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26496
Modified Files:
.cvsignore libsmbios.spec sources
Log Message:
* Wed Jan 9 2008 Michael E Brown <michael_e_brown at dell.com> - 2.0.0
- ABI incompatible, minor API changes
- sync up libsmbios soname with version #
- move binaries to /usr/sbin as they are only runnable by root
- drop libsmbiosxml lib as it was mostly unused.
- drop autotools generated files out of git and add autogen.sh
- drop tokenCtl binary-- pysmbios has a *much* improved version
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/libsmbios/devel/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- .cvsignore 26 Nov 2007 23:30:11 -0000 1.9
+++ .cvsignore 13 Feb 2008 15:22:30 -0000 1.10
@@ -1 +1 @@
-libsmbios-0.13.13.tar.gz
+libsmbios-2.0.0.tar.gz
Index: libsmbios.spec
===================================================================
RCS file: /cvs/extras/rpms/libsmbios/devel/libsmbios.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- libsmbios.spec 26 Nov 2007 23:30:11 -0000 1.8
+++ libsmbios.spec 13 Feb 2008 15:22:30 -0000 1.9
@@ -1,7 +1,7 @@
# these are all substituted by autoconf
-%define major 0
-%define minor 13
-%define sub 13
+%define major 2
+%define minor 0
+%define sub 0
%define extralevel %{nil}
%define release_name libsmbios
%define release_version %{major}.%{minor}.%{sub}%{extralevel}
@@ -13,15 +13,15 @@
Group: System Environment/Libraries
Source: http://linux.dell.com/libsmbios/download/%{name}/%{name}-%{version}/%{name}-%{version}.tar.gz
URL: http://linux.dell.com/libsmbios/main
-Summary: Open BIOS parsing libs
+Summary: Libsmbios shared libraries
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Provides: libsmbios-libs = %{version}-%{release}
+BuildRequires: libxml2-devel
# libsmbios only ever makes sense on intel compatible arches
# no DMI tables on ppc, s390, etc.
ExclusiveArch: x86_64 ia64 %{ix86}
-BuildRequires: libxml2-devel
-
#EPEL4/5 dont have cppunit/cppunit-devel, so skip build tests
# everything else should be able to pull in cppunit to run unit tests
# during build. Doesnt affect binaries produced, so doesnt affect
@@ -35,39 +35,24 @@
BuildRequires: doxygen
%endif
+
%description
Libsmbios is a library and utilities that can be used by client programs
to get information from standard BIOS tables, such as the SMBIOS table.
-%package libs
-Summary: Libsmbios shared libraries
-Group: System Environment/Libraries
-Obsoletes: libsmbiosxml-libs < 0:%{version}-%{release}
-Obsoletes: libsmbios < 0:%{version}-%{release}
-Provides: libsmbiosxml-libs = %{version}-%{release}
-
-
-%package bin
+%package -n smbios-utils
Summary: The "supported" sample binaries that use libsmbios
Group: Applications/System
-Requires: libsmbios-libs = %{version}-%{release}
-Obsoletes: libsmbiosxml-bin < 0:%{version}-%{release}
-Provides: libsmbiosxml-bin = %{version}-%{release}
-Obsoletes: smbios-utils < 0:%{version}-%{release}
-
-%package unsupported-bin
-Summary: Unsupported sample binaries using libsmbios
-Group: Applications/System
-Requires: libsmbios-libs = %{version}-%{release}
+Requires: libsmbios = %{version}-%{release}
+Obsoletes: libsmbios-bin < 0:0.13.11
+Provides: libsmbios-bin = %{version}-%{release}
+Obsoletes: libsmbios-unsupported-bin < 0.13.11
+Provides: libsmbios-unsupported-bin = %{version}-%{release}
%package devel
Summary: Development headers and archives
Group: Development/Libraries
-Requires: libsmbios-libs = %{version}-%{release}
-
-%description libs
-Libsmbios is a library and utilities that can be used by client programs
-to get information from standard BIOS tables, such as the SMBIOS table.
+Requires: libsmbios = %{version}-%{release}
%description devel
Libsmbios is a library and utilities that can be used by client programs
@@ -76,13 +61,7 @@
This package contains the headers and .a files necessary to compile new
client programs against libsmbios.
-%description bin
-Libsmbios is a library and utilities that can be used by client programs
-to get information from standard BIOS tables, such as the SMBIOS table.
-
-This package contains some sample binaries that use libsmbios.
-
-%description unsupported-bin
+%description -n smbios-utils
Libsmbios is a library and utilities that can be used by client programs
to get information from standard BIOS tables, such as the SMBIOS table.
@@ -107,7 +86,7 @@
[ ! -d /usr/include/cppunit ] || make -e check
%install
-[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
+rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
mkdir -p %{buildroot}/usr/include
@@ -119,18 +98,16 @@
# backwards compatible:
ln -s /usr/sbin/dellWirelessCtl %{buildroot}/usr/bin/dellWirelessCtl
-
%clean
rm -rf %{buildroot}
-%post libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
-%files libs
+%files
%defattr(-,root,root,-)
%doc COPYING-GPL COPYING-OSL README
%{_libdir}/libsmbios.so.*
-%{_libdir}/libsmbiosxml.so.*
%files devel
%defattr(-,root,root,-)
@@ -138,27 +115,27 @@
/usr/include/smbios
%{_libdir}/libsmbios.a
%{_libdir}/libsmbios.so
-%{_libdir}/libsmbiosxml.a
-%{_libdir}/libsmbiosxml.so
+%doc doc/full/html
-%files bin
+%files -n smbios-utils
%defattr(-,root,root,-)
-%doc COPYING-GPL COPYING-OSL README bin-unsupported/getopts_LICENSE.txt
+%doc COPYING-GPL COPYING-OSL README
+%doc bin-unsupported/getopts_LICENSE.txt include/smbios/config/boost_LICENSE_1_0_txt
%{_sbindir}/assetTag
%{_sbindir}/dellBiosUpdate
%{_sbindir}/getSystemId
%{_sbindir}/propertyTag
%{_sbindir}/serviceTag
-%{_sbindir}/tokenCtl
%{_sbindir}/verifySmiPassword
%{_sbindir}/wakeupCtl
%{_sbindir}/dellLcdBrightness
+
+# used by HAL in old location, so keep it around until HAL is updated.
%{_sbindir}/dellWirelessCtl
%{_bindir}/dellWirelessCtl
-%files unsupported-bin
-%defattr(-,root,root,-)
-%doc COPYING-GPL COPYING-OSL README include/smbios/config/boost_LICENSE_1_0_txt bin-unsupported/getopts_LICENSE.txt
+# community supported stuff...
+# may or may not work
%{_sbindir}/dellLEDCtl
%{_sbindir}/activateCmosToken
%{_sbindir}/ascii2enUS_scancode
@@ -175,14 +152,13 @@
# ./ChangeLog is appended by configure
%changelog
-* Mon Nov 26 2007 Michael Brown <mebrown at michaels-house.net> - 0.13.13-1
-- Fix for compiling with recent gcc (from Danny Kukawa @ suse)
-- fix for lsb issues - moved binaries to /usr/sbin/ because they require admin
- privs to run. Made one backwards-compat symlink to work with existing HAL
- which expects current location.
-
-* Mon Aug 28 2007 Michael E Brown <michael_e_brown at dell.com> - 0.13.10-1
-- Fix one instance where return code to fread was incorrectly checked.
+* Wed Jan 9 2008 Michael E Brown <michael_e_brown at dell.com> - 2.0.0
+- ABI incompatible, minor API changes
+- sync up libsmbios soname with version #
+- move binaries to /usr/sbin as they are only runnable by root
+- drop libsmbiosxml lib as it was mostly unused.
+- drop autotools generated files out of git and add autogen.sh
+- drop tokenCtl binary-- pysmbios has a *much* improved version
* Wed Aug 22 2007 Michael E Brown <michael_e_brown at dell.com> - 0.13.9
- Fix a couple of failure-to-check-return on fopen. most were unit-test code
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/libsmbios/devel/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources 26 Nov 2007 23:30:11 -0000 1.9
+++ sources 13 Feb 2008 15:22:30 -0000 1.10
@@ -1 +1 @@
-38ac169cfe866a8472e76df5c184a8ca libsmbios-0.13.13.tar.gz
+c66e2c6549010ac777dd51ea65e91faa libsmbios-2.0.0.tar.gz
More information about the fedora-extras-commits
mailing list