forked from tfb-bull/lcap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lcap.spec.in
85 lines (62 loc) · 1.81 KB
/
lcap.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
# LCAP specfile
Name: @PACKAGE@
Version: @VERSION@
Vendor: CEA/DAM
Prefix: %{_prefix}
Release: @LCAP_RELEASE@%{?dist}
Summary: lcap - Lustre Changelogs Aggregation and Publishing tool
License: All rights reserved CEA/DAM
Group: Applications/System
Source0: @PACKAGE@-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
lcap proxifies lustre changelog distribution and offers ways to pre-process the
records and distribute them efficiently over the network.
Generated using options: @ac_configure_args@
%package client
Summary: LCAP changelog reading library
Group: Applications/System
%description client
Exposes API to read lustre changelog either directly from lustre or via a lcapd
server.
%package devel
Summary: Libraries and header files for the liblcap library
Group: Applications/System
%description devel
Libraries, include files and other resources needed for developing liblcap
applications.
%package server
Summary: main lcap daemon
Group: Applications/System
%description server
Lustre ChangeLogs Aggregation and Publishing tool
Generated using options: @ac_configure_args@
%prep
%setup -q -n @PACKAGE@-%{version}
%build
./configure @ac_configure_args@ %{?configure_flags:configure_flags} \
--sysconfdir=%{_sysconfdir} \
--mandir=%{_mandir} \
--libdir=%{_libdir} \
--includedir=%{_includedir} \
--prefix=%{_prefix}
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files client
%{_libdir}/liblcap.*
%files devel
%{_libdir}/liblcap.*
%{_includedir}/*.h
%files server
%{_includedir}/*.h
%{_sbindir}/*
%{_libdir}/*
#%config(noreplace) %{_sysconfdir}/lcap.cfg
%changelog
* Wed Oct 23 2014 Henri Doreau <[email protected]> 0.1
- Initial import