-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtaskfarmer.spec
More file actions
53 lines (40 loc) · 766 Bytes
/
taskfarmer.spec
File metadata and controls
53 lines (40 loc) · 766 Bytes
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
%define version 0.2
%define release 1
Summary: TaskFarmer Utility
Name: taskfarmer
Version: %{version}
Release: %{release}
Vendor: Lawrence Berkeley National Lab
License: GPL
Packager: Shane Canon <scanon@lbl.gov>
Group: System Environment/Base
Source0: %{name}-%{version}.tgz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root/
Requires: perl
%description
%prep
%setup
%build
make
%install
if [ "$RPM_BUILD_ROOT" != "/" ]; then
rm -rf $RPM_BUILD_ROOT
fi
%makeinstall
%clean
if [ "$RPM_BUILD_ROOT" != "/" ]; then
rm -rf $RPM_BUILD_ROOT
fi
%files
%defattr(-,root,root)
/usr/bin/tfrun
/usr/libexec/taskfarmer
/usr/share/taskfarmer
%pre
%post
exit 0
%preun
%changelog
* Mon Sep 27 2010 Shane Canon <scanon@lbl.gov>
- Initial RPM