Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions libzip.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
### RPM external libzip 1.11.4
Source: https://github.com/nih-at/libzip/releases/download/v%{realversion}/libzip-%{realversion}.tar.gz
BuildRequires: cmake
Requires: zlib zstd
Requires: bz2lib

%prep
%setup -n %{n}-%{realversion}

%build
cmake \
-S %{_builddir}/%{n}-%{realversion} \
-B %{_builddir}/build \
-DCMAKE_INSTALL_PREFIX=%{i} \
-DCMAKE_PREFIX_PATH=%{cmake_prefix_path} \
-DENABLE_COMMONCRYPTO=OFF \
-DENABLE_GNUTLS=OFF \
-DENABLE_MBEDTLS=OFF \
-DENABLE_WINDOWS_CRYPTO=OFF \
-DBUILD_EXAMPLES=OFF \
-DBUILD_DOC=OFF

make -C %{_builddir}/build %{makeprocesses}
%install
make -C %{_builddir}/build %{makeprocesses} install
6 changes: 3 additions & 3 deletions xrootd.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### RPM external xrootd 5.9.4
### RPM external xrootd 6.0.1
## INITENV +PATH LD_LIBRARY_PATH %i/lib64
## INITENV +PATH PYTHON3PATH %{i}/${PYTHON3_LIB_SITE_PACKAGES}

Expand All @@ -8,7 +8,7 @@
%define github_user xrootd
Source: https://github.com/xrootd/xrootd/releases/download/v%{realversion}/%{n}-%{realversion}.tar.gz

BuildRequires: cmake gmake autotools py3-pip
BuildRequires: cmake gmake autotools py3-pip libzip
Requires: zlib libuuid curl davix
Requires: python3 py3-setuptools
Requires: libxml2
Expand Down Expand Up @@ -56,7 +56,7 @@ cmake ../%n-%{realversion} \
-DENABLE_XRDEC=TRUE \
-DCMAKE_CXX_FLAGS="-I${LIBUUID_ROOT}/include" \
-DCMAKE_SHARED_LINKER_FLAGS="-L${LIBUUID_ROOT}/lib64" \
-DCMAKE_PREFIX_PATH="%{cmake_prefix_path}"
-DCMAKE_PREFIX_PATH="%{cmake_prefix_path};$LIBZIP_ROOT"

make %makeprocesses VERBOSE=1

Expand Down