|
|
c6928b |
Summary: Libraries to provide access to RTAS calls and RTAS events
|
|
|
c6928b |
Name: librtas
|
|
|
c6928b |
Version: 1.3.8
|
|
|
584be0 |
Release: 6%{?dist}
|
|
|
c6928b |
URL: http://librtas.ozlabs.org
|
|
|
c6928b |
License: CPL
|
|
|
c6928b |
Group: System Environment/Libraries
|
|
|
c6928b |
|
|
|
c6928b |
Source: http://downloads.sourceforge.net/project/%{name}/%{name}-%{version}.tar.gz
|
|
|
c6928b |
#Fedora specific patch
|
|
|
c6928b |
Patch0: %{name}-1.3.4-libdir.patch
|
|
|
c6928b |
Patch1: %{name}-1.3.6-ln.patch
|
|
|
c6928b |
|
|
|
c6928b |
ExclusiveArch: ppc ppc64
|
|
|
c6928b |
|
|
|
c6928b |
%description
|
|
|
c6928b |
The librtas shared library provides userspace with an interface
|
|
|
c6928b |
through which certain RTAS calls can be made. The library uses
|
|
|
c6928b |
either of the RTAS User Module or the RTAS system call to direct
|
|
|
c6928b |
the kernel in making these calls.
|
|
|
c6928b |
|
|
|
c6928b |
The librtasevent shared library provides users with a set of
|
|
|
c6928b |
definitions and common routines useful in parsing and dumping
|
|
|
c6928b |
the contents of RTAS events.
|
|
|
c6928b |
|
|
|
c6928b |
%package devel
|
|
|
c6928b |
Summary: C header files for development with librtas
|
|
|
c6928b |
Group: Development/Libraries
|
|
|
c6928b |
Requires: %{name} = %{version}-%{release}
|
|
|
c6928b |
|
|
|
c6928b |
%description devel
|
|
|
c6928b |
The librtas-devel packages contains the header files necessary for
|
|
|
c6928b |
developing programs using librtas.
|
|
|
c6928b |
|
|
|
c6928b |
%prep
|
|
|
c6928b |
%setup
|
|
|
c6928b |
%patch0 -p1 -b .libdir
|
|
|
c6928b |
%patch1 -p1 -b .ln
|
|
|
584be0 |
find . -name "*.so.*" -print -delete
|
|
|
584be0 |
|
|
|
c6928b |
|
|
|
c6928b |
%build
|
|
|
584be0 |
# disable "-Werror=format-security" checking gcc option until we fix
|
|
|
584be0 |
# these errors in our code.
|
|
|
584be0 |
CFLAGS="%{optflags} -fPIC -DPIC -I."
|
|
|
584be0 |
CFLAGS=`echo $CFLAGS | sed 's/-Werror=format-security//'`
|
|
|
584be0 |
%{__make} CFLAGS="$CFLAGS" %{?_smp_mflags}
|
|
|
c6928b |
|
|
|
c6928b |
%install
|
|
|
c6928b |
mkdir -p %{buildroot}/%{_libdir}
|
|
|
c6928b |
%{__make} install DESTDIR=%{buildroot} LIB_DIR=%{_libdir} INSTALL="install -p"
|
|
|
c6928b |
%{__rm} -rf %{buildroot}%{_datadir}/doc
|
|
|
c6928b |
|
|
|
c6928b |
%post -p /sbin/ldconfig
|
|
|
c6928b |
|
|
|
c6928b |
%postun -p /sbin/ldconfig
|
|
|
c6928b |
|
|
|
c6928b |
%clean
|
|
|
c6928b |
%{__rm} -rf %{buildroot}
|
|
|
c6928b |
|
|
|
c6928b |
%files
|
|
|
c6928b |
%defattr(-,root,root,-)
|
|
|
c6928b |
%doc COPYRIGHT README Changelog
|
|
|
c6928b |
%{_libdir}/librtas.so.%{version}
|
|
|
c6928b |
%{_libdir}/librtasevent.so.%{version}
|
|
|
c6928b |
%{_libdir}/libofdt.so.%{version}
|
|
|
c6928b |
|
|
|
c6928b |
%files devel
|
|
|
c6928b |
%defattr(-,root,root,-)
|
|
|
c6928b |
%{_libdir}/librtas.so
|
|
|
c6928b |
%{_libdir}/librtasevent.so
|
|
|
c6928b |
%{_includedir}/librtas.h
|
|
|
c6928b |
%{_includedir}/librtasevent.h
|
|
|
c6928b |
%{_includedir}/librtasevent_v4.h
|
|
|
c6928b |
%{_includedir}/librtasevent_v6.h
|
|
|
c6928b |
%{_includedir}/common.h
|
|
|
c6928b |
%{_includedir}/libofdt.h
|
|
|
c6928b |
%{_libdir}/libofdt.so
|
|
|
c6928b |
|
|
|
c6928b |
%changelog
|
|
|
584be0 |
* Wed Mar 19 2014 Karsten Hopp <karsten@redhat.com> 1.3.8-6
|
|
|
584be0 |
- delete all *.so.* files after unpacking the tarball to make sure they get rebuilt
|
|
|
584be0 |
- Resolves: rhbz 1024888
|
|
|
584be0 |
|
|
|
584be0 |
* Fri Mar 07 2014 Karsten Hopp <karsten@redhat.com> 1.3.8-5
|
|
|
584be0 |
- fix CFLAGS
|
|
|
584be0 |
- Related: rhbz 1024888
|
|
|
584be0 |
|
|
|
584be0 |
* Fri Mar 07 2014 Karsten Hopp <karsten@redhat.com> 1.3.8-4
|
|
|
584be0 |
- remove precompiled binaries before building
|
|
|
584be0 |
- Resolves: rhbz 1024888
|
|
|
584be0 |
|
|
|
584be0 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.3.8-3
|
|
|
584be0 |
- Mass rebuild 2013-12-27
|
|
|
584be0 |
|
|
|
c6928b |
* Tue Jul 30 2013 Filip Kocina <fkocina@redhat.com> - 1.3.8-2
|
|
|
c6928b |
- Source URL fix
|
|
|
c6928b |
|
|
|
c6928b |
* Thu May 16 2013 Vasant Hegde <hegdevasant@fedoraproject.org> - 1.3.8
|
|
|
c6928b |
- Update to latest upstream 1.3.8
|
|
|
c6928b |
|
|
|
c6928b |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.6-4
|
|
|
c6928b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
c6928b |
|
|
|
c6928b |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.6-3
|
|
|
c6928b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
c6928b |
|
|
|
c6928b |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.6-2
|
|
|
c6928b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
c6928b |
|
|
|
c6928b |
* Thu Aug 11 2011 Jiri Skala <jskala@redhat.com> 1.3.6-1
|
|
|
c6928b |
- update to latest upstream 1.3.6
|
|
|
c6928b |
|
|
|
c6928b |
* Mon Aug 08 2011 Jiri Skala <jskala@redhat.com> 1.3.5-1
|
|
|
c6928b |
- update to latest upstream 1.3.5
|
|
|
c6928b |
|
|
|
c6928b |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-3
|
|
|
c6928b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
c6928b |
|
|
|
c6928b |
* Sat Sep 11 2010 Parag Nemade <paragn AT fedoraproject.org> 2.30.3-3
|
|
|
c6928b |
- Merge-review cleanup (#226059)
|
|
|
c6928b |
|
|
|
c6928b |
* Mon Sep 21 2009 Roman Rakus <rrakus@redhat.com> - 1.3.4-1
|
|
|
c6928b |
- Upstream release 1.3.4
|
|
|
c6928b |
|
|
|
c6928b |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-5
|
|
|
c6928b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
c6928b |
|
|
|
c6928b |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-4
|
|
|
c6928b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
c6928b |
|
|
|
c6928b |
* Fri Feb 08 2008 David Cantrell <dcantrell@redhat.com> - 1.3.3-3
|
|
|
c6928b |
- Rebuild for gcc-4.3
|
|
|
c6928b |
|
|
|
c6928b |
* Tue Dec 18 2007 David Cantrell <dcantrell@redhat.com> - 1.3.3-2
|
|
|
c6928b |
- Spec cleanups
|
|
|
c6928b |
|
|
|
c6928b |
* Tue Dec 18 2007 David Cantrell <dcantrell@redhat.com> - 1.3.3-1
|
|
|
c6928b |
- Upgraded to librtas-1.3.3 (#253522)
|
|
|
c6928b |
|
|
|
c6928b |
* Mon Sep 10 2007 David Cantrell <dcantrell@redhat.com> - 1.3.2-1
|
|
|
c6928b |
- Upgraded to librtas-1.3.2
|
|
|
c6928b |
- Cleaned up spec file to conform to Fedora packaging guidelines
|
|
|
c6928b |
|
|
|
c6928b |
* Tue Aug 21 2007 David Cantrell <dcantrell@redhat.com> - 1.2.4-4
|
|
|
c6928b |
- Rebuild
|
|
|
c6928b |
|
|
|
c6928b |
* Sat Mar 31 2007 David Woodhouse <dwmw2@redhat.com> - 1.2.4-3
|
|
|
c6928b |
- Install libraries into /usr/lib64 on PPC64.
|
|
|
c6928b |
|
|
|
c6928b |
* Tue Aug 01 2006 Paul Nasrat <pnasrat@redhat.com> - 1.2.4-2
|
|
|
c6928b |
- Backport syscall fix from upstream
|
|
|
c6928b |
|
|
|
c6928b |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.4-1.2.2
|
|
|
c6928b |
- rebuild
|
|
|
c6928b |
|
|
|
c6928b |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.4-1.2.1
|
|
|
c6928b |
- bump again for double-long bug on ppc(64)
|
|
|
c6928b |
|
|
|
c6928b |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.4-1.2
|
|
|
c6928b |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
c6928b |
|
|
|
c6928b |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
c6928b |
- rebuilt
|
|
|
c6928b |
|
|
|
c6928b |
* Thu Nov 03 2005 Paul Nasrat <pnasrat@redhat.com> 1.2.4-1
|
|
|
c6928b |
- Update to latest version
|
|
|
c6928b |
|
|
|
c6928b |
* Thu Nov 03 2005 Paul Nasrat <pnasrat@redhat.com> 1.2.2-1
|
|
|
c6928b |
- Initial release
|