forked from jpwhite4/xdmod-ondemand
-
Notifications
You must be signed in to change notification settings - Fork 6
/
xdmod-ondemand.spec.in
52 lines (46 loc) · 1.67 KB
/
xdmod-ondemand.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
Name: xdmod-ondemand
Version: __VERSION__
Release: __RELEASE__%{?dist}
Summary: Open OnDemand log analysis module for Open XDMoD
URL: https://ondemand.xdmod.org/
Vendor: Center for Computational Research, University at Buffalo
Packager: Joseph P. White <[email protected]>
Group: Applications/Internet
License: LGPLv3+
Source: %{name}-%{version}__PRERELEASE__.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}__PRERELEASE__-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: php-cli
Requires: xdmod >= 11.0.0, xdmod < 11.1.0
%description
XDMoD Open OnDemand Module
%prep
%setup -q -n %{name}-%{version}__PRERELEASE__
%install
rm -rf $RPM_BUILD_ROOT
DESTDIR=$RPM_BUILD_ROOT ./install \
--quiet \
--bindir=%{_bindir} \
--libdir=%{_libdir}/xdmod \
--sysconfdir=%{_sysconfdir}/xdmod \
--datadir=%{_datadir}/xdmod \
--docdir=%{_docdir}/%{name}-%{version}__PRERELEASE__ \
--crondconfdir=%{_sysconfdir}/cron.d
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%config(noreplace) %attr(0440,apache,xdmod) %{_sysconfdir}/xdmod/portal_settings.d/ondemand.ini
%{_bindir}/xdmod-ondemand-ingestor
%{_docdir}/%{name}-%{version}__PRERELEASE__/
%{_sysconfdir}/xdmod/
%{_datadir}/xdmod/
%changelog
* Mon Sep 16 2024 XDMoD <[email protected]> 11.0.0-1.0
- Release 11.0.0
* Mon Sep 11 2023 XDMoD <[email protected]> 10.5.0-1.0
- Release 10.5.0
* Thu Mar 10 2022 XDMoD <[email protected]> 10.0.0-1.0
- Release 10.0.0
* Fri Jul 16 2021 XDMoD <[email protected]> 9.5.0-1.0
- Initial public release