97 lines
2.8 KiB
RPMSpec
97 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package librtas (Version 1.3.2)
|
|
#
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: librtas
|
|
BuildRequires: doxygen
|
|
Version: 1.3.2
|
|
Release: 200710312345
|
|
Group: System/Libraries
|
|
License: IBM Public License
|
|
Summary: Libraries to provide access to RTAS calls and RTAS events
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
ExclusiveArch: ppc ppc64
|
|
Url: http://librtas.ozlabs.org/
|
|
Source0: http://librtas.ozlabs.org/downloads/librtas-%{version}.tar.bz2
|
|
Patch0: librtas.open_prop_file-off_by_one.patch
|
|
|
|
%description
|
|
The librtas shared library provides userspace with an interface through
|
|
which certain RTAS calls can be made. The library uses either of the
|
|
RTAS User Module or the RTAS system call to direct the kernel in making
|
|
these calls.
|
|
|
|
The librtasevent shared library provides users with a set of
|
|
definitions and common routines useful in parsing and dumping the
|
|
contents of RTAS events.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Nathan Fontenot <nfont@austin.ibm.com>
|
|
John Rose <johnrose@us.ibm.com>
|
|
Michael Strosaker <strosake@austin.ibm.com>
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
%build
|
|
make CFLAGS="$RPM_OPT_FLAGS -fPIC -g" LIBDIR="%{_libdir}" %{?jobs:-j%jobs}
|
|
make doc
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT doc/*/latex
|
|
mkdir $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT LIBDIR="%{_libdir}"
|
|
/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
%post
|
|
%{run_ldconfig}
|
|
|
|
%postun
|
|
%{run_ldconfig}
|
|
|
|
%files
|
|
%defattr(444, root, root,555)
|
|
%doc COPYRIGHT README doc
|
|
/usr/include/*
|
|
%attr (555,root,root)%{_libdir}/lib*
|
|
%changelog
|
|
* Wed Nov 07 2007 - sassmann@suse.de
|
|
- fixed wrong release number
|
|
* Mon Nov 05 2007 - sassmann@suse.de
|
|
- added arch ppc64 for build
|
|
- Patch librtas.signed-char.patch removed
|
|
- Patch librtas.syscall.patch removed
|
|
* Tue Oct 16 2007 - sassmann@suse.de
|
|
- update to librtas-1.3.2 (feature #302692)
|
|
- patches disabled
|
|
Patch0: librtas.signed-char.patch
|
|
Patch1: librtas.syscall.patch
|
|
* Fri Oct 13 2006 - olh@suse.de
|
|
- fix off by one in open_prop_file
|
|
* Fri Jan 27 2006 - olh@suse.de
|
|
- package soname symlink
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Fri Dec 09 2005 - olh@suse.de
|
|
- use unsigned char for fprintf. The rtas_dump output will be
|
|
corrupt, depending on the input data (#93851)
|
|
* Fri Oct 28 2005 - olh@suse.de
|
|
- update to version 1.2.4 (130214 - LTC19273)
|
|
* Wed Oct 26 2005 - olh@suse.de
|
|
- update to version 1.2.3 (130214 - LTC19273)
|
|
fixes for date parsing and vendor event parsing
|
|
* Thu Oct 13 2005 - olh@suse.de
|
|
- create 32bit package librtas 1.2
|