]> git.pld-linux.org Git - packages/libservicelog.git/blame - libservicelog.spec
- new
[packages/libservicelog.git] / libservicelog.spec
CommitLineData
23fc5692
JB
1Summary: Library for access to the system servicelog
2Summary(pl.UTF-8): Biblioteka dostępu do logu zdarzeń serwisowych w systemie
3Name: libservicelog
4Version: 1.1.11
5Release: 1
6License: LGPL v2+
7Group: Libraries
8Source0: http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
9# Source0-md5: 7a65aa1fd1b524f8878b256f1527ca9a
10Patch0: %{name}-sqlite3.patch
11Patch1: %{name}-link.patch
12Patch2: %{name}-install.patch
13URL: http://linux-diag.sourceforge.net/servicelog/
14BuildRequires: autoconf >= 2.59
15BuildRequires: automake
16BuildRequires: bison
17BuildRequires: flex
18BuildRequires: librtas-devel
19BuildRequires: libtool
20BuildRequires: sqlite3-devel
21# requires ppc-specific librtas
22ExclusiveArch: ppc ppc64
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26This package contains a library to create and maintain a database for
27storing events related to system service. This database allows for the
28logging of serviceable and informational events, and for the logging
29of service procedures that have been performed upon the system.
30
31%description -l pl.UTF-8
32Ten pakiet zawiera bibliotekę tworzącą i utrzymującą bazę danych do
33przechowywania zdarzeń związanych z serwisowaniem systemu. Baza ta
34pozwala na logowanie zdarzeń serwisowych i informacyjnych oraz
35wykonanych w systemie procedur serwisowych.
36
37%package devel
38Summary: Header files for servicelog library
39Summary(pl.UTF-8): Pliki nagłówkowe biblioteki servicelog
40Group: Development/Libraries
41Requires: %{name} = %{version}-%{release}
42Requires: sqlite3-devel
43
44%description devel
45Header files for servicelog library.
46
47%description devel -l pl.UTF-8
48Pliki nagłówkowe biblioteki servicelog.
49
50%package static
51Summary: Static servicelog library
52Summary(pl.UTF-8): Statyczna biblioteka servicelog
53Group: Development/Libraries
54Requires: %{name}-devel = %{version}-%{release}
55
56%description static
57Static servicelog library.
58
59%description static -l pl.UTF-8
60Statyczna biblioteka servicelog.
61
62%prep
63%setup -q
64%patch0 -p1
65%patch1 -p1
66%patch2 -p1
67
68%build
69%{__libtoolize}
70%{__aclocal}
71%{__autoconf}
72%{__autoheader}
73%{__automake}
74%configure
75%{__make}
76
77%install
78rm -rf $RPM_BUILD_ROOT
79install -d $RPM_BUILD_ROOT/var/lib/servicelog
80
81%{__make} install \
82 DESTDIR=$RPM_BUILD_ROOT
83
84# obsoleted by pkgconfig
85%{__rm} $RPM_BUILD_ROOT%{_libdir}/libservicelog.la
86
87%clean
88rm -rf $RPM_BUILD_ROOT
89
90%post -p /sbin/ldconfig
91%postun -p /sbin/ldconfig
92
93%files
94%defattr(644,root,root,755)
95%doc AUTHORS ChangeLog NEWS README TODO
96%attr(755,root,root) %{_libdir}/libservicelog-1.1.so.*.*.*
97%ghost %{_libdir}/libservicelog-1.1.so.1
98%dir /var/lib/servicelog
99
100%files devel
101%defattr(644,root,root,755)
102%doc STATUS
103%attr(755,root,root) %{_libdir}/libservicelog.so
104%{_includedir}/servicelog-1
105%{_pkgconfigdir}/servicelog-1.pc
106
107%files static
108%defattr(644,root,root,755)
109%{_libdir}/libservicelog.a
This page took 0.031398 seconds and 4 git commands to generate.