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