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