File tree Expand file tree Collapse file tree 2 files changed +60
-0
lines changed
Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 11build
2+ build-linux
Original file line number Diff line number Diff line change 1+
2+ Name: xrdhttp-pelican
3+ Version: 0.0.3
4+ Release: 1%{?dist }
5+ Summary: A Pelican-specific plugin for the XrdHttp server
6+
7+ Group: System Environment/Daemons
8+ License: BSD
9+ URL: https://github.com/pelicanplatform/xrdhttp-pelican
10+ # Generated from:
11+ # git archive --format tar.gz v%{version} --prefix=xrdhttp-pelican-%{version}/ > ~/rpmbuild/SOURCES/xrdhttp-pelican-%{version}.tar.gz
12+ Source0: %{name }-%{version }.tar.gz
13+
14+ %define xrootd_current_major 5
15+ %define xrootd_current_minor 7
16+ %define xrootd_next_minor 8
17+
18+ BuildRoot: %(mktemp -ud %{_tmppath }/%{name }-%{version }-%{release }-XXXXXX)
19+ # Since we rely on the private headers, we don't want the plugin to cross
20+ # unknown feature release versions.
21+ BuildRequires: xrootd-devel >= 1:%{xrootd_current_major }.%{xrootd_current_minor }.0
22+ BuildRequires: xrootd-devel < 1:%{xrootd_current_major }.%{xrootd_next_minor }.0
23+ BuildRequires: xrootd-private-devel
24+ BuildRequires: gcc-c++
25+ BuildRequires: cmake
26+
27+ Requires: xrootd-client >= 1:%{xrootd_current_major }.%{xrootd_current_minor }
28+ Requires: xrootd-client < 1:%{xrootd_current_major }.%{xrootd_next_minor }.0
29+
30+ %description
31+ %{summary }
32+
33+ %prep
34+ %setup -q
35+
36+ %build
37+
38+ %cmake3 -DCMAKE_BUILD_TYPE= RelWithDebInfo
39+ pushd redhat-linux-build
40+ make VERBOSE= 1 %{?_smp_mflags }
41+ popd
42+
43+ %install
44+ rm -rf $RPM_BUILD_ROOT
45+ pushd redhat-linux-build
46+ make install DESTDIR=$RPM_BUILD_ROOT
47+ popd
48+
49+ %clean
50+ rm -rf $RPM_BUILD_ROOT
51+
52+ %files
53+ %defattr(-,root,root,-)
54+ %{_libdir }/libXrdHttpPelican-* .so
55+
56+ %changelog
57+ * Mon Dec 23 2024 Brian Bockelman <bbockelman@morgridge.org> - 0.0.3-1
58+ - First build of the xrdhttp-pelican plugin
59+
You can’t perform that action at this time.
0 commit comments