forked from opensciencegrid/xrootd-cmstfc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add json tfc * Update cmake * bump specfile * update gitignore * add tests * add storarge.json
- Loading branch information
Showing
11 changed files
with
653 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ cmake_install.cmake | |
CMakeFiles | ||
CMakeCache.txt | ||
Makefile | ||
build/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
FIND_PATH(JSONCPP_INCLUDES json.h | ||
HINTS | ||
${JSONCPP_DIR} | ||
$ENV{JSONCPP_DIR} | ||
/usr | ||
/opt/jsoncpp/ | ||
PATH_SUFFIXES include/json | ||
PATHS /opt/json | ||
) | ||
|
||
|
||
FIND_LIBRARY(JSONCPP_LIBRARIES jsoncpp | ||
HINTS | ||
${JSONCPP_DIR} | ||
$ENV{JSONCPP_DIR} | ||
/usr | ||
/opt/jsoncpp/ | ||
PATH_SUFFIXES lib | ||
) | ||
|
||
INCLUDE(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Jsoncpp DEFAULT_MSG JSONCPP_LIBRARIES JSONCPP_INCLUDES) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
Name: xrootd-cmstfc | ||
Version: 1.5.2 | ||
Release: 7%{?dist} | ||
Version: 2.0.0 | ||
Release: 1%{?dist} | ||
Summary: CMS TFC plugin for xrootd | ||
|
||
Group: System Environment/Daemons | ||
License: BSD | ||
URL: https://github.com/bbockelm/xrootd-cmstfc | ||
URL: https://github.com/CMSCompOps/xrootd-cmstfc | ||
# Generated from: | ||
# git-archive master | gzip -7 > ~/rpmbuild/SOURCES/xrootd-lcmaps.tar.gz | ||
Source0: %{name}.tar.gz | ||
|
@@ -25,15 +25,9 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) | |
|
||
BuildRequires: xrootd-devel >= 1:%{xrootd_current_major}.0.0-1 | ||
BuildRequires: xrootd-devel < 1:%{xrootd_next_major}.0.0-1 | ||
BuildRequires: pcre-devel | ||
BuildRequires: cmake pcre-devel xerces-c-devel jsoncpp-devel >= 1.9.4 | ||
|
||
BuildRequires: xerces-c-devel | ||
|
||
BuildRequires: cmake | ||
#BuildRequires: xrootd-compat-libs | ||
|
||
Requires: /usr/bin/xrootd pcre xerces-c | ||
#Requires: xrootd-compat-libs | ||
Requires: /usr/bin/xrootd pcre xerces-c jsoncpp >= 1.9.4 | ||
|
||
#%if 0%%{?rhel} < 7 | ||
#Requires: xrootd4 >= 1:4.1.0 | ||
|
@@ -71,12 +65,15 @@ rm -rf $RPM_BUILD_ROOT | |
%files | ||
%defattr(-,root,root,-) | ||
%{_libdir}/libXrdCmsTfc.so | ||
%{_libdir}/libXrdCmsJson.so | ||
%if 0%{?rhel} < 8 | ||
%{_libdir}/libXrdCmsTfc.so.* | ||
%{_libdir}/libXrdCmsJson.so.* | ||
%endif | ||
%files devel | ||
%defattr(-,root,root,-) | ||
%{_includedir}/XrdCmsTfc.hh | ||
%{_includedir}/XrdCmsJson.hh | ||
|
||
%changelog | ||
* Fri Jul 28 2023 Mátyás Selmeci <[email protected]> - 1.5.2-7 | ||
|
Oops, something went wrong.