-
Notifications
You must be signed in to change notification settings - Fork 0
/
lcmaps-plugins-static-mapping.spec
55 lines (41 loc) · 1.35 KB
/
lcmaps-plugins-static-mapping.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 a static mapfile
Name: lcmaps-plugins-static-mapping
Version: 0.0.2
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-static-mapping
# cd lcmaps-plugin-static-mapping
# ./bootstrap
# ./configure
# make dist
Source0: %{name}-%{version}.tar.gz
BuildRequires: lcmaps-interface
BuildRequires: boost-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
%description
This plugin maps users who invoke glexec based upon a static mapfile.
%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_static_mapping.la
rm $RPM_BUILD_ROOT%{_libdir}/lcmaps/liblcmaps_static_mapping.a
mv $RPM_BUILD_ROOT%{_libdir}/lcmaps/liblcmaps_static_mapping.so \
$RPM_BUILD_ROOT%{_libdir}/lcmaps/lcmaps_static_mapping.mod
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_libdir}/lcmaps/lcmaps_static_mapping.mod
%config(noreplace) %{_sysconfdir}/grid-security/glexec-mapfile
%changelog
* Fri Feb 24 2012 Brian Bockelman <[email protected]> - 0.0.2-1
- Fix mapfile bug found by UCSD.
* Sun Jan 15 2012 Brian Bockelman <[email protected]> - 0.0.1-1
- Initial version.