]> git.pld-linux.org Git - packages/log4cxx.git/blob - log4cxx.spec
- packaged all files; rel 0.2
[packages/log4cxx.git] / log4cxx.spec
1 Summary:        Log4cxx - a port to C++ of the log4j project
2 Summary(pl.UTF-8):      Log4cxx - port projektu log4j dla C++
3 Name:           log4cxx
4 Version:        0.10.0
5 Release:        0.2
6 License:        Apache
7 Group:          Libraries
8 Source0:        http://www.apache.org/dist/logging/log4cxx/0.10.0/apache-%{name}-%{version}.tar.gz
9 # Source0-md5:  b30ffb8da3665178e68940ff7a61084c
10 URL:            http://logging.apache.org/log4cxx/
11 BuildRequires:  apr-util-devel
12 BuildRequires:  libstdc++-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Log4cxx is C++ port of Log4j. Log4cxx attempts to mimic log4j usage as
17 much as the language will allow and to be compatible with log4j
18 configuration and output formats.
19
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
24 log4j.
25
26 %package devel
27 Summary:        Header files for log4cxx library
28 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki log4cxx
29 Group:          Development/Libraries
30 Requires:       %{name} = %{version}-%{release}
31
32 %description devel
33 This is the package containing the header files for log4cxx library.
34
35 %description devel -l pl.UTF-8
36 Ten pakiet zawiera pliki nagłówkowe biblioteki log4cxx.
37
38 %package static
39 Summary:        Static log4cxx library
40 Summary(pl.UTF-8):      Statyczna biblioteka log4cxx
41 Group:          Development/Libraries
42 Requires:       %{name}-devel = %{version}-%{release}
43
44 %description static
45 Static log4cxx library.
46
47 %description static -l pl.UTF-8
48 Statyczna biblioteka log4cxx.
49
50 %prep
51 %setup -q -n apache-%{name}-%{version}
52
53 %build
54
55 %configure
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
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)
71 %doc KEYS LICENSE NOTICE
72 %attr(755,root,root) %{_libdir}/liblog4cxx.so.*.*.*
73 %attr(755,root,root) %{_libdir}/liblog4cxx.so.*
74 %{_datadir}/%{name}/html
75
76 %files devel
77 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_libdir}/liblog4cxx.so
79 %{_libdir}/liblog4cxx.la
80 %{_libdir}/pkgconfig/liblog4cxx.pc
81 %{_includedir}/%{name}
82
83 %files static
84 %defattr(644,root,root,755)
85 %{_libdir}/liblog4cxx.a
This page took 0.044162 seconds and 4 git commands to generate.