]> git.pld-linux.org Git - packages/FileZilla.git/blob - FileZilla.spec
- fixed he,ro locales packaging; fr_CA is valid
[packages/FileZilla.git] / FileZilla.spec
1 # TODO
2 # - fix locales:
3 #error: FileZilla-3.0.2.1-1: req /usr/share/locale/fr_CA not found
4 Summary:        FTP client for X Window
5 Summary(es.UTF-8):      Cliente FTP para el X Window
6 Summary(ja.UTF-8):      X Window System 用マルチスレッド FTP クライアント
7 Summary(pl.UTF-8):      Klient FTP dla X Window
8 Summary(pt_BR.UTF-8):   Cliente FTP para o X Window
9 Summary(ru.UTF-8):      FTP клиент для X Window
10 Summary(uk.UTF-8):      FTP клієнт для X Window
11 Name:           FileZilla
12 Version:        3.0.2.1
13 Release:        1
14 License:        GPL
15 Group:          X11/Applications/Networking
16 Source0:        http://downloads.sourceforge.net/filezilla/%{name}_%{version}_src.tar.bz2
17 # Source0-md5:  0182908d3091d19edc511b3a2a6b3e08
18 Patch0:         %{name}-desktop.patch
19 Patch1:         %{name}-locales.patch
20 URL:            http://filezilla-project.org/
21 BuildRequires:  wxGTK2-unicode-devel >= 2.8.4
22 BuildRequires:  wxWidgets-devel >= 2.8.4
23 BuildRequires:  wxWidgets-utils >= 2.8.4
24 Requires:       wxWidgets >= 2.8.4
25 Provides:       filezilla
26 Obsoletes:      filezilla
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 FileZilla is a fast and reliable FTP client with lots of useful
31 features and an intuitive interface.
32
33 %description -l pl.UTF-8
34 FileZilla to szybki i wiarygodny klient FTP z wieloma przydatnymi
35 opcjami oraz intuicyjnym interfejsem.
36
37 %prep
38 %setup -q -n filezilla-%{version}
39 %patch0 -p1
40 %patch1 -p1
41
42 cd locales
43 mv ca{_ES,}.po
44 mv et{_EE,}.po
45 mv da{_DK,}.po
46 mv fr{_FR,}.po
47 mv he{_IL,}.po
48 mv id{_ID,}.po
49 mv it{_IT,}.po
50 mv ja{_JP,}.po
51 mv ko{_KR,}.po
52 mv nb{_NO,}.po
53 mv pl{_PL,}.po
54 mv pt{_PT,}.po
55 mv ro{_RO,}.po
56 mv sv{_SE,}.po
57
58 %build
59 %configure \
60         --with-wx-config=wx-gtk2-unicode-config
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 %find_lang filezilla
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files -f filezilla.lang
75 %defattr(644,root,root,755)
76 %doc AUTHORS NEWS README
77 %attr(755,root,root) %{_bindir}/filezilla
78 %attr(755,root,root) %{_bindir}/fzsftp
79 %dir %{_datadir}/filezilla
80 %dir %{_datadir}/filezilla/docs
81 %{_datadir}/filezilla/docs/*
82 %dir %{_datadir}/filezilla/resources
83 %{_datadir}/filezilla/resources/*.png
84 %{_datadir}/filezilla/resources/*.wav
85 %{_datadir}/filezilla/resources/*.xml
86 %{_datadir}/filezilla/resources/*.xrc
87 %dir %{_datadir}/filezilla/resources/16x16
88 %{_datadir}/filezilla/resources/16x16/*.png
89 %dir %{_datadir}/filezilla/resources/32x32
90 %{_datadir}/filezilla/resources/32x32/*.png
91 %dir %{_datadir}/filezilla/resources/48x48
92 %{_datadir}/filezilla/resources/48x48/*.png
93 %dir %{_datadir}/filezilla/resources/blukis
94 %dir %{_datadir}/filezilla/resources/blukis/16x16
95 %{_datadir}/filezilla/resources/blukis/16x16/*.png
96 %dir %{_datadir}/filezilla/resources/blukis/32x32
97 %{_datadir}/filezilla/resources/blukis/32x32/*.png
98 %dir %{_datadir}/filezilla/resources/blukis/48x48
99 %{_datadir}/filezilla/resources/blukis/48x48/*.png
100 %dir %{_datadir}/filezilla/resources/cyril
101 %dir %{_datadir}/filezilla/resources/cyril/16x16
102 %{_datadir}/filezilla/resources/cyril/16x16/*.png
103 %{_desktopdir}/*.desktop
104 %{_pixmapsdir}/*.png
This page took 0.092637 seconds and 4 git commands to generate.