-
Notifications
You must be signed in to change notification settings - Fork 1
/
liblustre.spec.in
60 lines (48 loc) · 1.2 KB
/
liblustre.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
Name: liblustre
Version: 0.2.0
Release: g@GIT_HASH@
Summary: An alternate user space library for Lustre
Group: System Environment/Libraries
# TODO: will need to change to LGPLv2+
License: GPLv2+
URL: https://github.com/fzago-cray/liblustre
Source0: %{name}-%{version}.tar.xz
BuildRequires: python-docutils check-devel libattr-devel
%description
An alternate library for Lustre that can be installed in parallel with
liblustreapi. The APIs provided by liblustre are slightly different
than those provided by liblustreapi.
%package devel
Summary: %{name} development package
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
Development package for %{name}.
%package tests
Summary: Test suite for %{name}
Group: Applications/File
Requires: %{name} = %{version} check
%description tests
A test suite for %{name}.
%prep
%setup -q
%build
autoreconf -i
%configure
make %{?_smp_mflags}
%install
%make_install
%files
%defattr(-,root,root,-)
%{_libdir}/%{name}.so*
%files devel
%defattr(-,root,root,-)
%{_includedir}
%{_libdir}/pkgconfig
%{_libdir}/%{name}.la
%{_mandir}/man3/*
%{_mandir}/man7/*
%files tests
%defattr(-,root,root)
%{_datadir}/%{name}/tests/*
%{_datadir}/%{name}/README.tests