-
Notifications
You must be signed in to change notification settings - Fork 1
/
libdftw.spec
51 lines (38 loc) · 1.28 KB
/
libdftw.spec
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
Name: libdftw
Version: 0.0.2
Release: 0
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}
URL: http://github.com/hpc/libdftw
Summary: A file treewalk utility similiar to ftw(3).
Group: Development/Libraries
License: Copyright (c) 2012-2013 Los Alamos National Security, LLC. All rights reserved.
%description
A file treewalk library similiar to ftw(3). libdftw distributes the workload
of the treewalk in a dynamically balanced and decentralized manner on a
distributed system.
BuildRequires: libcircle
# Don't strip binaries
%define __os_install_post /usr/lib/rpm/brp-compress
%define debug_package %{nil}
###############################################################################
%prep
%setup -n %{name}-%{version}
%build
%configure --program-prefix=%{?_program_prefix:%{_program_prefix}}
make %{?_smp_mflags}
%install
rm -rf "$RPM_BUILD_ROOT"
mkdir -p "$RPM_BUILD_ROOT"
DESTDIR="$RPM_BUILD_ROOT" make install
###############################################################################
%clean
rm -rf $RPM_BUILD_ROOT
###############################################################################
%files
%defattr(-,root,root,0755)
%{_prefix}/include/libdftw.h
%{_libdir}/libdftw.so*
%{_libdir}/pkgconfig/libdftw.pc
%{_libdir}/libdftw.a
%{_libdir}/libdftw.la