1 Summary: Library for access to the system servicelog
2 Summary(pl.UTF-8): Biblioteka dostępu do logu zdarzeń serwisowych w systemie
8 #Source0Download: https://github.com/power-ras/libservicelog/tags
9 Source0: https://github.com/power-ras/libservicelog/archive/v%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5: 0b2207b4451ac67c01ec1aa835ead999
11 Patch0: %{name}-link.patch
12 Patch1: %{name}-install.patch
13 URL: https://github.com/power-ras/libservicelog
14 BuildRequires: autoconf >= 2.69
15 BuildRequires: automake
18 BuildRequires: librtas-devel
19 BuildRequires: libtool
20 BuildRequires: sqlite3-devel >= 3
21 # requires ppc-specific librtas
22 ExclusiveArch: ppc ppc64
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 This package contains a library to create and maintain a database for
27 storing events related to system service. This database allows for the
28 logging of serviceable and informational events, and for the logging
29 of service procedures that have been performed upon the system.
31 %description -l pl.UTF-8
32 Ten pakiet zawiera bibliotekę tworzącą i utrzymującą bazę danych do
33 przechowywania zdarzeń związanych z serwisowaniem systemu. Baza ta
34 pozwala na logowanie zdarzeń serwisowych i informacyjnych oraz
35 wykonanych w systemie procedur serwisowych.
38 Summary: Header files for servicelog library
39 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki servicelog
40 Group: Development/Libraries
41 Requires: %{name} = %{version}-%{release}
42 Requires: sqlite3-devel
45 Header files for servicelog library.
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe biblioteki servicelog.
51 Summary: Static servicelog library
52 Summary(pl.UTF-8): Statyczna biblioteka servicelog
53 Group: Development/Libraries
54 Requires: %{name}-devel = %{version}-%{release}
57 Static servicelog library.
59 %description static -l pl.UTF-8
60 Statyczna biblioteka servicelog.
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT/var/lib/servicelog
81 DESTDIR=$RPM_BUILD_ROOT
83 # obsoleted by pkgconfig
84 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libservicelog.la
87 rm -rf $RPM_BUILD_ROOT
89 %post -p /sbin/ldconfig
90 %postun -p /sbin/ldconfig
93 %defattr(644,root,root,755)
94 %doc AUTHORS ChangeLog README
95 %attr(755,root,root) %{_libdir}/libservicelog-1.1.so.*.*.*
96 %ghost %{_libdir}/libservicelog-1.1.so.1
97 %dir /var/lib/servicelog
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/libservicelog.so
102 %{_includedir}/servicelog-1
103 %{_pkgconfigdir}/servicelog-1.pc
106 %defattr(644,root,root,755)
107 %{_libdir}/libservicelog.a