2005-11-03 16:11:41 +00:00
|
|
|
Summary: Libraries to provide access to RTAS calls and RTAS events.
|
|
|
|
Name: librtas
|
2005-11-03 19:55:42 +00:00
|
|
|
Version: 1.2.4
|
2005-11-03 16:11:41 +00:00
|
|
|
Release: 1
|
|
|
|
URL: http://librtas.ozlabs.org
|
|
|
|
License: IBM Common Public License (CPL) v1.0
|
|
|
|
Group: System Environment/Libraries
|
2005-11-03 19:55:42 +00:00
|
|
|
Source: librtas-src-1.2.4.tar.gz
|
2005-11-03 16:11:41 +00:00
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
|
|
ExclusiveArch: ppc ppc64
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Static libraries and header files for librtas development.
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: librtas = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
|
|
|
The librtas-devel packages contains the header files and static libraries
|
|
|
|
necessary for developing programs using libdaemon.
|
|
|
|
|
|
|
|
%prep
|
2005-11-03 19:55:42 +00:00
|
|
|
%setup
|
2005-11-03 16:11:41 +00:00
|
|
|
|
|
|
|
%build
|
2005-11-03 19:55:42 +00:00
|
|
|
make CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC"
|
|
|
|
|
2005-11-03 16:11:41 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2005-11-03 19:55:42 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/share/doc
|
2005-11-03 16:11:41 +00:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
%doc COPYRIGHT README
|
|
|
|
/usr/lib/librtas.so.%{version}
|
|
|
|
/usr/lib/librtasevent.so.%{version}
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
%doc COPYRIGHT README
|
|
|
|
/usr/lib/*.so
|
|
|
|
/usr/lib/*.a
|
|
|
|
/usr/include/*
|
|
|
|
|
|
|
|
%changelog
|
2005-11-03 19:55:42 +00:00
|
|
|
* Thu Nov 03 2005 Paul Nasrat <pnasrat@redhat.com> 1.2.4-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2005-11-03 16:11:41 +00:00
|
|
|
* Thu Nov 03 2005 Paul Nasrat <pnasrat@redhat.com> 1.2.2-1
|
|
|
|
- Initial release
|