A Fast Bresenham Type Algorithm For Drawing Ellipses by John Kennedy
[xy_vsfilter.git] / src / log4cplus / log4cplus.spec
blobe13a2412260be2a68fea7a532a6f09fa83c10068
1 Name: log4cplus
2 Version: 1.0.4
3 Release: 1
5 Summary: log4cplus, C++ logging library
6 Copyright: Apache
7 Group: Development/Libraries
8 Vendor: log4cplus project
9 Packager: Yusuke SATO <y-sato@y-sa.to>
10 Url: http://log4cplus.sourceforge.net/
12 Source: %name-%version.tar.gz
14 Prefix: %_prefix
15 BuildRoot: %_tmppath/%name-%version-root
17 %description
18 log4cplus is a simple to use C++ logging API providing thread-safe,
19 flexible, and arbitrarily granular control over log management and
20 configuration. It is modeled after the Java log4j API.
22 %package devel
23 Summary: log4cplus headers, static libraries
24 Group: Development/Libraries
25 Requires: %name = %version
27 %description devel
28 log4cplus is a simple to use C++ logging API providing thread-safe,
29 flexible, and arbitrarily granular control over log management and
30 configuration. It is modeled after the Java log4j API.
32 %prep
33 rm -rf $RPM_BUILD_ROOT
35 %setup
36 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
38 %build
39 make
41 %install
42 rm -rf $RPM_BUILD_ROOT
44 make prefix=$RPM_BUILD_ROOT%{prefix} install
45 mkdir -p $RPM_BUILD_ROOT%{prefix}/include/
46 cp -rp include/log4cplus $RPM_BUILD_ROOT%{prefix}/include/
48 %clean
49 rm -rf $RPM_BUILD_ROOT
51 %files
52 %defattr(-,root,root,755)
53 %attr(755,root,root) %prefix/lib/lib*.so*
54 %attr(644,root,root) %prefix/lib/*.la
56 %files devel
57 %defattr(-,root,root,755)
58 %prefix/include/log4cplus/*.h
59 %prefix/include/log4cplus/helpers/*.h
60 %prefix/include/log4cplus/spi/*.h
61 %attr(644,root,root) %prefix/lib/*.a