1
%define name libservicelog
2
%define version @VERSION@
7
Summary: Servicelog Database and Library
8
Group: System Environment/Libraries
11
URL: http://linux-diag.sourceforge.net/servicelog
12
Source0: http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
13
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14
ExclusiveArch: ppc ppc64
15
BuildRequires: sqlite-devel bison flex librtas-devel
16
Requires(pre): /usr/sbin/groupadd
19
The libservicelog package contains a library to create and maintain a
20
database for storing events related to system service. This database
21
allows for the logging of serviceable and informational events, and for
22
the logging of service procedures that have been performed upon the system.
26
Summary: Development files for %{name}
27
Group: Development/Libraries
28
Requires: %{name} = %{version}-%{release}
31
Contains header files for building with libservicelog.
38
%configure --disable-static
39
%{__make} %{?_smp_mflags}
41
install -D --mode=754 servicelog.db \
42
$RPM_BUILD_ROOT/var/lib/servicelog/servicelog.db
45
%{__rm} -rf $RPM_BUILD_ROOT
46
%{__make} install DESTDIR=$RPM_BUILD_ROOT
49
%{__rm} -rf $RPM_BUILD_ROOT
52
/usr/sbin/groupadd -r service || echo "groupadd service failed"
54
%post -p /sbin/ldconfig
56
%postun -p /sbin/ldconfig
59
%defattr(-,root,root,-)
60
%doc COPYING NEWS AUTHORS
61
%exclude %{_libdir}/*.la
62
%{_libdir}/libservicelog-@GENERIC_RELEASE@.so.*
63
%{_libdir}/libservicelog-*.so.*
64
%attr( 754, root, service ) %dir /var/lib/servicelog
65
%attr( 644, root, service ) /var/lib/servicelog/servicelog.db
66
%config /var/lib/servicelog/servicelog.db
69
%defattr(-,root,root,-)
71
%{_includedir}/servicelog-1
73
%{_libdir}/pkgconfig/servicelog-1.pc
76
* Tue Aug 20 2013 Vasant Hegde <hegdevasant at linux.vnet.ibm.com> 1.1.14
77
- Include servicelog.db and bootstrap.sh file into compression file list
79
* Thu Jan 10 2013 Vasant Hegde <hegdevasant at linux.vnet.ibm.com> 1.1.13
80
- Legalize SQL insert command input string
81
- repair_action : fix output format issue
84
* Wed Sep 12 2012 Vasant Hegde <hegdevasant at linux.vnet.ibm.com> 1.1.12
87
* Sat Nov 07 2009 Jim Keniston <jkenisto at us.ibm.com>, Brad Peters 1.1.x
88
- Minor changes continued in the ensuing months
90
* Sat Aug 16 2008 Mike Strosaker <strosake at austin.ibm.com> 1.0.1
91
- Create /var/lib/servicelog/servicelog.db at install time
92
- Additional comments and code cleanup
93
- Fix issue with notification tools not being started
94
- Beautify printing of notification tools
96
* Tue Mar 04 2008 Mike Strosaker <strosake at austin.ibm.com> 1.0.0
97
- Initial creation of the package