]>
Commit | Line | Data |
---|---|---|
12cd7d45 | 1 | Summary: Log4cxx - a port to C++ of the log4j project |
b081aded | 2 | Summary(pl.UTF-8): Log4cxx - port projektu log4j dla C++ |
9eb0d9b9 | 3 | Name: log4cxx |
de4213a3 | 4 | Version: 0.10.0 |
2a36f69d | 5 | Release: 3 |
61d4f696 | 6 | License: Apache v2.0 |
9eb0d9b9 | 7 | Group: Libraries |
de4213a3 SP |
8 | Source0: http://www.apache.org/dist/logging/log4cxx/0.10.0/apache-%{name}-%{version}.tar.gz |
9 | # Source0-md5: b30ffb8da3665178e68940ff7a61084c | |
d52e4b81 | 10 | Patch0: %{name}-gcc43.patch |
9eb0d9b9 | 11 | URL: http://logging.apache.org/log4cxx/ |
57c55d87 | 12 | BuildRequires: apr-util-devel |
d52e4b81 | 13 | BuildRequires: libstdc++-devel |
9eb0d9b9 | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
d4b912c0 | 17 | Log4cxx is C++ port of Log4j. Log4cxx attempts to mimic log4j usage as |
9eb0d9b9 | 18 | much as the language will allow and to be compatible with log4j |
19 | configuration and output formats. | |
20 | ||
97f33763 JR |
21 | %description -l pl.UTF-8 |
22 | Log4cxx jest portem Log4j dla C++. Log4cxx próbuje naśladować | |
d52e4b81 | 23 | użytkowanie log4j tak bardzo na ile pozwala na to język oraz |
24 | próbuje być kompatybilnym z plikami konfiguracyjnymi i formatami | |
25 | wyjściowymi log4j. | |
d4b912c0 | 26 | |
9eb0d9b9 | 27 | %package devel |
28 | Summary: Header files for log4cxx library | |
b081aded | 29 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki log4cxx |
9eb0d9b9 | 30 | Group: Development/Libraries |
12cd7d45 | 31 | Requires: %{name} = %{version}-%{release} |
61d4f696 JB |
32 | Requires: apr-util-devel |
33 | Requires: libstdc++-devel | |
9eb0d9b9 | 34 | |
35 | %description devel | |
36 | This is the package containing the header files for log4cxx library. | |
37 | ||
97f33763 JR |
38 | %description devel -l pl.UTF-8 |
39 | Ten pakiet zawiera pliki nagłówkowe biblioteki log4cxx. | |
9eb0d9b9 | 40 | |
41 | %package static | |
42 | Summary: Static log4cxx library | |
b081aded | 43 | Summary(pl.UTF-8): Statyczna biblioteka log4cxx |
9eb0d9b9 | 44 | Group: Development/Libraries |
45 | Requires: %{name}-devel = %{version}-%{release} | |
46 | ||
47 | %description static | |
48 | Static log4cxx library. | |
49 | ||
97f33763 | 50 | %description static -l pl.UTF-8 |
9eb0d9b9 | 51 | Statyczna 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 | |
62 | rm -rf $RPM_BUILD_ROOT | |
9eb0d9b9 | 63 | %{__make} install \ |
64 | DESTDIR=$RPM_BUILD_ROOT | |
65 | ||
66 | %clean | |
67 | rm -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 |