1 Summary: Library for access to the system servicelog
2 Summary(pl.UTF-8): Biblioteka dostępu do logu zdarzeń serwisowych w systemie
8 Source0: http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
9 # Source0-md5: 8b357e23aa24bcc936be7b8693b5731f
10 Patch0: %{name}-link.patch
11 Patch1: %{name}-install.patch
12 URL: http://linux-diag.sourceforge.net/servicelog/
13 BuildRequires: autoconf >= 2.59
14 BuildRequires: automake
17 BuildRequires: librtas-devel
18 BuildRequires: libtool
19 BuildRequires: sqlite3-devel >= 3
20 # requires ppc-specific librtas
21 ExclusiveArch: ppc ppc64
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 This package contains a library to create and maintain a database for
26 storing events related to system service. This database allows for the
27 logging of serviceable and informational events, and for the logging
28 of service procedures that have been performed upon the system.
30 %description -l pl.UTF-8
31 Ten pakiet zawiera bibliotekę tworzącą i utrzymującą bazę danych do
32 przechowywania zdarzeń związanych z serwisowaniem systemu. Baza ta
33 pozwala na logowanie zdarzeń serwisowych i informacyjnych oraz
34 wykonanych w systemie procedur serwisowych.
37 Summary: Header files for servicelog library
38 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki servicelog
39 Group: Development/Libraries
40 Requires: %{name} = %{version}-%{release}
41 Requires: sqlite3-devel
44 Header files for servicelog library.
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe biblioteki servicelog.
50 Summary: Static servicelog library
51 Summary(pl.UTF-8): Statyczna biblioteka servicelog
52 Group: Development/Libraries
53 Requires: %{name}-devel = %{version}-%{release}
56 Static servicelog library.
58 %description static -l pl.UTF-8
59 Statyczna biblioteka servicelog.
76 rm -rf $RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT/var/lib/servicelog
80 DESTDIR=$RPM_BUILD_ROOT
82 # obsoleted by pkgconfig
83 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libservicelog.la
86 rm -rf $RPM_BUILD_ROOT
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog README
94 %attr(755,root,root) %{_libdir}/libservicelog-1.1.so.*.*.*
95 %ghost %{_libdir}/libservicelog-1.1.so.1
96 %dir /var/lib/servicelog
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_libdir}/libservicelog.so
101 %{_includedir}/servicelog-1
102 %{_pkgconfigdir}/servicelog-1.pc
105 %defattr(644,root,root,755)
106 %{_libdir}/libservicelog.a