]> git.pld-linux.org Git - packages/FileZilla.git/commitdiff
- added storj bcond auto/th/FileZilla-3.39.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 2 Dec 2018 08:33:38 +0000 (09:33 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 2 Dec 2018 08:33:38 +0000 (09:33 +0100)
FileZilla.spec

index 40f33127f28d991a02186f8bc975d19f0bef9c36..50561e0ede4c9b8695a1f7956f6f0749fb7b66aa 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with    storj   # support for Storj decentralized cloud storage provider
+
 %define                libfilezillaver 0.15.1
 Summary:       FTP client for X Window
 Summary(es.UTF-8):     Cliente FTP para el X Window
@@ -26,6 +30,7 @@ BuildRequires:        libfilezilla-devel >= %{libfilezillaver}
 BuildRequires: libidn-devel
 # -std=c++14
 BuildRequires: libstdc++-devel >= 6:5
+%{?with_storj:BuildRequires:   libstorj-devel >= 1.0}
 BuildRequires: libtool >= 2:2
 BuildRequires: nettle-devel >= 3.1
 BuildRequires: pkgconfig
@@ -95,6 +100,7 @@ cd locales
        xdgopen=/usr/bin/xdg-open \
        --disable-precomp \
        --with-wx-config=wx-gtk2-unicode-config \
+       %{?with_storj:--enable-storj} \
        --with-tinyxml=builtin
 %{__make}
 
@@ -119,8 +125,11 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/filezilla
-%attr(755,root,root) %{_bindir}/fzsftp
 %attr(755,root,root) %{_bindir}/fzputtygen
+%attr(755,root,root) %{_bindir}/fzsftp
+%if %{with storj}
+%attr(755,root,root) %{_bindir}/fzstorj
+%endif
 %{_datadir}/appdata/filezilla.appdata.xml
 %dir %{_datadir}/filezilla
 %dir %{_datadir}/filezilla/docs
This page took 0.245665 seconds and 4 git commands to generate.