]> git.pld-linux.org Git - packages/libservicelog.git/blob - libservicelog.spec
- up to 1.1.16
[packages/libservicelog.git] / libservicelog.spec
1 Summary:        Library for access to the system servicelog
2 Summary(pl.UTF-8):      Biblioteka dostępu do logu zdarzeń serwisowych w systemie
3 Name:           libservicelog
4 Version:        1.1.16
5 Release:        1
6 License:        LGPL v2+
7 Group:          Libraries
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
15 BuildRequires:  bison
16 BuildRequires:  flex
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)
23
24 %description
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.
29
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.
35
36 %package devel
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
42
43 %description devel
44 Header files for servicelog library.
45
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe biblioteki servicelog.
48
49 %package static
50 Summary:        Static servicelog library
51 Summary(pl.UTF-8):      Statyczna biblioteka servicelog
52 Group:          Development/Libraries
53 Requires:       %{name}-devel = %{version}-%{release}
54
55 %description static
56 Static servicelog library.
57
58 %description static -l pl.UTF-8
59 Statyczna biblioteka servicelog.
60
61 %prep
62 %setup -q
63 %patch0 -p1
64 %patch1 -p1
65
66 %build
67 %{__libtoolize}
68 %{__aclocal}
69 %{__autoconf}
70 %{__autoheader}
71 %{__automake}
72 %configure
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77 install -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
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
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
97
98 %files devel
99 %defattr(644,root,root,755)
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.082467 seconds and 3 git commands to generate.