File: log4c.spec

package info (click to toggle)
log4c 1.2.4-2
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 2,808 kB
  • sloc: sh: 11,246; ansic: 8,645; makefile: 680; lex: 134; cpp: 6
file content (87 lines) | stat: -rw-r--r-- 1,724 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# $Id: log4c.spec.in,v 1.10 2013/03/24 22:09:20 valtri Exp $ 

%define RELEASE 1
%define rel     %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
%define _unpackaged_files_terminate_build 0

Name: 		log4c
Version: 	1.2.4
Release: 	%rel

Summary: 	Log for C
License:	LGPLv2+
Group:		Development/Libraries
Vendor:		Cedric Le Goater <legoater@free.fr>
Packager:	Cedric Le Goater <legoater@free.fr>
Url:		http://%name.sourceforge.net/
Source:		http://prdownloads.sourceforge.net/%name/%name-%version.tar.gz
BuildRoot:	%_topdir/%name-%version-root
BuildRequires: 	doxygen
Requires: 	/sbin/ldconfig

%description
%name is a Logging FrameWork for C, as Log4j or Log4Cpp.

%package devel
Summary: Development tools for %name
Group: Development/Libraries
Requires: %name = %version

%package doc
Summary: documentation for %name
Group: Development/Libraries
Requires: %name = %version

%description devel
The %name-devel package contains the static libraries and header files
needed for development with %name.

%description doc
The %name-doc package contains the %name documentation

%prep
%setup -q

%build
%configure --enable-doc
make

%install
rm -rf %{buildroot}
%makeinstall
rm %{buildroot}%{_libdir}/*.la

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_sysconfdir}/*
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root)
%{_bindir}/*
%{_includedir}/*
%{_libdir}/pkgconfig/*
%{_libdir}/*.a
%{_libdir}/*.so
%{_datadir}/aclocal/*
%{_mandir}/*/*

%files doc
%defattr(-,root,root)
%doc doc/%{name}.pdf doc/html

%changelog
* Mon Feb 21 2002 Cedric Le Goater
- Initial RPM release.

# Local Variables:
# mode:rpm-spec
# End: