]> git.pld-linux.org Git - SPECS.git/blob - lwl.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / lwl.spec
1 Summary:        Log Writer Library
2 Summary(pl.UTF-8):      Biblioteka zapisu do logów
3 Name:           lwl
4 Version:        1.1
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Source0:        http://savannah.nongnu.org/download/lwl/%{name}-%{version}.tar.gz
9 # Source0-md5:  b420d15e4b51b94b119a10079b62d31d
10 URL:            http://www.nongnu.org/lwl/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Log Writer Library (LWL) is a portable library for C programmers. It
17 provides functions to log messages to files from programs such as
18 daemons. The format of logged messages is highly and easily
19 customizable.
20
21 %description -l pl.UTF-8
22 Biblioteka zapisu do logów (Log Writer Library - LWL) jest przenośną
23 biblioteką dla programistów piszących w C. Dostarcza funkcje
24 pozwalające logować do plików przez programy, czy demony. Format
25 logowanych wiadomości jest bardzo łatwy do zmienienia, a jednocześnie
26 bardzo elastyczny.
27
28 %package devel
29 Summary:        Header files and development documentation for Log Writer Library
30 Summary(pl.UTF-8):      Pliki nagłówkowe i dokumentacja do biblioteki zapisu do logów
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33
34 %description devel
35 Header files and development documentation for Log Writer Library.
36
37 %description devel -l pl.UTF-8
38 Pliki nagłówkowe i dokumentacja do biblioteki zapisu do logów.
39
40 %package static
41 Summary:        Static Log Writer Library
42 Summary(pl.UTF-8):      Statyczna biblioteka zapisu do logów
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}-%{release}
45
46 %description static
47 Static Log Writer Library.
48
49 %description static -l pl.UTF-8
50 Statyczna biblioteka zapisu do logów.
51
52 %prep
53 %setup -q
54
55 %build
56 %{__aclocal}
57 %{__autoconf}
58 %{__automake}
59 %configure
60
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post   -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
74
75 %files
76 %defattr(644,root,root,755)
77 %doc AUTHORS ChangeLog README NEWS THANKS
78 %attr(755,root,root) %{_libdir}/liblwl.so.*.*.*
79
80 %files devel
81 %defattr(644,root,root,755)
82 %doc src/example.c doc/html/{*.html,*.png}
83 %{_libdir}/*.la
84 %{_includedir}/*.h
85 %{_mandir}/man3/*
86
87 %files static
88 %defattr(644,root,root,755)
89 %{_libdir}/*.a
This page took 0.140798 seconds and 3 git commands to generate.