]> git.pld-linux.org Git - packages/FileZilla.git/blob - FileZilla.spec
- rel down because unpackaged files
[packages/FileZilla.git] / FileZilla.spec
1 # TODO
2 #       /usr/share/locale/ca_ES@valencia is needed by FileZilla-3.0.5.2-1.i686
3 #       (there is probably ca_ES@valencia locale in Debian glibc - merge it)
4 # - unpackaged:
5 #   /usr/bin/fzputtygen
6 #   /usr/share/filezilla/resources/blukis/theme.xml
7 #   /usr/share/filezilla/resources/cyril/theme.xml
8 Summary:        FTP client for X Window
9 Summary(es.UTF-8):      Cliente FTP para el X Window
10 Summary(ja.UTF-8):      X Window System 用マルチスレッド FTP クライアント
11 Summary(pl.UTF-8):      Klient FTP dla X Window
12 Summary(pt_BR.UTF-8):   Cliente FTP para o X Window
13 Summary(ru.UTF-8):      FTP клиент для X Window
14 Summary(uk.UTF-8):      FTP клієнт для X Window
15 Name:           FileZilla
16 Version:        3.0.8.1
17 Release:        0.1
18 License:        GPL
19 Group:          X11/Applications/Networking
20 Source0:        http://dl.sourceforge.net/filezilla/%{name}_%{version}_src.tar.bz2
21 # Source0-md5:  465de8637065886ad07048c97385a387
22 Patch0:         %{name}-desktop.patch
23 Patch1:         %{name}-locales.patch
24 URL:            http://filezilla-project.org/
25 BuildRequires:  autoconf
26 BuildRequires:  --TODO
27 BuildRequires:  automake
28 BuildRequires:  libtool >= 2:1.5
29 BuildRequires:  wxGTK2-unicode-devel >= 2.8.6
30 BuildRequires:  wxWidgets-devel >= 2.8.6
31 BuildRequires:  wxWidgets-utils >= 2.8.6
32 Requires:       wxWidgets >= 2.8.6
33 Provides:       filezilla
34 Obsoletes:      filezilla
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 FileZilla is a fast and reliable FTP client with lots of useful
39 features and an intuitive interface.
40
41 %description -l pl.UTF-8
42 FileZilla to szybki i wiarygodny klient FTP z wieloma przydatnymi
43 opcjami oraz intuicyjnym interfejsem.
44
45 %prep
46 %setup -q -n filezilla-%{version}
47 %patch0 -p1
48 %patch1 -p1
49
50 cd locales
51 rm -f ca@valencia.po
52 mv bg{_BG,}.po
53 mv cs{_CZ,}.po
54 mv da{_DK,}.po
55 mv et{_EE,}.po
56 mv eu{_ES,}.po
57 mv fi{_FI,}.po
58 mv gl{_ES,}.po
59 mv he{_IL,}.po
60 mv hu{_HU,}.po
61 mv id{_ID,}.po
62 mv ja{_JP,}.po
63 mv km{_KH,}.po
64 mv ko{_KR,}.po
65 mv lt{_LT,}.po
66 mv lv{_LV,}.po
67 mv mk{_MK,}.po
68 mv nb{_NO,}.po
69 mv pl{_PL,}.po
70 mv pt{_PT,}.po
71 mv ro{_RO,}.po
72 mv sk{_SK,}.po
73 mv sl{_SI,}.po
74 mv th{_TH,}.po
75
76 %build
77 %{__libtoolize}
78 %{__aclocal} -I .
79 %{__autoconf}
80 %{__autoheader}
81 %{__automake}
82 %configure \
83         --with-wx-config=wx-gtk2-unicode-config
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} install \
90         DESTDIR=$RPM_BUILD_ROOT
91
92 %find_lang filezilla
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %files -f filezilla.lang
98 %defattr(644,root,root,755)
99 %doc AUTHORS NEWS README
100 %attr(755,root,root) %{_bindir}/filezilla
101 %attr(755,root,root) %{_bindir}/fzsftp
102 %dir %{_datadir}/filezilla
103 %dir %{_datadir}/filezilla/docs
104 %{_datadir}/filezilla/docs/*
105 %dir %{_datadir}/filezilla/resources
106 %{_datadir}/filezilla/resources/*.png
107 %{_datadir}/filezilla/resources/*.wav
108 %{_datadir}/filezilla/resources/*.xml
109 %{_datadir}/filezilla/resources/*.xrc
110 %dir %{_datadir}/filezilla/resources/16x16
111 %{_datadir}/filezilla/resources/16x16/*.png
112 %dir %{_datadir}/filezilla/resources/32x32
113 %{_datadir}/filezilla/resources/32x32/*.png
114 %dir %{_datadir}/filezilla/resources/48x48
115 %{_datadir}/filezilla/resources/48x48/*.png
116 %dir %{_datadir}/filezilla/resources/blukis
117 %dir %{_datadir}/filezilla/resources/blukis/16x16
118 %{_datadir}/filezilla/resources/blukis/16x16/*.png
119 %dir %{_datadir}/filezilla/resources/blukis/32x32
120 %{_datadir}/filezilla/resources/blukis/32x32/*.png
121 %dir %{_datadir}/filezilla/resources/blukis/48x48
122 %{_datadir}/filezilla/resources/blukis/48x48/*.png
123 %dir %{_datadir}/filezilla/resources/cyril
124 %dir %{_datadir}/filezilla/resources/cyril/16x16
125 %{_datadir}/filezilla/resources/cyril/16x16/*.png
126 %{_desktopdir}/*.desktop
127 %{_pixmapsdir}/*.png
128 %{_mandir}/man1/*.1*
129 %{_mandir}/man5/*.5*
This page took 0.05586 seconds and 4 git commands to generate.