]> git.pld-linux.org Git - packages/log4cxx.git/blame - log4cxx.spec
- gcc 4.3 buildfix
[packages/log4cxx.git] / log4cxx.spec
CommitLineData
12cd7d45 1Summary: Log4cxx - a port to C++ of the log4j project
b081aded 2Summary(pl.UTF-8): Log4cxx - port projektu log4j dla C++
9eb0d9b9 3Name: log4cxx
de4213a3 4Version: 0.10.0
78e7a447 5Release: 0.2
9eb0d9b9 6License: Apache
7Group: Libraries
de4213a3
SP
8Source0: http://www.apache.org/dist/logging/log4cxx/0.10.0/apache-%{name}-%{version}.tar.gz
9# Source0-md5: b30ffb8da3665178e68940ff7a61084c
2c729fc0 10Patch0: log4cxx-gcc43.patch
9eb0d9b9 11URL: http://logging.apache.org/log4cxx/
57c55d87 12BuildRequires: apr-util-devel
9eb0d9b9 13BuildRequires: libstdc++-devel
2c729fc0 14BuildRequires: db4.7-devel
9eb0d9b9 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
d4b912c0 18Log4cxx is C++ port of Log4j. Log4cxx attempts to mimic log4j usage as
9eb0d9b9 19much as the language will allow and to be compatible with log4j
20configuration and output formats.
21
97f33763
JR
22%description -l pl.UTF-8
23Log4cxx jest portem Log4j dla C++. Log4cxx próbuje naśladować
24użytkowanie log4j tak bardzo na ile pozwala na to język oraz próbuje
25być kompatybilnym z plikami konfiguracyjnymi i formatami wyjściowymi
d4b912c0 26log4j.
27
9eb0d9b9 28%package devel
29Summary: Header files for log4cxx library
b081aded 30Summary(pl.UTF-8): Pliki nagłówkowe biblioteki log4cxx
9eb0d9b9 31Group: Development/Libraries
12cd7d45 32Requires: %{name} = %{version}-%{release}
9eb0d9b9 33
34%description devel
35This is the package containing the header files for log4cxx library.
36
97f33763
JR
37%description devel -l pl.UTF-8
38Ten pakiet zawiera pliki nagłówkowe biblioteki log4cxx.
9eb0d9b9 39
40%package static
41Summary: Static log4cxx library
b081aded 42Summary(pl.UTF-8): Statyczna biblioteka log4cxx
9eb0d9b9 43Group: Development/Libraries
44Requires: %{name}-devel = %{version}-%{release}
45
46%description static
47Static log4cxx library.
48
97f33763 49%description static -l pl.UTF-8
9eb0d9b9 50Statyczna biblioteka log4cxx.
51
52%prep
de4213a3 53%setup -q -n apache-%{name}-%{version}
9eb0d9b9 54
2c729fc0 55%patch0 -p1
56
9eb0d9b9 57%build
57c55d87 58
9eb0d9b9 59%configure
60%{__make}
61
62%install
63rm -rf $RPM_BUILD_ROOT
9eb0d9b9 64%{__make} install \
65 DESTDIR=$RPM_BUILD_ROOT
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%post -p /sbin/ldconfig
71%postun -p /sbin/ldconfig
72
73%files
74%defattr(644,root,root,755)
57c55d87 75%doc KEYS LICENSE NOTICE
9eb0d9b9 76%attr(755,root,root) %{_libdir}/liblog4cxx.so.*.*.*
78e7a447 77%attr(755,root,root) %{_libdir}/liblog4cxx.so.*
1be3838f 78%dir %{_datadir}/%{name}
78e7a447 79%{_datadir}/%{name}/html
9eb0d9b9 80
81%files devel
82%defattr(644,root,root,755)
9eb0d9b9 83%attr(755,root,root) %{_libdir}/liblog4cxx.so
12cd7d45 84%{_libdir}/liblog4cxx.la
78e7a447 85%{_libdir}/pkgconfig/liblog4cxx.pc
12cd7d45 86%{_includedir}/%{name}
9eb0d9b9 87
88%files static
89%defattr(644,root,root,755)
90%{_libdir}/liblog4cxx.a
This page took 0.068027 seconds and 4 git commands to generate.