8057aa
Summary: Libraries to provide access to RTAS calls and RTAS events
8057aa
Name:    librtas
8057aa
Version: 2.0.2
8057aa
Release: 1%{?dist}
8057aa
URL:     https://github.com/nfont/librtas
8057aa
License: LGPL
8057aa
Group:   System Environment/Libraries
8057aa
8057aa
Source0: https://github.com/nfont/librtas/archive/v%{version}.tar.gz
8057aa
8057aa
BuildRequires: autoconf
8057aa
BuildRequires: libtool
8057aa
8057aa
# Fedora specific patch
8057aa
Patch0:  %{name}-2.0.1-libversion.patch
8057aa
8057aa
ExclusiveArch: %{power64}
8057aa
8057aa
%description
8057aa
The librtas shared library provides userspace with an interface
8057aa
through which certain RTAS calls can be made.  The library uses
8057aa
either of the RTAS User Module or the RTAS system call to direct
8057aa
the kernel in making these calls.
8057aa
8057aa
The librtasevent shared library provides users with a set of
8057aa
definitions and common routines useful in parsing and dumping
8057aa
the contents of RTAS events.
8057aa
8057aa
%package devel
8057aa
Summary:  C header files for development with librtas
8057aa
Group:    Development/Libraries
8057aa
Requires: %{name}%{?_isa} = %{version}-%{release}
8057aa
8057aa
%description devel
8057aa
The librtas-devel packages contains the header files necessary for
8057aa
developing programs using librtas.
8057aa
8057aa
%prep
8057aa
%setup -q -n %{name}-%{version}
8057aa
%patch0 -p1 -b .ln
8057aa
8057aa
%build
8057aa
./autogen.sh
8057aa
# disable "-Werror=format-security" checking gcc option until we fix
8057aa
# these errors in our code.
8057aa
%configure --disable-silent-rules --disable-static
8057aa
CFLAGS="%{optflags} -fPIC -DPIC -I."
8057aa
CFLAGS=`echo $CFLAGS | sed 's/-Werror=format-security//'`
8057aa
%make_build CFLAGS="$CFLAGS"
8057aa
8057aa
%install
8057aa
%make_install
8057aa
find %{buildroot} -name '*.la' -exec rm -f {} ';'
8057aa
rm -f  %{buildroot}/%{_docdir}/librtas/*
8057aa
8057aa
%post -p /sbin/ldconfig
8057aa
8057aa
%postun -p /sbin/ldconfig
8057aa
8057aa
%files
8057aa
%{!?_licensedir:%global license %%doc}
8057aa
%license COPYING.LESSER
8057aa
%doc README Changelog
8057aa
%{_libdir}/librtas.so.*
8057aa
%{_libdir}/librtasevent.so.*
8057aa
8057aa
%files devel
8057aa
%{_libdir}/librtas.so
8057aa
%{_libdir}/librtasevent.so
8057aa
%{_libdir}/pkgconfig/librtas.pc
8057aa
%{_includedir}/librtas.h
8057aa
%{_includedir}/librtasevent.h
8057aa
%{_includedir}/librtasevent_v4.h
8057aa
%{_includedir}/librtasevent_v6.h
8057aa
8057aa
%changelog
8057aa
* Fri Jul 06 2018 Sinny Kumari <sinnykumari@fedoraproject.org> - 2.0.2-1
8057aa
- Rebase to 2.0.2
8057aa
8057aa
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-4
8057aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
8057aa
8057aa
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-3
8057aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
8057aa
8057aa
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2
8057aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
8057aa
8057aa
* Tue Apr 04 2017 Sinny Kumari <sinnykumari@fedoraproject.org> - 2.0.1-1
8057aa
- Rebase to 2.0.1
8057aa
8057aa
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
8057aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8057aa
8057aa
* Mon Jul 11 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2.0.0-2
8057aa
- Package cleanup, update URLs
8057aa
- Use %%license
8057aa
8057aa
* Wed Apr 06 2016 Sinny Kumari <sinnykumari@fedoraproject.org> - 2.0.0-1
8057aa
- Update to upstream release 2.0.0
8057aa
- do-not-enable-debug-message patch is available in this release
8057aa
8057aa
* Mon Mar 21 2016 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 1.4.0-2
8057aa
- Do not enable debug message by default
8057aa
8057aa
* Fri Mar 11 2016 Sinny Kumari <sinnykumari@fedoraproject.org> - 1.4.0-1
8057aa
- Update to latest upstream 1.4.0
8057aa
- License change from CPL to LGPL
8057aa
8057aa
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.14-2
8057aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8057aa
8057aa
* Mon Nov 16 2015 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 1.3.14
8057aa
- Update to latest upstream 1.3.14
8057aa
8057aa
* Fri Jul 03 2015 Jakub Čajka - 1.3.13-3
8057aa
- Fix byteswapping see http://sourceforge.net/p/librtas/code/ci/4e46c718f42bf05e797c7fcfdd6cfc2a21fb4c91/
8057aa
8057aa
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.13-2
8057aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
8057aa
8057aa
* Mon Nov 03 2014 Vasant Hegde <hegdevasant@fedoraproject.org> - 1.3.13
8057aa
- Update to latest upstream 1.3.13
8057aa
8057aa
* Mon Sep 22 2014 Vasant Hegde <hegdevasant@fedoraproject.org> - 1.3.12
8057aa
- Update to latest upstream 1.3.12
8057aa
8057aa
* Fri Aug 01 2014 Brent Baude <bbaude@redhat.com> - 1.3.9-6
8057aa
- NVR bump for Fedora 21 build on merged koji
8057aa
8057aa
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.9-5
8057aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8057aa
8057aa
* Mon May 26 2014 Jakub Čajka <jcajka@redhat.com> 1.3.9-4
8057aa
- Spec file clean up
8057aa
8057aa
* Fri Mar 07 2014 Karsten Hopp <karsten@redhat.com> 1.3.9-3
8057aa
- fix CFLAGS
8057aa
8057aa
* Thu Mar 06 2014 Vasant Hegde <hegdevasant@fedoraproject.org> - 1.3.9-2
8057aa
- Disable "-Werror=format-security" gcc option
8057aa
8057aa
* Tue Mar 04 2014 Vasant Hegde <hegdevasant@fedoraproject.org> - 1.3.9
8057aa
- Update to latest upstream 1.3.9
8057aa
8057aa
* Wed Oct 09 2013 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 1.3.8-3
8057aa
- Add ppc64le architecture
8057aa
8057aa
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.8-2
8057aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8057aa
8057aa
* Thu May 16 2013 Vasant Hegde <hegdevasant@fedoraproject.org> - 1.3.8
8057aa
- Update to latest upstream 1.3.8
8057aa
8057aa
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.6-4
8057aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8057aa
8057aa
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.6-3
8057aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8057aa
8057aa
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.6-2
8057aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8057aa
8057aa
* Thu Aug 11 2011 Jiri Skala <jskala@redhat.com> 1.3.6-1
8057aa
- update to latest upstream 1.3.6
8057aa
8057aa
* Mon Aug 08 2011 Jiri Skala <jskala@redhat.com> 1.3.5-1
8057aa
- update to latest upstream 1.3.5
8057aa
8057aa
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-3
8057aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8057aa
8057aa
* Sat Sep 11 2010 Parag Nemade <paragn AT fedoraproject.org> 2.30.3-3
8057aa
- Merge-review cleanup (#226059)
8057aa
8057aa
* Mon Sep 21 2009 Roman Rakus <rrakus@redhat.com> - 1.3.4-1
8057aa
- Upstream release 1.3.4
8057aa
8057aa
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-5
8057aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8057aa
8057aa
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-4
8057aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
8057aa
8057aa
* Fri Feb 08 2008 David Cantrell <dcantrell@redhat.com> - 1.3.3-3
8057aa
- Rebuild for gcc-4.3
8057aa
8057aa
* Tue Dec 18 2007 David Cantrell <dcantrell@redhat.com> - 1.3.3-2
8057aa
- Spec cleanups
8057aa
8057aa
* Tue Dec 18 2007 David Cantrell <dcantrell@redhat.com> - 1.3.3-1
8057aa
- Upgraded to librtas-1.3.3 (#253522)
8057aa
8057aa
* Mon Sep 10 2007 David Cantrell <dcantrell@redhat.com> - 1.3.2-1
8057aa
- Upgraded to librtas-1.3.2
8057aa
- Cleaned up spec file to conform to Fedora packaging guidelines
8057aa
8057aa
* Tue Aug 21 2007 David Cantrell <dcantrell@redhat.com> - 1.2.4-4
8057aa
- Rebuild
8057aa
8057aa
* Sat Mar 31 2007 David Woodhouse <dwmw2@redhat.com> - 1.2.4-3
8057aa
- Install libraries into /usr/lib64 on PPC64.
8057aa
8057aa
* Tue Aug 01 2006 Paul Nasrat <pnasrat@redhat.com> - 1.2.4-2
8057aa
- Backport syscall fix from upstream 
8057aa
8057aa
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.4-1.2.2
8057aa
- rebuild
8057aa
8057aa
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.4-1.2.1
8057aa
- bump again for double-long bug on ppc(64)
8057aa
8057aa
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.4-1.2
8057aa
- rebuilt for new gcc4.1 snapshot and glibc changes
8057aa
8057aa
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
8057aa
- rebuilt
8057aa
8057aa
* Thu Nov 03 2005 Paul Nasrat <pnasrat@redhat.com> 1.2.4-1
8057aa
- Update to latest version
8057aa
8057aa
* Thu Nov 03 2005 Paul Nasrat <pnasrat@redhat.com> 1.2.2-1
8057aa
- Initial release