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