2007-09-15 19:39:40 +00:00
|
|
|
Summary: Libraries to provide access to RTAS calls and RTAS events
|
|
|
|
Name: librtas
|
2009-09-21 15:04:31 +00:00
|
|
|
Version: 1.3.4
|
|
|
|
Release: 1%{?dist}
|
2007-09-15 19:39:40 +00:00
|
|
|
URL: http://librtas.ozlabs.org
|
2010-02-25 08:54:08 +00:00
|
|
|
License: CPL
|
2007-09-15 19:39:40 +00:00
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
Source: http://librtas.ozlabs.org/releases/%{name}-%{version}.tar.gz
|
|
|
|
|
2009-09-21 15:04:31 +00:00
|
|
|
Patch0: %{name}-1.3.4-libdir.patch
|
2007-09-15 19:39:40 +00:00
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2005-11-03 16:11:41 +00:00
|
|
|
ExclusiveArch: ppc ppc64
|
|
|
|
|
2007-12-19 04:58:00 +00:00
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
|
2005-11-03 16:11:41 +00:00
|
|
|
%description
|
|
|
|
The librtas shared library provides userspace with an interface
|
|
|
|
through which certain RTAS calls can be made. The library uses
|
2007-12-19 04:58:00 +00:00
|
|
|
either of the RTAS User Module or the RTAS system call to direct
|
2005-11-03 16:11:41 +00:00
|
|
|
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
|
2007-09-15 19:39:40 +00:00
|
|
|
Summary: C header files for development with librtas
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2005-11-03 16:11:41 +00:00
|
|
|
|
|
|
|
%description devel
|
2007-09-15 19:39:40 +00:00
|
|
|
The librtas-devel packages contains the header files necessary for
|
2007-12-19 04:58:00 +00:00
|
|
|
developing programs using librtas.
|
2005-11-03 16:11:41 +00:00
|
|
|
|
|
|
|
%prep
|
2007-09-15 19:39:40 +00:00
|
|
|
%setup
|
2009-09-21 15:04:31 +00:00
|
|
|
%patch0 -p1 -b .libdir
|
2005-11-03 16:11:41 +00:00
|
|
|
|
|
|
|
%build
|
2009-09-21 15:04:31 +00:00
|
|
|
%{__make} CFLAGS="%{optflags} -fPIC -DPIC -I." %{?_smp_mflags}
|
2005-11-03 16:11:41 +00:00
|
|
|
|
|
|
|
%install
|
2009-09-21 15:04:31 +00:00
|
|
|
mkdir -p %{buildroot}/%{_libdir}
|
2007-09-15 19:39:40 +00:00
|
|
|
%{__make} install DESTDIR=%{buildroot} LIB_DIR=%{_libdir}
|
|
|
|
%{__rm} -rf %{buildroot}%{_datadir}/doc
|
2005-11-03 16:11:41 +00:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%clean
|
2007-09-15 19:39:40 +00:00
|
|
|
%{__rm} -rf %{buildroot}
|
2005-11-03 16:11:41 +00:00
|
|
|
|
|
|
|
%files
|
2007-12-19 04:58:00 +00:00
|
|
|
%defattr(-,root,root,-)
|
2007-09-15 19:39:40 +00:00
|
|
|
%doc COPYRIGHT README Changelog
|
2007-03-31 02:52:41 +00:00
|
|
|
%{_libdir}/librtas.so.%{version}
|
|
|
|
%{_libdir}/librtasevent.so.%{version}
|
2009-09-21 15:04:31 +00:00
|
|
|
%{_libdir}/libofdt.so.%{version}
|
2005-11-03 16:11:41 +00:00
|
|
|
|
|
|
|
%files devel
|
2007-12-19 04:58:00 +00:00
|
|
|
%defattr(-,root,root,-)
|
2007-09-15 19:39:40 +00:00
|
|
|
%{_libdir}/librtas.so
|
|
|
|
%{_libdir}/librtasevent.so
|
|
|
|
%{_includedir}/librtas.h
|
|
|
|
%{_includedir}/librtasevent.h
|
|
|
|
%{_includedir}/librtasevent_v4.h
|
|
|
|
%{_includedir}/librtasevent_v6.h
|
2009-09-21 15:04:31 +00:00
|
|
|
%{_includedir}/common.h
|
|
|
|
%{_includedir}/libofdt.h
|
|
|
|
%{_libdir}/libofdt.so
|
2005-11-03 16:11:41 +00:00
|
|
|
|
|
|
|
%changelog
|
2009-09-21 15:04:31 +00:00
|
|
|
* Mon Sep 21 2009 Roman Rakus <rrakus@redhat.com> - 1.3.4-1
|
|
|
|
- Upstream release 1.3.4
|
|
|
|
|
2009-07-25 08:34:02 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 17:50:45 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-02-08 21:55:09 +00:00
|
|
|
* Fri Feb 08 2008 David Cantrell <dcantrell@redhat.com> - 1.3.3-3
|
|
|
|
- Rebuild for gcc-4.3
|
|
|
|
|
2007-12-19 04:58:00 +00:00
|
|
|
* Tue Dec 18 2007 David Cantrell <dcantrell@redhat.com> - 1.3.3-2
|
|
|
|
- Spec cleanups
|
|
|
|
|
2007-12-19 04:28:08 +00:00
|
|
|
* Tue Dec 18 2007 David Cantrell <dcantrell@redhat.com> - 1.3.3-1
|
|
|
|
- Upgraded to librtas-1.3.3 (#253522)
|
|
|
|
|
2007-09-15 19:39:40 +00:00
|
|
|
* Mon Sep 10 2007 David Cantrell <dcantrell@redhat.com> - 1.3.2-1
|
|
|
|
- Upgraded to librtas-1.3.2
|
|
|
|
- Cleaned up spec file to conform to Fedora packaging guidelines
|
|
|
|
|
2007-08-21 15:56:30 +00:00
|
|
|
* Tue Aug 21 2007 David Cantrell <dcantrell@redhat.com> - 1.2.4-4
|
|
|
|
- Rebuild
|
|
|
|
|
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
|
|
|
|
|
2005-11-03 16:11:41 +00:00
|
|
|
* Thu Nov 03 2005 Paul Nasrat <pnasrat@redhat.com> 1.2.2-1
|
|
|
|
- Initial release
|