]> git.pld-linux.org Git - packages/log4cpp.git/blame - log4cpp.spec
- updated to 1.1.1 (note: new soname)
[packages/log4cpp.git] / log4cpp.spec
CommitLineData
a8383378 1Summary: Library for flexible logging
f23f996f 2Summary(pl.UTF-8): Biblioteka do elastycznego logowania
a8383378 3Name: log4cpp
d89ca76b 4Version: 1.1.1
56962506 5Release: 1
d89ca76b 6License: LGPL v2.1+
42068287 7Group: Libraries
04d12e65 8Source0: http://downloads.sourceforge.net/log4cpp/%{name}-%{version}.tar.gz
d89ca76b 9# Source0-md5: 1e173df8ee97205f412ff84aa93b8fbe
56962506 10Patch0: %{name}-nolibs.patch
d89ca76b 11Patch1: %{name}-lt.patch
d17d1cd4 12URL: http://log4cpp.sourceforge.net/
42068287 13BuildRequires: autoconf >= 2.50
a8383378 14BuildRequires: automake
15BuildRequires: doxygen
caf1a6eb 16BuildRequires: libstdc++-devel
42068287 17BuildRequires: libtool >= 2:1.4d
a8383378 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21Log4cpp is library of C++ classes for flexible logging to files,
22syslog, IDSA and other destinations. It is modeled after the Log4j
23Java library, staying as close to their API as is reasonable.
24
2f7008b8
JR
25%description -l pl.UTF-8
26Log4cpp to biblioteka klas C++ do elastycznego logowania do plików,
caf1a6eb 27sysloga, IDSA i innych miejsc. Jest tworzona na podstawie biblioteki
2f7008b8 28Javy Log4j i pozostaje jak najbliżej jej API w granicach rozsądku.
caf1a6eb 29
a8383378 30%package devel
31Summary: Header files for log4cpp
f23f996f 32Summary(pl.UTF-8): Pliki nagłówkowe log4cpp
a8383378 33Group: Development/Libraries
e7376391 34Requires: %{name} = %{version}-%{release}
da42a490 35Requires: libstdc++-devel
a8383378 36
37%description devel
caf1a6eb
JB
38This package contains the development and header files for log4cpp.
39
2f7008b8
JR
40%description devel -l pl.UTF-8
41Ten pakiet zawiera pliki nagłówkowe biblioteki log4cpp.
a8383378 42
43%package static
caf1a6eb 44Summary: Static log4cpp library
f23f996f 45Summary(pl.UTF-8): Statyczna biblioteka log4cpp
a8383378 46Group: Development/Libraries
e7376391 47Requires: %{name}-devel = %{version}-%{release}
a8383378 48
49%description static
caf1a6eb
JB
50This package contains static log4cpp library.
51
2f7008b8
JR
52%description static -l pl.UTF-8
53Ten pakiet zawiera statyczną bibliotekę log4cpp.
a8383378 54
a8383378 55%prep
d89ca76b 56%setup -q -n %{name}
42068287 57%patch0 -p1
b744b0f4 58%patch1 -p1
a8383378 59
60%build
a8383378 61%{__libtoolize}
62%{__aclocal} -I m4
63%{__autoconf}
64%{__autoheader}
65%{__automake}
66%configure \
67 --enable-doxygen
68%{__make}
69
70%install
71rm -rf $RPM_BUILD_ROOT
72
73%{__make} install \
74 DESTDIR=$RPM_BUILD_ROOT \
87ca01dc 75 docdir=$RPM_BUILD_ROOT/removeit \
76 mandir=$RPM_BUILD_ROOT%{_mandir}
049291df 77
87ca01dc 78rm -rf $RPM_BUILD_ROOT/removeit
a8383378 79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
caf1a6eb
JB
83%post -p /sbin/ldconfig
84%postun -p /sbin/ldconfig
a8383378 85
86%files
87%defattr(644,root,root,755)
5e1274bf 88%doc AUTHORS ChangeLog NEWS README THANKS TODO
ebbfe820 89%attr(755,root,root) %{_libdir}/liblog4cpp.so.*.*.*
d89ca76b 90%attr(755,root,root) %ghost %{_libdir}/liblog4cpp.so.5
a8383378 91
92%files devel
93%defattr(644,root,root,755)
ebbfe820 94%doc doc/html/default.css doc/html/sflogo.png doc/html/index.html doc/html/api
a8383378 95%attr(755,root,root) %{_bindir}/log4cpp-config
ebbfe820 96%attr(755,root,root) %{_libdir}/liblog4cpp.so
97%{_libdir}/liblog4cpp.la
98%{_includedir}/log4cpp
b744b0f4
JB
99%{_mandir}/man3/log4cpp.3*
100%{_mandir}/man3/log4cpp::*.3*
ebbfe820 101%{_aclocaldir}/log4cpp.m4
5e1274bf 102%{_pkgconfigdir}/log4cpp.pc
a8383378 103
a8383378 104%files static
105%defattr(644,root,root,755)
ebbfe820 106%{_libdir}/liblog4cpp.a
This page took 0.074594 seconds and 4 git commands to generate.