1 Summary: Log4cxx is a port to C++ of the log4j project
7 Source0: http://www.apache.org/dist/logging/log4cxx/%{name}-%{version}.tar.gz
8 # Source0-md5: fd09abc90b8c0c8af1d5146a75590792
9 URL: http://logging.apache.org/log4cxx/
10 BuildRequires: autoconf
11 BuildRequires: automake
12 BuildRequires: libstdc++-devel
13 BuildRequires: libtool
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Log4cxx is C++ port of Log4j. log4cxx attempts to mimic log4j usage as
18 much as the language will allow and to be compatible with log4j
19 configuration and output formats.
22 Summary: Header files for log4cxx library
23 Summary(pl): Pliki nag³ówkowe biblioteki log4cxx
24 Group: Development/Libraries
25 #Requires: %{name} = %{version}-%{release}
28 This is the package containing the header files for log4cxx library.
30 %description devel -l pl
31 Ten pakiet zawiera pliki nag³ówkowe biblioteki log4cxx.
34 Summary: Static log4cxx library
35 Summary(pl): Statyczna biblioteka log4cxx
36 Group: Development/Libraries
37 Requires: %{name}-devel = %{version}-%{release}
40 Static log4cxx library.
42 %description static -l pl
43 Statyczna biblioteka log4cxx.
59 rm -rf $RPM_BUILD_ROOT
62 DESTDIR=$RPM_BUILD_ROOT
65 rm -rf $RPM_BUILD_ROOT
67 %post -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_bindir}/*
73 %attr(755,root,root) %{_libdir}/liblog4cxx.so.*.*.*
76 %defattr(644,root,root,755)
77 %{_includedir}/%{name}
78 %{_libdir}/liblog4cxx.la
79 %attr(755,root,root) %{_libdir}/liblog4cxx.so
82 %defattr(644,root,root,755)
83 %{_libdir}/liblog4cxx.a