forked from bmanojlovic/log4c
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlog4c.spec.in
86 lines (67 loc) · 1.6 KB
/
log4c.spec.in
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
# $Id$
%define RELEASE 1
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
%define _unpackaged_files_terminate_build 0
Name: @PACKAGE@
Version: @VERSION@
Release: %rel
Summary: Log for C
License: LGPL
Group: Development/Libraries
Vendor: Cedric Le Goater <[email protected]>
Packager: Cedric Le Goater <[email protected]>
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
%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}/*.a
%{_libdir}/*.la
%{_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: