]> git.pld-linux.org Git - packages/log4cxx.git/blob - log4cxx.spec
- release 3 (by relup.sh)
[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:        3
6 License:        Apache v2.0
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 Patch0:         %{name}-gcc43.patch
11 URL:            http://logging.apache.org/log4cxx/
12 BuildRequires:  apr-util-devel
13 BuildRequires:  libstdc++-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Log4cxx is C++ port of Log4j. Log4cxx attempts to mimic log4j usage as
18 much as the language will allow and to be compatible with log4j
19 configuration and output formats.
20
21 %description -l pl.UTF-8
22 Log4cxx jest portem Log4j dla C++. Log4cxx próbuje naśladować
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.
26
27 %package devel
28 Summary:        Header files for log4cxx library
29 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki log4cxx
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}-%{release}
32 Requires:       apr-util-devel
33 Requires:       libstdc++-devel
34
35 %description devel
36 This is the package containing the header files for log4cxx library.
37
38 %description devel -l pl.UTF-8
39 Ten pakiet zawiera pliki nagłówkowe biblioteki log4cxx.
40
41 %package static
42 Summary:        Static log4cxx library
43 Summary(pl.UTF-8):      Statyczna biblioteka log4cxx
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{version}-%{release}
46
47 %description static
48 Static log4cxx library.
49
50 %description static -l pl.UTF-8
51 Statyczna biblioteka log4cxx.
52
53 %prep
54 %setup -q -n apache-%{name}-%{version}
55 %patch0 -p1
56
57 %build
58 %configure
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
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)
74 %doc KEYS LICENSE NOTICE
75 %attr(755,root,root) %{_libdir}/liblog4cxx.so.*.*.*
76 %attr(755,root,root) %ghost %{_libdir}/liblog4cxx.so.10
77
78 %files devel
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_libdir}/liblog4cxx.so
81 %{_libdir}/liblog4cxx.la
82 %{_includedir}/%{name}
83 %{_pkgconfigdir}/liblog4cxx.pc
84 # - apidocs subpkg?
85 %dir %{_datadir}/%{name}
86 %{_datadir}/%{name}/html
87
88 %files static
89 %defattr(644,root,root,755)
90 %{_libdir}/liblog4cxx.a
This page took 0.077025 seconds and 3 git commands to generate.