Name: libservicelog Version: 1.1.15 Release: 1%{?dist} Summary: Servicelog Database and Library Group: System Environment/Libraries #v29_notify_gram.c v29_notify_gram.h are GPLv2+ License: LGPLv2 and GPLv2+ URL: http://linux-diag.sourceforge.net/libservicelog Source: http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz Requires(pre): shadow-utils BuildRequires: sqlite-devel autoconf libtool bison librtas-devel flex # because of librtas-devel ExclusiveArch: ppc ppc64 ppc64le # Link with needed libraries Patch0: libservicelog-1.1.9-libs.patch %description The libservicelog package contains a library to create and maintain a database for storing events related to system service. This database allows for the logging of serviceable and informational events, and for the logging of service procedures that have been performed upon the system. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pkgconfig sqlite-devel %description devel Contains header files for building with libservicelog. %prep %setup -q %patch0 -p1 -b .libs %build autoreconf -fiv %configure --disable-static # disable "-Werror=format-security" checking gcc option until we fix # these errors are fixed in upstream code. CFLAGS="%{optflags} -fPIC -DPIC" CFLAGS=`echo $CFLAGS | sed 's/-Werror=format-security//'` %{__make} CFLAGS="$CFLAGS" %{?_smp_mflags} %install %{__make} install DESTDIR=%{buildroot} %{__rm} -f %{buildroot}%{_libdir}/*.la %pre getent group service >/dev/null || /usr/sbin/groupadd service %post -p /sbin/ldconfig %postun /sbin/ldconfig %files %doc COPYING AUTHORS %{_libdir}/libservicelog-*.so.* %dir %attr(755, root, service) /var/lib/servicelog %config(noreplace) %verify(not md5 size mtime) %attr(644,root,service) /var/lib/servicelog/servicelog.db %files devel %{_includedir}/servicelog-1 %{_libdir}/*.so %{_libdir}/pkgconfig/servicelog-1.pc %changelog * Mon Sep 22 2014 Vasant Hegde - 1.1.15 - Update to latest upstream 1.1.15 * Fri Aug 01 2014 Brent Baude - 1.1.14-8 - NVR bump for Fedora 21 build on merged koji * Sat Jun 07 2014 Fedora Release Engineering - 1.1.14-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Jun 02 2014 Jakub Čajka - 1.1.14-6 - Spec file clean up * Mon Mar 10 2014 Vasant Hegde - 1.1.14-5 - Fix CFLAGS * Fri Mar 07 2014 Vasant Hegde - 1.1.14-4 - Disable "-Werror=format-security" gcc option * Thu Oct 10 2013 Vasant Hegde - 1.1.14-3 - Add ppc64le architecture * Mon Sep 16 2013 Vasant Hegde - 1.1.14-2 - Fix build issue * Wed Aug 21 2013 Vasant Hegde - 1.1.14 - Update to latest upstream 1.1.14 * Sat Aug 03 2013 Fedora Release Engineering - 1.1.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat May 18 2013 Vasant Hegde - 1.1.13 - Update to latest upstream 1.1.13 * Thu Feb 14 2013 Fedora Release Engineering - 1.1.11-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 1.1.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.1.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Aug 08 2011 Jiri Skala - 1.1.11-1 - update to latest upstream 1.1.11 * Tue Feb 08 2011 Fedora Release Engineering - 1.1.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jun 04 2010 Roman Rakus - 1.1.9-4 - Properly handle servicelog.db * Tue May 18 2010 Roman Rakus - 1.1.9-2 - Link with needed libraries (sqlite, rtas, rtasevent) * Tue May 11 2010 Roman Rakus - 1.1.9-1 - Update to 1.1.9 * Sat Jul 25 2009 Fedora Release Engineering - 1.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Mar 31 2009 Roman Rakus - 1.0.1-2 - Added missing requires sqlite-devel in devel subpackage * Fri Feb 20 2009 Roman Rakus - 1.0.1-1 - Initial packaging