1 Summary: Log4cxx - a port to C++ of the log4j project
2 Summary(pl.UTF-8): Log4cxx - port projektu log4j dla C++
8 Source0: http://www.apache.org/dist/logging/log4cxx/0.10.0/apache-%{name}-%{version}.tar.gz
9 # Source0-md5: b30ffb8da3665178e68940ff7a61084c
10 Patch0: %{name}-gcc43.patch
11 URL: http://logging.apache.org/log4cxx/
12 BuildRequires: apr-util-devel
13 BuildRequires: db4.7-devel
14 BuildRequires: libstdc++-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Log4cxx is C++ port of Log4j. Log4cxx attempts to mimic log4j usage as
19 much as the language will allow and to be compatible with log4j
20 configuration and output formats.
22 %description -l pl.UTF-8
23 Log4cxx jest portem Log4j dla C++. Log4cxx próbuje naśladować
24 użytkowanie log4j tak bardzo na ile pozwala na to język oraz
25 próbuje być kompatybilnym z plikami konfiguracyjnymi i formatami
29 Summary: Header files for log4cxx library
30 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki log4cxx
31 Group: Development/Libraries
32 Requires: %{name} = %{version}-%{release}
35 This is the package containing the header files for log4cxx library.
37 %description devel -l pl.UTF-8
38 Ten pakiet zawiera pliki nagłówkowe biblioteki log4cxx.
41 Summary: Static log4cxx library
42 Summary(pl.UTF-8): Statyczna biblioteka log4cxx
43 Group: Development/Libraries
44 Requires: %{name}-devel = %{version}-%{release}
47 Static log4cxx library.
49 %description static -l pl.UTF-8
50 Statyczna biblioteka log4cxx.
53 %setup -q -n apache-%{name}-%{version}
63 rm -rf $RPM_BUILD_ROOT
65 DESTDIR=$RPM_BUILD_ROOT
68 rm -rf $RPM_BUILD_ROOT
70 %post -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
74 %defattr(644,root,root,755)
75 %doc KEYS LICENSE NOTICE
76 %attr(755,root,root) %{_libdir}/liblog4cxx.so.*.*.*
77 %attr(755,root,root) %{_libdir}/liblog4cxx.so.*
78 %dir %{_datadir}/%{name}
79 %{_datadir}/%{name}/html
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_libdir}/liblog4cxx.so
84 %{_libdir}/liblog4cxx.la
85 %{_pkgconfigdir}/liblog4cxx.pc
86 %{_includedir}/%{name}
89 %defattr(644,root,root,755)
90 %{_libdir}/liblog4cxx.a