Blame SPECS/librtas.spec

b400a6
Summary: Libraries to provide access to RTAS calls and RTAS events
b400a6
Name:    librtas
b400a6
Version: 2.0.1
b400a6
Release: 2%{?dist}
b400a6
URL:     http://librtas.ozlabs.org
b400a6
License: LGPL
b400a6
Group:   System Environment/Libraries
b400a6
b400a6
Source: https://github.com/nfont/librtas/archive/v%{version}.tar.gz
b400a6
b400a6
BuildRequires: autoconf
b400a6
BuildRequires: libtool
b400a6
b400a6
Patch0: librtas-2.0.1-libversion.patch
b400a6
Patch1: librtas-2.0.1-rtas-call.patch
b400a6
b400a6
Obsoletes: librtas(ppc)
b400a6
ExclusiveArch: ppc64 ppc64le
b400a6
b400a6
%description
b400a6
The librtas shared library provides userspace with an interface
b400a6
through which certain RTAS calls can be made.  The library uses
b400a6
either of the RTAS User Module or the RTAS system call to direct
b400a6
the kernel in making these calls.
b400a6
b400a6
The librtasevent shared library provides users with a set of
b400a6
definitions and common routines useful in parsing and dumping
b400a6
the contents of RTAS events.
b400a6
b400a6
%package devel
b400a6
Summary:  C header files for development with librtas
b400a6
Group:    Development/Libraries
b400a6
Requires: %{name} = %{version}-%{release}
b400a6
b400a6
%description devel
b400a6
The librtas-devel packages contains the header files necessary for
b400a6
developing programs using librtas.
b400a6
b400a6
%prep
b400a6
%setup -q -n %{name}-%{version}
b400a6
%patch0 -p1 -b .ln
b400a6
%patch1 -p1 -b .rtas
b400a6
b400a6
%build
b400a6
./autogen.sh
b400a6
# disable "-Werror=format-security" checking gcc option until we fix
b400a6
# these errors in our code.
b400a6
%configure --disable-silent-rules --disable-static
b400a6
CFLAGS="%{optflags} -fPIC -DPIC -I."
b400a6
CFLAGS=`echo $CFLAGS | sed 's/-Werror=format-security//'`
b400a6
%make_build CFLAGS="$CFLAGS"
b400a6
b400a6
%install
b400a6
%make_install
b400a6
find %{buildroot} -name '*.la' -exec rm -f {} ';'
b400a6
rm -f  %{buildroot}/%{_docdir}/librtas/*
b400a6
b400a6
b400a6
%post -p /sbin/ldconfig
b400a6
b400a6
%postun -p /sbin/ldconfig
b400a6
b400a6
%files
b400a6
%doc COPYING.LESSER README Changelog
b400a6
%{_libdir}/librtas.so.*
b400a6
%{_libdir}/librtasevent.so.*
b400a6
b400a6
%files devel
b400a6
%{_libdir}/librtas.so
b400a6
%{_libdir}/librtasevent.so
b400a6
%{_libdir}/pkgconfig/librtas.pc
b400a6
%{_includedir}/librtas.h
b400a6
%{_includedir}/librtasevent.h
b400a6
%{_includedir}/librtasevent_v4.h
b400a6
%{_includedir}/librtasevent_v6.h
b400a6
b400a6
%changelog
b400a6
* Wed Sep 13 2017 Sinny Kumari <skumari@redhat.com> 2.0.1-2
b400a6
- Resolves: #1457407 - Apply feature from librtas-2.0.1-rtas-call.patch
b400a6
b400a6
* Fri Mar 17 2017 Sinny Kumari <skumari@redhat.com> 2.0.1-1
b400a6
- Resolves: #1380656 Rebase to 2.0.1
b400a6
b400a6
* Mon Jun 27 2016 Sinny Kumari <skumari@redhat.com> 1.4.1-2
b400a6
- Resolves: #1349878 - EEH_Tool fails to inject error with librtas-1.4.1-1.ppc64le file
b400a6
b400a6
* Thu Apr 28 2016 Sinny Kumari <skumari@redhat.com> 1.4.1-1
b400a6
- Resolves: #1182039 - librtas package update
b400a6
- Resolves: #1302727 - License change from CPL to LGPL
b400a6
- Resolves: #1300542 - If mmap() of /dev/mem fails, librtas does not release /run/lock/LCK.
b400a6
- Removed patch librtas-papr.patch, changes included in upstream release 1.3.14
b400a6
b400a6
* Mon Jun 08 2015 Jakub Čajka <jcajka@redhat.com> 1.3.13-2
b400a6
- Resolves: #1184466 - errinct failed with error " errinjct: RTAS: ioa-bus-error: Argument error (-3)"
b400a6
b400a6
* Mon Nov 10 2014 Jakub Čajka <jcajka@redhat.com> 1.3.13-1
b400a6
- Resolves: #1161551 - librtas package update for RHEL7.1 Beta
b400a6
b400a6
* Thu Aug 21 2014 Jakub Čajka <jcajka@redhat.com> 1.3.12-1
b400a6
- Related: #1088538 - [7.1 FEAT] librtas package update - ppc64
b400a6
b400a6
* Mon Aug 18 2014 Jakub Čajka <jcajka@redhat.com> 1.3.11-2
b400a6
- Related: #1098215 - [7.1 FEAT] librtas - drop 32bit package - ppc64
b400a6
b400a6
* Tue Aug 12 2014 Jakub Čajka <jcajka@redhat.com> 1.3.11-1
b400a6
- Resolves: #1124003 - librtas needs ppc64le added to ExclusiveArch
b400a6
- Resolves: #1084063 - add support to recognize qemu pci hotplug events
b400a6
- Resolves: #1088538 - [7.1 FEAT] librtas package update - ppc64
b400a6
b400a6
* Wed Mar 19 2014 Karsten Hopp <karsten@redhat.com> 1.3.8-6
b400a6
- delete all *.so.* files after unpacking the tarball to make sure they get rebuilt
b400a6
- Resolves: rhbz 1024888
b400a6
b400a6
* Fri Mar 07 2014 Karsten Hopp <karsten@redhat.com> 1.3.8-5
b400a6
- fix CFLAGS
b400a6
- Related: rhbz 1024888
b400a6
b400a6
* Fri Mar 07 2014 Karsten Hopp <karsten@redhat.com> 1.3.8-4
b400a6
- remove precompiled binaries before building
b400a6
- Resolves: rhbz 1024888
b400a6
b400a6
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.3.8-3
b400a6
- Mass rebuild 2013-12-27
b400a6
b400a6
* Tue Jul 30 2013 Filip Kocina <fkocina@redhat.com> - 1.3.8-2
b400a6
- Source URL fix
b400a6
b400a6
* Thu May 16 2013 Vasant Hegde <hegdevasant@fedoraproject.org> - 1.3.8
b400a6
- Update to latest upstream 1.3.8
b400a6
b400a6
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.6-4
b400a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b400a6
b400a6
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.6-3
b400a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b400a6
b400a6
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.6-2
b400a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b400a6
b400a6
* Thu Aug 11 2011 Jiri Skala <jskala@redhat.com> 1.3.6-1
b400a6
- update to latest upstream 1.3.6
b400a6
b400a6
* Mon Aug 08 2011 Jiri Skala <jskala@redhat.com> 1.3.5-1
b400a6
- update to latest upstream 1.3.5
b400a6
b400a6
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-3
b400a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b400a6
b400a6
* Sat Sep 11 2010 Parag Nemade <paragn AT fedoraproject.org> 2.30.3-3
b400a6
- Merge-review cleanup (#226059)
b400a6
b400a6
* Mon Sep 21 2009 Roman Rakus <rrakus@redhat.com> - 1.3.4-1
b400a6
- Upstream release 1.3.4
b400a6
b400a6
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-5
b400a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b400a6
b400a6
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-4
b400a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b400a6
b400a6
* Fri Feb 08 2008 David Cantrell <dcantrell@redhat.com> - 1.3.3-3
b400a6
- Rebuild for gcc-4.3
b400a6
b400a6
* Tue Dec 18 2007 David Cantrell <dcantrell@redhat.com> - 1.3.3-2
b400a6
- Spec cleanups
b400a6
b400a6
* Tue Dec 18 2007 David Cantrell <dcantrell@redhat.com> - 1.3.3-1
b400a6
- Upgraded to librtas-1.3.3 (#253522)
b400a6
b400a6
* Mon Sep 10 2007 David Cantrell <dcantrell@redhat.com> - 1.3.2-1
b400a6
- Upgraded to librtas-1.3.2
b400a6
- Cleaned up spec file to conform to Fedora packaging guidelines
b400a6
b400a6
* Tue Aug 21 2007 David Cantrell <dcantrell@redhat.com> - 1.2.4-4
b400a6
- Rebuild
b400a6
b400a6
* Sat Mar 31 2007 David Woodhouse <dwmw2@redhat.com> - 1.2.4-3
b400a6
- Install libraries into /usr/lib64 on PPC64.
b400a6
b400a6
* Tue Aug 01 2006 Paul Nasrat <pnasrat@redhat.com> - 1.2.4-2
b400a6
- Backport syscall fix from upstream 
b400a6
b400a6
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.4-1.2.2
b400a6
- rebuild
b400a6
b400a6
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.4-1.2.1
b400a6
- bump again for double-long bug on ppc(64)
b400a6
b400a6
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.4-1.2
b400a6
- rebuilt for new gcc4.1 snapshot and glibc changes
b400a6
b400a6
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
b400a6
- rebuilt
b400a6
b400a6
* Thu Nov 03 2005 Paul Nasrat <pnasrat@redhat.com> 1.2.4-1
b400a6
- Update to latest version
b400a6
b400a6
* Thu Nov 03 2005 Paul Nasrat <pnasrat@redhat.com> 1.2.2-1
b400a6
- Initial release