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