]> git.pld-linux.org Git - packages/log4cxx.git/blob - log4cxx.spec
- new
[packages/log4cxx.git] / log4cxx.spec
1 Summary:        Log4cxx is a port to C++ of the log4j project
2 Name:           log4cxx
3 Version:        0.9.7
4 Release:        0.2
5 License:        Apache
6 Group:          Libraries
7 Source0:        http://www.apache.org/dist/logging/log4cxx/%{name}-%{version}.tar.gz
8 # Source0-md5:  fd09abc90b8c0c8af1d5146a75590792
9 URL:            http://logging.apache.org/log4cxx/
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  libstdc++-devel
13 BuildRequires:  libtool
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 %package devel
22 Summary:        Header files for log4cxx library
23 Summary(pl):    Pliki nag³ówkowe biblioteki log4cxx
24 Group:          Development/Libraries
25 #Requires:      %{name} = %{version}-%{release}
26
27 %description devel
28 This is the package containing the header files for log4cxx library.
29
30 %description devel -l pl
31 Ten pakiet zawiera pliki nag³ówkowe biblioteki log4cxx.
32
33 %package static
34 Summary:        Static log4cxx library
35 Summary(pl):    Statyczna biblioteka log4cxx
36 Group:          Development/Libraries
37 Requires:       %{name}-devel = %{version}-%{release}
38
39 %description static
40 Static log4cxx library.
41
42 %description static -l pl
43 Statyczna biblioteka log4cxx.
44
45 %prep
46 %setup -q -c
47
48 %build
49 cd %{name}-%{version}
50 %{__libtoolize}
51 %{__aclocal}
52 %{__autoconf}
53 %{__autoheader}
54 %{__automake}
55 %configure
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 cd %{name}-%{version}
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post   -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
69
70 %files
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_bindir}/*
73 %attr(755,root,root) %{_libdir}/liblog4cxx.so.*.*.*
74
75 %files devel
76 %defattr(644,root,root,755)
77 %{_includedir}/%{name}
78 %{_libdir}/liblog4cxx.la
79 %attr(755,root,root) %{_libdir}/liblog4cxx.so
80
81 %files static
82 %defattr(644,root,root,755)
83 %{_libdir}/liblog4cxx.a
This page took 0.129696 seconds and 4 git commands to generate.