#5 Make storj conditional and fixup deps for it
Merged 2 years ago by limb. Opened 2 years ago by orion.
rpms/ orion/filezilla storj  into  rawhide

file modified
+16 -4
@@ -1,9 +1,12 @@ 

  # Enable (1 = enabled/0 = disabled) if configure regeneration etc. is required.

  %define run_autogen 0

  

+ # Needs not yet packaged storj/uplink-c

+ %bcond_with storj

+ 

  Name: filezilla

  Version: 3.60.0

- Release: 1%{?dist}

+ Release: 2%{?dist}

  Summary: FTP, FTPS and SFTP client

  License: GPLv2+

  URL: https://filezilla-project.org/
@@ -32,13 +35,14 @@ 

  BuildRequires: libappstream-glib

  BuildRequires: libfilezilla-devel >= 0.35.0

  BuildRequires: libidn-devel

- BuildRequires: libstorj-devel

+ %if %{with storj}

+ BuildRequires: golang-storj-uplink-c-devel

+ %endif

  BuildRequires: nettle-devel

  BuildRequires: pugixml-devel >= 1.7

  BuildRequires: sqlite-devel

  BuildRequires: wxGTK3-devel >= 3.0.4

  BuildRequires: xdg-utils

- BuildRequires: golang-storj-uplink-devel

  BuildRequires: make

  

  Requires: xdg-utils
@@ -75,6 +79,9 @@ 

    --with-wx-config=wx-config-3.0 \

    --with-dbus \

    --enable-gnutlssystemciphers \

+ %if %{with storj}

+   --enable-storj \

+ %endif

    --disable-autoupdatecheck

  %make_build

  
@@ -127,7 +134,9 @@ 

  %{_bindir}/%{name}

  %{_bindir}/fzputtygen

  %{_bindir}/fzsftp

- #%%{_bindir}/fzstorj

+ %if %{with storj}

+ %{_bindir}/fzstorj

+ %endif

  %{_datadir}/%{name}/

  %{_datadir}/appdata/%{name}.appdata.xml

  %{_datadir}/applications/%{name}.desktop
@@ -139,6 +148,9 @@ 

  %{_libdir}/libfzclient-commonui*

  

  %changelog

+ * Tue May 31 2022 Orion Poplawski <orion@nwra.com> - 3.60.0-2

+ - Make storj conditional and fixup deps for it

+ 

  * Fri May 27 2022 Gwyn Ciesla <gwync@protonmail.com> - 3.60.0-1

  - 3.60.0

  

no initial comment

Pull-Request has been merged by limb

2 years ago
Metadata