743524
Name:          libservicelog
743524
Version:       1.1.19
743524
Release:       2%{?dist}
743524
Summary:       Servicelog Database and Library
743524
743524
Group:       System Environment/Libraries
743524
#v29_notify_gram.c v29_notify_gram.h are GPLv2+
743524
License:       LGPLv2 and GPLv2+
743524
URL:           https://github.com/power-ras/%{name}
743524
Source:        https://github.com/power-ras/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
743524
# Link with needed libraries
743524
Patch0: libservicelog-1.1.9-libs.patch
743524
743524
BuildRequires: sqlite-devel autoconf libtool bison librtas-devel flex
743524
Requires(pre): shadow-utils
743524
743524
# because of librtas-devel
743524
ExclusiveArch: ppc %{power64}
743524
743524
%description
743524
The libservicelog package contains a library to create and maintain a
743524
database for storing events related to system service.  This database
743524
allows for the logging of serviceable and informational events, and for
743524
the logging of service procedures that have been performed upon the system.
743524
743524
743524
%package       devel
743524
Summary:       Development files for %{name}
743524
Group:         Development/Libraries
743524
Requires:      %{name}%{?_isa} = %{version}-%{release}
743524
Requires:      pkgconfig sqlite-devel
743524
743524
%description   devel
743524
Contains header files for building with libservicelog.
743524
743524
743524
%prep
743524
%setup -q
743524
%patch0 -p1 -b .libs
743524
743524
%build
743524
autoreconf -fiv
743524
%configure --disable-static
743524
# disable "-Werror=format-security" checking gcc option until we fix
743524
# these errors are fixed in upstream code.
743524
CFLAGS="%{optflags} -fPIC -DPIC"
743524
CFLAGS=`echo $CFLAGS | sed 's/-Werror=format-security//'`
743524
make CFLAGS="$CFLAGS" %{?_smp_mflags}
743524
743524
743524
%install
743524
make install DESTDIR=%{buildroot}
743524
rm -f %{buildroot}%{_libdir}/*.la
743524
743524
743524
%pre
743524
getent group service >/dev/null || /usr/sbin/groupadd -r service
743524
743524
%post -p /sbin/ldconfig
743524
743524
%postun -p /sbin/ldconfig
743524
743524
%files
743524
%{!?_licensedir:%global license %%doc}
743524
%license COPYING
743524
%doc AUTHORS
743524
%{_libdir}/libservicelog-*.so.*
743524
%dir %attr(755, root, service) /var/lib/servicelog
743524
%config(noreplace) %verify(not md5 size mtime) %attr(644,root,service) /var/lib/servicelog/servicelog.db
743524
743524
%files devel
743524
%{_includedir}/servicelog-1
743524
%{_libdir}/*.so
743524
%{_libdir}/pkgconfig/servicelog-1.pc
743524
743524
743524
%changelog
743524
* Tue Jun 01 2021 Than Ngo <than@redhat.com> - 1.1.19-2
743524
- Related: #1844430, fix URL
743524
743524
* Tue Jun 01 2021 Than Ngo <than@redhat.com> - 1.1.19-1
743524
- Resolves: #1844430, rebase to 1.1.19
743524
743524
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.18-2
743524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
743524
743524
* Fri Oct 13 2017 Sinny Kumari <sinnykumari@fedoraproject.org> - 1.1.18-1
743524
- Rebase to 1.1.18
743524
743524
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.17-3
743524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
743524
743524
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.17-2
743524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
743524
743524
* Tue Apr 04 2017 Sinny Kumari <sinnykumari@fedoraproject.org> - 1.1.17-1
743524
- Rebase to 1.1.17
743524
743524
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.16-4
743524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
743524
743524
* Mon Jul 11 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.16-3
743524
- spec file cleanups
743524
- Use %%license
743524
743524
* Sat Apr  9 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.16-2
743524
- Rebuild for librtas soname bump
743524
743524
* Mon Mar 21 2016 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 1.1.16-1
743524
- Update to latest upstream 1.1.16
743524
743524
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.15-4
743524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
743524
743524
* Wed Sep 30 2015 Jaromir Capik <jcapik@redhat.com> - 1.1.15-3
743524
- Creating the 'service' group as a system one (#1212938)
743524
743524
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.15-2
743524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
743524
743524
* Mon Sep 22 2014 Vasant Hegde <hegdevasant@fedoraproject.org> - 1.1.15
743524
- Update to latest upstream 1.1.15
743524
743524
* Fri Aug 01 2014 Brent Baude <bbaude@redhat.com> - 1.1.14-8
743524
- NVR bump for Fedora 21 build on merged koji
743524
743524
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.14-7
743524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
743524
743524
* Mon Jun 02 2014 Jakub Čajka <jcajka@redhat.com> - 1.1.14-6
743524
- Spec file clean up
743524
743524
* Mon Mar 10 2014 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 1.1.14-5
743524
- Fix CFLAGS
743524
743524
* Fri Mar 07 2014 Vasant Hegde <hegdevasant@fedoraproject.org> - 1.1.14-4
743524
- Disable "-Werror=format-security" gcc option
743524
743524
* Thu Oct 10 2013 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 1.1.14-3
743524
- Add ppc64le architecture
743524
743524
* Mon Sep 16 2013 Vasant Hegde <hegdevasant@fedoraproject.org> - 1.1.14-2
743524
- Fix build issue
743524
743524
* Wed Aug 21 2013 Vasant Hegde <hegdevasant@fedoraproject.org> - 1.1.14
743524
- Update to latest upstream 1.1.14
743524
743524
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.13-2
743524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
743524
743524
* Sat May 18 2013 Vasant Hegde <hegdevasant@fedoraproject.org> - 1.1.13
743524
- Update to latest upstream 1.1.13
743524
743524
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.11-4
743524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
743524
743524
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.11-3
743524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
743524
743524
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.11-2
743524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
743524
743524
* Mon Aug 08 2011 Jiri Skala <jskala@redhat.com> - 1.1.11-1
743524
- update to latest upstream 1.1.11
743524
743524
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.9-5
743524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
743524
743524
* Fri Jun 04 2010 Roman Rakus <rrakus@redhat.com> - 1.1.9-4
743524
- Properly handle servicelog.db
743524
743524
* Tue May 18 2010 Roman Rakus <rrakus@redhat.com> - 1.1.9-2
743524
- Link with needed libraries (sqlite, rtas, rtasevent)
743524
743524
* Tue May 11 2010 Roman Rakus <rrakus@redhat.com> - 1.1.9-1
743524
- Update to 1.1.9
743524
743524
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
743524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
743524
743524
* Tue Mar 31 2009 Roman Rakus <rrakus@redhat.com> - 1.0.1-2
743524
- Added missing requires sqlite-devel in devel subpackage
743524
743524
* Fri Feb 20 2009 Roman Rakus <rrakus@redhat.com> - 1.0.1-1
743524
- Initial packaging