|
|
6caf1d |
Name: libservicelog
|
|
|
6caf1d |
Version: 1.1.13
|
|
|
269b8f |
Release: 3%{?dist}
|
|
|
6caf1d |
Summary: Servicelog Database and Library
|
|
|
6caf1d |
|
|
|
6caf1d |
Group: System Environment/Libraries
|
|
|
6caf1d |
License: LGPLv2
|
|
|
6caf1d |
URL: http://linux-diag.sourceforge.net/servicelog
|
|
|
6caf1d |
Source0: http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
|
|
|
6caf1d |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
6caf1d |
|
|
|
6caf1d |
Requires(pre): shadow-utils
|
|
|
6caf1d |
|
|
|
6caf1d |
BuildRequires: sqlite-devel autoconf libtool bison librtas-devel flex
|
|
|
6caf1d |
|
|
|
6caf1d |
# because of librtas-devel
|
|
|
269b8f |
ExclusiveArch: ppc ppc64 ppc64le
|
|
|
6caf1d |
|
|
|
6caf1d |
|
|
|
6caf1d |
# Link with needed libraries
|
|
|
6caf1d |
Patch0: libservicelog-1.1.9-libs.patch
|
|
|
6caf1d |
|
|
|
6caf1d |
%description
|
|
|
6caf1d |
The libservicelog package contains a library to create and maintain a
|
|
|
6caf1d |
database for storing events related to system service. This database
|
|
|
6caf1d |
allows for the logging of serviceable and informational events, and for
|
|
|
6caf1d |
the logging of service procedures that have been performed upon the system.
|
|
|
6caf1d |
|
|
|
6caf1d |
|
|
|
6caf1d |
%package devel
|
|
|
6caf1d |
Summary: Development files for %{name}
|
|
|
6caf1d |
Group: Development/Libraries
|
|
|
6caf1d |
Requires: %{name} = %{version}-%{release}
|
|
|
6caf1d |
Requires: pkgconfig sqlite-devel
|
|
|
6caf1d |
|
|
|
6caf1d |
%description devel
|
|
|
6caf1d |
Contains header files for building with libservicelog.
|
|
|
6caf1d |
|
|
|
6caf1d |
|
|
|
6caf1d |
%prep
|
|
|
6caf1d |
%setup -q
|
|
|
6caf1d |
%patch0 -p1 -b .libs
|
|
|
6caf1d |
|
|
|
6caf1d |
%build
|
|
|
6caf1d |
autoreconf -fiv
|
|
|
6caf1d |
%configure --disable-static
|
|
|
6caf1d |
%{__make} %{?_smp_mflags}
|
|
|
6caf1d |
|
|
|
6caf1d |
|
|
|
6caf1d |
%install
|
|
|
6caf1d |
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
6caf1d |
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
|
|
6caf1d |
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
|
|
6caf1d |
|
|
|
6caf1d |
|
|
|
6caf1d |
%clean
|
|
|
6caf1d |
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
6caf1d |
|
|
|
6caf1d |
%pre
|
|
|
6caf1d |
getent group service >/dev/null || /usr/sbin/groupadd service
|
|
|
6caf1d |
|
|
|
6caf1d |
%post -p /sbin/ldconfig
|
|
|
6caf1d |
|
|
|
6caf1d |
%postun
|
|
|
6caf1d |
/sbin/ldconfig
|
|
|
6caf1d |
|
|
|
6caf1d |
%files
|
|
|
6caf1d |
%defattr(-,root,root,-)
|
|
|
6caf1d |
%doc COPYING NEWS AUTHORS
|
|
|
6caf1d |
%{_libdir}/libservicelog-*.so.*
|
|
|
269b8f |
%dir %attr(755, root, service) /var/lib/servicelog
|
|
|
269b8f |
%verify(not md5 size mtime) %attr(644,root,service) /var/lib/servicelog/servicelog.db
|
|
|
269b8f |
%config(noreplace) /var/lib/servicelog/servicelog.db
|
|
|
6caf1d |
|
|
|
6caf1d |
%files devel
|
|
|
6caf1d |
%defattr(-,root,root,-)
|
|
|
6caf1d |
%{_includedir}/servicelog-1
|
|
|
6caf1d |
%{_libdir}/*.so
|
|
|
6caf1d |
%{_libdir}/pkgconfig/servicelog-1.pc
|
|
|
6caf1d |
|
|
|
6caf1d |
|
|
|
6caf1d |
%changelog
|
|
|
269b8f |
* Wed Jan 08 2014 Phil Knirsch <pknirsch@redhat.com> - 1.1.13-3
|
|
|
269b8f |
- Fixed build issue
|
|
|
269b8f |
Resolves: rhbz#1048877
|
|
|
269b8f |
|
|
|
269b8f |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.1.13-2
|
|
|
269b8f |
- Mass rebuild 2013-12-27
|
|
|
269b8f |
|
|
|
6caf1d |
* Sat May 18 2013 Vasant Hegde <hegdevasant@fedoraproject.org> - 1.1.13
|
|
|
6caf1d |
- Update to latest upstream 1.1.13
|
|
|
6caf1d |
|
|
|
6caf1d |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.11-4
|
|
|
6caf1d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
6caf1d |
|
|
|
6caf1d |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.11-3
|
|
|
6caf1d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
6caf1d |
|
|
|
6caf1d |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.11-2
|
|
|
6caf1d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
6caf1d |
|
|
|
6caf1d |
* Mon Aug 08 2011 Jiri Skala <jskala@redhat.com> - 1.1.11-1
|
|
|
6caf1d |
- update to latest upstream 1.1.11
|
|
|
6caf1d |
|
|
|
6caf1d |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.9-5
|
|
|
6caf1d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
6caf1d |
|
|
|
6caf1d |
* Fri Jun 04 2010 Roman Rakus <rrakus@redhat.com> - 1.1.9-4
|
|
|
6caf1d |
- Properly handle servicelog.db
|
|
|
6caf1d |
|
|
|
6caf1d |
* Tue May 18 2010 Roman Rakus <rrakus@redhat.com> - 1.1.9-2
|
|
|
6caf1d |
- Link with needed libraries (sqlite, rtas, rtasevent)
|
|
|
6caf1d |
|
|
|
6caf1d |
* Tue May 11 2010 Roman Rakus <rrakus@redhat.com> - 1.1.9-1
|
|
|
6caf1d |
- Update to 1.1.9
|
|
|
6caf1d |
|
|
|
6caf1d |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
|
|
|
6caf1d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
6caf1d |
|
|
|
6caf1d |
* Tue Mar 31 2009 Roman Rakus <rrakus@redhat.com> - 1.0.1-2
|
|
|
6caf1d |
- Added missing requires sqlite-devel in devel subpackage
|
|
|
6caf1d |
|
|
|
6caf1d |
* Fri Feb 20 2009 Roman Rakus <rrakus@redhat.com> - 1.0.1-1
|
|
|
6caf1d |
- Initial packaging
|