1 Summary: Library for flexible logging
2 Summary(pl.UTF-8): Biblioteka do elastycznego logowania
8 Source0: http://downloads.sourceforge.net/log4cpp/%{name}-%{version}.tar.gz
9 # Source0-md5: 1e173df8ee97205f412ff84aa93b8fbe
10 Patch0: %{name}-nolibs.patch
11 Patch1: %{name}-lt.patch
12 URL: http://log4cpp.sourceforge.net/
13 BuildRequires: autoconf >= 2.50
14 BuildRequires: automake
15 BuildRequires: doxygen
16 BuildRequires: libstdc++-devel
17 BuildRequires: libtool >= 2:1.4d
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Log4cpp is library of C++ classes for flexible logging to files,
22 syslog, IDSA and other destinations. It is modeled after the Log4j
23 Java library, staying as close to their API as is reasonable.
25 %description -l pl.UTF-8
26 Log4cpp to biblioteka klas C++ do elastycznego logowania do plików,
27 sysloga, IDSA i innych miejsc. Jest tworzona na podstawie biblioteki
28 Javy Log4j i pozostaje jak najbliżej jej API w granicach rozsądku.
31 Summary: Header files for log4cpp
32 Summary(pl.UTF-8): Pliki nagłówkowe log4cpp
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
35 Requires: libstdc++-devel
38 This package contains the development and header files for log4cpp.
40 %description devel -l pl.UTF-8
41 Ten pakiet zawiera pliki nagłówkowe biblioteki log4cpp.
44 Summary: Static log4cpp library
45 Summary(pl.UTF-8): Statyczna biblioteka log4cpp
46 Group: Development/Libraries
47 Requires: %{name}-devel = %{version}-%{release}
50 This package contains static log4cpp library.
52 %description static -l pl.UTF-8
53 Ten pakiet zawiera statyczną bibliotekę log4cpp.
71 rm -rf $RPM_BUILD_ROOT
74 DESTDIR=$RPM_BUILD_ROOT \
75 docdir=$RPM_BUILD_ROOT/removeit \
76 mandir=$RPM_BUILD_ROOT%{_mandir}
78 rm -rf $RPM_BUILD_ROOT/removeit
81 rm -rf $RPM_BUILD_ROOT
83 %post -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
87 %defattr(644,root,root,755)
88 %doc AUTHORS ChangeLog NEWS README THANKS TODO
89 %attr(755,root,root) %{_libdir}/liblog4cpp.so.*.*.*
90 %attr(755,root,root) %ghost %{_libdir}/liblog4cpp.so.5
93 %defattr(644,root,root,755)
94 %doc doc/html/default.css doc/html/sflogo.png doc/html/index.html doc/html/api
95 %attr(755,root,root) %{_bindir}/log4cpp-config
96 %attr(755,root,root) %{_libdir}/liblog4cpp.so
97 %{_libdir}/liblog4cpp.la
98 %{_includedir}/log4cpp
99 %{_mandir}/man3/log4cpp.3*
100 %{_mandir}/man3/log4cpp::*.3*
101 %{_aclocaldir}/log4cpp.m4
102 %{_pkgconfigdir}/log4cpp.pc
105 %defattr(644,root,root,755)
106 %{_libdir}/liblog4cpp.a