]> git.pld-linux.org Git - packages/libservicelog.git/blame - libservicelog.spec
- up to 1.1.19
[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
db784a41 4Version: 1.1.19
23fc5692
JB
5Release: 1
6License: LGPL v2+
7Group: Libraries
db784a41
JB
8#Source0Download: https://github.com/power-ras/libservicelog/tags
9Source0: https://github.com/power-ras/libservicelog/archive/v%{version}/%{name}-%{version}.tar.gz
10# Source0-md5: 0b2207b4451ac67c01ec1aa835ead999
76bac940
JB
11Patch0: %{name}-link.patch
12Patch1: %{name}-install.patch
db784a41
JB
13URL: https://github.com/power-ras/libservicelog
14BuildRequires: autoconf >= 2.69
23fc5692
JB
15BuildRequires: automake
16BuildRequires: bison
17BuildRequires: flex
18BuildRequires: librtas-devel
19BuildRequires: libtool
7ce5edad 20BuildRequires: sqlite3-devel >= 3
23fc5692
JB
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
23fc5692
JB
66
67%build
68%{__libtoolize}
69%{__aclocal}
70%{__autoconf}
71%{__autoheader}
72%{__automake}
73%configure
74%{__make}
75
76%install
77rm -rf $RPM_BUILD_ROOT
78install -d $RPM_BUILD_ROOT/var/lib/servicelog
79
80%{__make} install \
81 DESTDIR=$RPM_BUILD_ROOT
82
83# obsoleted by pkgconfig
84%{__rm} $RPM_BUILD_ROOT%{_libdir}/libservicelog.la
85
86%clean
87rm -rf $RPM_BUILD_ROOT
88
89%post -p /sbin/ldconfig
90%postun -p /sbin/ldconfig
91
92%files
93%defattr(644,root,root,755)
7ce5edad 94%doc AUTHORS ChangeLog README
23fc5692
JB
95%attr(755,root,root) %{_libdir}/libservicelog-1.1.so.*.*.*
96%ghost %{_libdir}/libservicelog-1.1.so.1
97%dir /var/lib/servicelog
98
99%files devel
100%defattr(644,root,root,755)
23fc5692
JB
101%attr(755,root,root) %{_libdir}/libservicelog.so
102%{_includedir}/servicelog-1
103%{_pkgconfigdir}/servicelog-1.pc
104
105%files static
106%defattr(644,root,root,755)
107%{_libdir}/libservicelog.a
This page took 0.049213 seconds and 4 git commands to generate.