-
Notifications
You must be signed in to change notification settings - Fork 1
/
lcmaps-plugins-mount-under-scratch.spec
55 lines (41 loc) · 1.38 KB
/
lcmaps-plugins-mount-under-scratch.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
52
53
54
Summary: LCMAPS plugin for creating scratch directories for glexec
Name: lcmaps-plugins-mount-under-scratch
Version: 0.0.4
Release: 1%{?dist}
License: Public Domain
Group: System Environment/Libraries
# The tarball was created from Subversion using the following commands:
# svn co svn://t2.unl.edu/brian/lcmaps-plugin-mount-under-scratch
# cd lcmaps-plugin-mount-under-scratch
# ./bootstrap
# ./configure
# make dist
Source0: %{name}-%{version}.tar.gz
BuildRequires: boost-devel
BuildRequires: lcmaps-interface
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
%description
This plugin creates temporary directories for the payload process,
giving it a unique /tmp and /var/tmp
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
rm $RPM_BUILD_ROOT%{_libdir}/lcmaps/liblcmaps_mount_under_scratch.la
rm $RPM_BUILD_ROOT%{_libdir}/lcmaps/liblcmaps_mount_under_scratch.a
mv $RPM_BUILD_ROOT%{_libdir}/lcmaps/liblcmaps_mount_under_scratch.so \
$RPM_BUILD_ROOT%{_libdir}/lcmaps/lcmaps_mount_under_scratch.mod
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_libdir}/lcmaps/lcmaps_mount_under_scratch.mod
%changelog
* Fri Jan 27 2012 Brian Bockelman <[email protected]> - 0.0.3-1
Fix usage when run in Condor.
* Sun Jan 15 2012 Brian Bockelman <[email protected]> - 0.0.2-1
- Fix mounting of /var/tmp.