]>
Commit | Line | Data |
---|---|---|
12cd7d45 | 1 | Summary: Log4cxx - a port to C++ of the log4j project |
97f33763 | 2 | Summary(pl.UTF-8): Log4cxx - port projektu log4j dla C++ |
9eb0d9b9 | 3 | Name: log4cxx |
4 | Version: 0.9.7 | |
5 | Release: 0.2 | |
6 | License: Apache | |
7 | Group: Libraries | |
8 | Source0: http://www.apache.org/dist/logging/log4cxx/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: fd09abc90b8c0c8af1d5146a75590792 | |
10 | URL: http://logging.apache.org/log4cxx/ | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRequires: libstdc++-devel | |
14 | BuildRequires: libtool | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
d4b912c0 | 18 | Log4cxx is C++ port of Log4j. Log4cxx attempts to mimic log4j usage as |
9eb0d9b9 | 19 | much as the language will allow and to be compatible with log4j |
20 | configuration and output formats. | |
21 | ||
97f33763 JR |
22 | %description -l pl.UTF-8 |
23 | Log4cxx jest portem Log4j dla C++. Log4cxx próbuje naśladować | |
24 | użytkowanie log4j tak bardzo na ile pozwala na to język oraz próbuje | |
25 | być kompatybilnym z plikami konfiguracyjnymi i formatami wyjściowymi | |
d4b912c0 | 26 | log4j. |
27 | ||
9eb0d9b9 | 28 | %package devel |
29 | Summary: Header files for log4cxx library | |
97f33763 | 30 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki log4cxx |
9eb0d9b9 | 31 | Group: Development/Libraries |
12cd7d45 | 32 | Requires: %{name} = %{version}-%{release} |
9eb0d9b9 | 33 | |
34 | %description devel | |
35 | This is the package containing the header files for log4cxx library. | |
36 | ||
97f33763 JR |
37 | %description devel -l pl.UTF-8 |
38 | Ten pakiet zawiera pliki nagłówkowe biblioteki log4cxx. | |
9eb0d9b9 | 39 | |
40 | %package static | |
41 | Summary: Static log4cxx library | |
97f33763 | 42 | Summary(pl.UTF-8): Statyczna biblioteka log4cxx |
9eb0d9b9 | 43 | Group: Development/Libraries |
44 | Requires: %{name}-devel = %{version}-%{release} | |
45 | ||
46 | %description static | |
47 | Static log4cxx library. | |
48 | ||
97f33763 | 49 | %description static -l pl.UTF-8 |
9eb0d9b9 | 50 | Statyczna biblioteka log4cxx. |
51 | ||
52 | %prep | |
a210e866 | 53 | %setup -q |
9eb0d9b9 | 54 | |
55 | %build | |
a210e866 | 56 | cp %{_datadir}/aclocal/libtool.m4 aclocal.m4 |
9eb0d9b9 | 57 | %{__libtoolize} |
58 | %{__aclocal} | |
59 | %{__autoconf} | |
60 | %{__autoheader} | |
61 | %{__automake} | |
62 | %configure | |
63 | %{__make} | |
64 | ||
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
9eb0d9b9 | 67 | %{__make} install \ |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %post -p /sbin/ldconfig | |
74 | %postun -p /sbin/ldconfig | |
75 | ||
76 | %files | |
77 | %defattr(644,root,root,755) | |
9ce72ede | 78 | %doc AUTHORS ChangeLog NEWS README |
9eb0d9b9 | 79 | %attr(755,root,root) %{_bindir}/* |
80 | %attr(755,root,root) %{_libdir}/liblog4cxx.so.*.*.* | |
81 | ||
82 | %files devel | |
83 | %defattr(644,root,root,755) | |
9eb0d9b9 | 84 | %attr(755,root,root) %{_libdir}/liblog4cxx.so |
12cd7d45 JB |
85 | %{_libdir}/liblog4cxx.la |
86 | %{_includedir}/%{name} | |
9eb0d9b9 | 87 | |
88 | %files static | |
89 | %defattr(644,root,root,755) | |
90 | %{_libdir}/liblog4cxx.a |