]> git.pld-linux.org Git - packages/FileZilla.git/blame - FileZilla.spec
- up to 3.67.0
[packages/FileZilla.git] / FileZilla.spec
CommitLineData
2db1d6ff
JB
1%bcond_with storj # support for Storj decentralized cloud storage provider
2
5cbb9dd5 3%define libfilezilla_ver 0.47.0
8c15d1b4
PG
4Summary: FTP client for X Window
5Summary(es.UTF-8): Cliente FTP para el X Window
6Summary(ja.UTF-8): X Window System 用マルチスレッド FTP クライアント
7Summary(pl.UTF-8): Klient FTP dla X Window
8Summary(pt_BR.UTF-8): Cliente FTP para o X Window
9Summary(ru.UTF-8): FTP клиент для X Window
10Summary(uk.UTF-8): FTP клієнт для X Window
11Name: FileZilla
5cbb9dd5 12Version: 3.67.0
b7929b87 13Release: 1
a8a8fc30 14License: GPL v2+
8c15d1b4 15Group: X11/Applications/Networking
ce32f272 16Source0: https://download.filezilla-project.org/client/%{name}_%{version}_src.tar.xz
5cbb9dd5 17# Source0-md5: ddcf03519e2e55ada0bb77c2a6a73fba
73f60021 18Patch0: %{name}-desktop.patch
094a2115 19Patch1: disable-avx-on-i686.patch
0b4099f1 20URL: https://filezilla-project.org/
0d2392f9
JB
21BuildRequires: autoconf >= 2.50
22BuildRequires: automake >= 1.6
6a8d39db 23BuildRequires: boost-devel >= 1.76
1c4da0aa 24BuildRequires: cppunit-devel >= 1.13.0
0d2392f9
JB
25BuildRequires: dbus-devel >= 1.2
26BuildRequires: gettext-tools >= 0.11.0
378a2a24 27BuildRequires: gtk+3-devel
9ae3d50e 28BuildRequires: libfilezilla-devel >= %{libfilezilla_ver}
43109387 29BuildRequires: libidn-devel
a8a8fc30
JB
30# -std=c++17
31BuildRequires: libstdc++-devel >= 6:7
0d2392f9 32BuildRequires: libtool >= 2:2
7b8cc717 33BuildRequires: nettle-devel >= 3.1
43109387 34BuildRequires: pkgconfig
378a2a24 35BuildRequires: pugixml-devel >= 1.9
0d2392f9 36BuildRequires: sqlite3-devel >= 3.7
9ae3d50e 37%{?with_storj:BuildRequires: storj-uplink-c-devel}
378a2a24 38BuildRequires: wxGTK3-unicode-devel >= 3.0.4
1c4da0aa
AG
39BuildRequires: wxWidgets-devel >= 3.0.4
40BuildRequires: wxWidgets-utils >= 3.0.4
4a0af371 41BuildRequires: xdg-utils
0d2392f9 42Requires: dbus-libs >= 1.2
9ae3d50e 43Requires: libfilezilla >= %{libfilezilla_ver}
0d2392f9 44Requires: nettle >= 3.1
378a2a24
KM
45Requires: pugixml >= 1.9
46Requires: wxGTK3-unicode >= 3.0.4
0ae50dd3 47Provides: filezilla
d26a5ccb 48Obsoletes: filezilla < 3.1
8c15d1b4
PG
49BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
50
51%description
73f60021
PG
52FileZilla is a fast and reliable FTP client with lots of useful
53features and an intuitive interface.
54
55%description -l pl.UTF-8
56FileZilla to szybki i wiarygodny klient FTP z wieloma przydatnymi
57opcjami oraz intuicyjnym interfejsem.
8c15d1b4
PG
58
59%prep
3872d915 60%setup -q -n filezilla-%{version}
73f60021 61%patch0 -p1
094a2115 62%patch1 -p1
fe7d5f4d 63
73f60021 64cd locales
8d1f840a 65%{__mv} bg{_BG,}.po
0d2392f9 66%{__mv} ca{_ES,}@valencia.po
8d1f840a 67%{__mv} cs{_CZ,}.po
8d1f840a
JR
68%{__mv} fa{_IR,}.po
69%{__mv} fi{_FI,}.po
70%{__mv} gl{_ES,}.po
71%{__mv} he{_IL,}.po
72%{__mv} hu{_HU,}.po
73%{__mv} id{_ID,}.po
74%{__mv} ja{_JP,}.po
75%{__mv} km{_KH,}.po
76%{__mv} ko{_KR,}.po
0d2392f9 77%{__mv} lo{_LA,}.po
8d1f840a
JR
78%{__mv} lt{_LT,}.po
79%{__mv} lv{_LV,}.po
80%{__mv} mk{_MK,}.po
81%{__mv} nb{_NO,}.po
82%{__mv} nn{_NO,}.po
83%{__mv} pl{_PL,}.po
84%{__mv} pt{_PT,}.po
85%{__mv} ro{_RO,}.po
86%{__mv} sk{_SK,}.po
87%{__mv} sl{_SI,}.po
88%{__mv} th{_TH,}.po
89%{__mv} uk{_UA,}.po
90%{__mv} vi{_VN,}.po
5b27871b 91
8c15d1b4 92%build
d2e4d3bc 93%{__libtoolize}
4da37731 94%{__aclocal} -I m4
d2e4d3bc
JB
95%{__autoconf}
96%{__autoheader}
97%{__automake}
7b023f3b 98%configure \
0d2392f9 99 xdgopen=/usr/bin/xdg-open \
0eeb1394 100 --disable-precomp \
378a2a24 101 --with-wx-config=wx-gtk3-unicode-config \
2db1d6ff 102 %{?with_storj:--enable-storj} \
4da37731 103 --with-tinyxml=builtin
8c15d1b4
PG
104%{__make}
105
106%install
107rm -rf $RPM_BUILD_ROOT
108
109%{__make} install \
110 DESTDIR=$RPM_BUILD_ROOT
111
9ae3d50e
JB
112# API not exported
113%{__rm} $RPM_BUILD_ROOT%{_libdir}/libfzclient-private.{la,so}
0da08b8e 114%{__rm} $RPM_BUILD_ROOT%{_libdir}/libfzclient-commonui-private.{la,so}
9ae3d50e
JB
115
116# not supported by glibc (as of 2.32)
117%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/co
8d1f840a
JR
118
119# Remove oversized icons
120%{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/hicolor/480x480
4089d4bd 121
73f60021 122%find_lang filezilla
8c15d1b4
PG
123
124%clean
125rm -rf $RPM_BUILD_ROOT
126
9ae3d50e
JB
127%post -p /sbin/ldconfig
128%postun -p /sbin/ldconfig
129
73f60021 130%files -f filezilla.lang
8c15d1b4 131%defattr(644,root,root,755)
0d2392f9 132%doc AUTHORS ChangeLog NEWS README
73f60021 133%attr(755,root,root) %{_bindir}/filezilla
4089d4bd 134%attr(755,root,root) %{_bindir}/fzputtygen
2db1d6ff
JB
135%attr(755,root,root) %{_bindir}/fzsftp
136%if %{with storj}
137%attr(755,root,root) %{_bindir}/fzstorj
138%endif
0da08b8e 139%attr(755,root,root) %{_libdir}/libfzclient-commonui-private-%{version}.so
9ae3d50e 140%attr(755,root,root) %{_libdir}/libfzclient-private-%{version}.so
daf29a03 141%{_datadir}/appdata/filezilla.appdata.xml
73f60021
PG
142%dir %{_datadir}/filezilla
143%dir %{_datadir}/filezilla/docs
144%{_datadir}/filezilla/docs/*
145%dir %{_datadir}/filezilla/resources
73f60021
PG
146%{_datadir}/filezilla/resources/*.wav
147%{_datadir}/filezilla/resources/*.xml
73f60021 148%dir %{_datadir}/filezilla/resources/16x16
daf29a03 149%{_datadir}/filezilla/resources/16x16/*.gif
73f60021 150%{_datadir}/filezilla/resources/16x16/*.png
daf29a03
WF
151%dir %{_datadir}/filezilla/resources/20x20
152%{_datadir}/filezilla/resources/20x20/*.png
153%dir %{_datadir}/filezilla/resources/24x24
154%{_datadir}/filezilla/resources/24x24/*.png
73f60021
PG
155%dir %{_datadir}/filezilla/resources/32x32
156%{_datadir}/filezilla/resources/32x32/*.png
157%dir %{_datadir}/filezilla/resources/48x48
158%{_datadir}/filezilla/resources/48x48/*.png
159%dir %{_datadir}/filezilla/resources/blukis
4089d4bd 160%{_datadir}/filezilla/resources/blukis/theme.xml
73f60021
PG
161%dir %{_datadir}/filezilla/resources/blukis/16x16
162%{_datadir}/filezilla/resources/blukis/16x16/*.png
163%dir %{_datadir}/filezilla/resources/blukis/32x32
164%{_datadir}/filezilla/resources/blukis/32x32/*.png
165%dir %{_datadir}/filezilla/resources/blukis/48x48
166%{_datadir}/filezilla/resources/blukis/48x48/*.png
167%dir %{_datadir}/filezilla/resources/cyril
4089d4bd 168%{_datadir}/filezilla/resources/cyril/theme.xml
73f60021
PG
169%dir %{_datadir}/filezilla/resources/cyril/16x16
170%{_datadir}/filezilla/resources/cyril/16x16/*.png
daf29a03
WF
171%dir %{_datadir}/filezilla/resources/flatzilla
172%dir %{_datadir}/filezilla/resources/flatzilla/16x16
173%{_datadir}/filezilla/resources/flatzilla/16x16/*.png
174%dir %{_datadir}/filezilla/resources/flatzilla/24x24
175%{_datadir}/filezilla/resources/flatzilla/24x24/*.png
176%dir %{_datadir}/filezilla/resources/flatzilla/32x32
177%{_datadir}/filezilla/resources/flatzilla/32x32/*.png
178%dir %{_datadir}/filezilla/resources/flatzilla/48x48
179%{_datadir}/filezilla/resources/flatzilla/48x48/*.png
180%{_datadir}/filezilla/resources/flatzilla/theme.xml
937a9452 181%dir %{_datadir}/filezilla/resources/lone
182%{_datadir}/filezilla/resources/lone/theme.xml
183%dir %{_datadir}/filezilla/resources/lone/16x16
184%{_datadir}/filezilla/resources/lone/16x16/*.png
185%dir %{_datadir}/filezilla/resources/lone/32x32
186%{_datadir}/filezilla/resources/lone/32x32/*.png
187%dir %{_datadir}/filezilla/resources/lone/48x48
188%{_datadir}/filezilla/resources/lone/48x48/*.png
cc058e20 189%dir %{_datadir}/filezilla/resources/minimal
190%{_datadir}/filezilla/resources/minimal/theme.xml
191%dir %{_datadir}/filezilla/resources/minimal/16x16
192%{_datadir}/filezilla/resources/minimal/16x16/*.png
193%dir %{_datadir}/filezilla/resources/minimal/32x32
194%{_datadir}/filezilla/resources/minimal/32x32/file.png
4c3dec04 195%dir %{_datadir}/filezilla/resources/opencrystal
196%{_datadir}/filezilla/resources/opencrystal/theme.xml
197%dir %{_datadir}/filezilla/resources/opencrystal/16x16
198%{_datadir}/filezilla/resources/opencrystal/16x16/*.png
daf29a03
WF
199%dir %{_datadir}/filezilla/resources/opencrystal/20x20
200%{_datadir}/filezilla/resources/opencrystal/20x20/*.png
201%dir %{_datadir}/filezilla/resources/opencrystal/24x24
202%{_datadir}/filezilla/resources/opencrystal/24x24/*.png
4c3dec04 203%dir %{_datadir}/filezilla/resources/opencrystal/32x32
204%{_datadir}/filezilla/resources/opencrystal/32x32/*.png
205%dir %{_datadir}/filezilla/resources/opencrystal/48x48
206%{_datadir}/filezilla/resources/opencrystal/48x48/*.png
daf29a03
WF
207%dir %{_datadir}/filezilla/resources/sun
208%dir %{_datadir}/filezilla/resources/sun/48x48
209%{_datadir}/filezilla/resources/sun/48x48/*.png
210%{_datadir}/filezilla/resources/sun/theme.xml
211%dir %{_datadir}/filezilla/resources/tango
212%dir %{_datadir}/filezilla/resources/tango/16x16
213%{_datadir}/filezilla/resources/tango/16x16/*.png
214%dir %{_datadir}/filezilla/resources/tango/32x32
215%{_datadir}/filezilla/resources/tango/32x32/*.png
216%dir %{_datadir}/filezilla/resources/tango/48x48
217%{_datadir}/filezilla/resources/tango/48x48/*.png
218%{_datadir}/filezilla/resources/tango/theme.xml
7ff4dadc
WF
219%dir %{_datadir}/filezilla/resources/480x480
220%{_datadir}/filezilla/resources/480x480/*.png
221%dir %{_datadir}/filezilla/resources/classic
222%dir %{_datadir}/filezilla/resources/classic/16x16
223%{_datadir}/filezilla/resources/classic/16x16/*.png
224%{_datadir}/filezilla/resources/classic/theme.xml
225%dir %{_datadir}/filezilla/resources/default
226%dir %{_datadir}/filezilla/resources/default/480x480
227%{_datadir}/filezilla/resources/default/480x480/*.png
228%{_datadir}/filezilla/resources/default/theme.xml
0d2392f9 229%{_iconsdir}/hicolor/*x*/apps/filezilla.png
b4cca2f4 230%{_iconsdir}/hicolor/scalable/apps/filezilla.svg
0d2392f9
JB
231%{_desktopdir}/filezilla.desktop
232%{_pixmapsdir}/filezilla.png
233%{_mandir}/man1/filezilla.1*
234%{_mandir}/man1/fzputtygen.1*
235%{_mandir}/man1/fzsftp.1*
236%{_mandir}/man5/fzdefaults.xml.5*
This page took 0.481923 seconds and 4 git commands to generate.