librtas/librtas.spec

90 lines
2.3 KiB
RPMSpec
Raw Normal View History

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
2007-03-31 02:54:28 +00:00
Release: 3.%{?dist}
URL: http://librtas.ozlabs.org
License: IBM Common Public License (CPL) v1.0
Group: System Environment/Libraries
2007-03-31 02:52:41 +00:00
Source: http://librtas.ozlabs.org/releases/librtas-%{version}.tar.gz
2006-08-01 14:28:23 +00:00
Patch0: librtas-1.2.4-no_syscall1.patch
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
2006-08-01 14:28:23 +00:00
%patch0 -p1 -b .no_syscall
%build
2005-11-03 19:55:42 +00:00
make CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC"
%install
2007-03-31 02:52:41 +00:00
make DESTDIR=$RPM_BUILD_ROOT LIB_DIR=%{_libdir} install
2005-11-03 19:55:42 +00:00
rm -rf $RPM_BUILD_ROOT/usr/share/doc
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root, -)
%doc COPYRIGHT README
2007-03-31 02:52:41 +00:00
%{_libdir}/librtas.so.%{version}
%{_libdir}/librtasevent.so.%{version}
%files devel
%defattr(-, root, root, -)
%doc COPYRIGHT README
2007-03-31 02:52:41 +00:00
%{_libdir}/*.so
%{_libdir}/*.a
/usr/include/*
%changelog
2007-03-31 02:52:41 +00:00
* Sat Mar 31 2007 David Woodhouse <dwmw2@redhat.com> - 1.2.4-3
- Install libraries into /usr/lib64 on PPC64.
2006-08-01 14:28:23 +00:00
* Tue Aug 01 2006 Paul Nasrat <pnasrat@redhat.com> - 1.2.4-2
- Backport syscall fix from upstream
2006-07-12 06:55:46 +00:00
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.4-1.2.2
- rebuild
2006-02-11 04:12:08 +00:00
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.4-1.2.1
- bump again for double-long bug on ppc(64)
2006-02-07 12:43:24 +00:00
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.4-1.2
- rebuilt for new gcc4.1 snapshot and glibc changes
2005-12-09 22:41:40 +00:00
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
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
* Thu Nov 03 2005 Paul Nasrat <pnasrat@redhat.com> 1.2.2-1
- Initial release