]>
Commit | Line | Data |
---|---|---|
1 | %define beta rc2 | |
2 | Summary: Downloader for X - ftp/http download manager for X window system | |
3 | Summary(pl.UTF-8): Program do pobierania plików poprzez ftp/http dla X, czyli Downloader for X | |
4 | Name: d4x | |
5 | Version: 2.5.0 | |
6 | Release: 0.%{beta}.3 | |
7 | License: Artistic | |
8 | Group: X11/Applications/Networking | |
9 | Source0: http://www.krasu.ru/soft/chuchelo/files/%{name}-%{version}%{beta}.tar.gz | |
10 | # Source0-md5: 73b880b3c4e8a6e05bb88f9eac3e7bb4 | |
11 | Patch0: %{name}-elif_fix.patch | |
12 | Patch1: %{name}-configure_in.patch | |
13 | Patch2: %{name}-Makefile.patch | |
14 | Patch3: %{name}-desktop.patch | |
15 | Patch4: %{name}-configure.patch | |
16 | Patch5: %{name}-gtk24.patch | |
17 | URL: http://www.krasu.ru/soft/chuchelo/ | |
18 | BuildRequires: autoconf | |
19 | BuildRequires: automake | |
20 | BuildRequires: esound-devel | |
21 | BuildRequires: gettext-tools | |
22 | BuildRequires: gtk+2-devel | |
23 | BuildRequires: libao-devel | |
24 | BuildRequires: libstdc++-devel | |
25 | BuildRequires: libtool | |
26 | BuildRequires: pkgconfig | |
27 | Obsoletes: nt | |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
29 | ||
30 | %description | |
31 | This program lets you download files from internet/intranet using FTP | |
32 | or HTTP protocol. Main features: | |
33 | - multithreaded design | |
34 | - convenient user-friendly interface | |
35 | - automatic resuming after connection breaks | |
36 | - multiple simultaneous downloads | |
37 | - recursive FTP and HTTP downloading | |
38 | - ability to change links in HTML file for offline browsing | |
39 | - wildcards support for FTP recursing | |
40 | - filters support for HTTP recursing | |
41 | - proxy support (FTP and HTTP) | |
42 | - supports for traffic limitation | |
43 | - mass downloading function | |
44 | - FTP search | |
45 | - build-in scheduler | |
46 | - and many many other... | |
47 | ||
48 | %description -l pl.UTF-8 | |
49 | Program pozwalający na pobieranie plików z internetu/intranetu za | |
50 | pomocą protokołów FTP lub HTTP. Możliwości: | |
51 | - wielowątkowa budowa | |
52 | - przyjazny interfejs użytkownika | |
53 | - automatyczne wznawianie po przerwaniu połączenia | |
54 | - jednoczesne pobieranie kilku plików | |
55 | - rekursywne pobieranie | |
56 | - możliwość zmiany odnośników w plikach HTML do przeglądania offline | |
57 | - możliwość stosowania znaków wieloznacznych dla FTP | |
58 | - możliwość stosowania filtrów dla HTTP | |
59 | - obsługa proxy | |
60 | - obsługa ograniczenia ruchu | |
61 | - funkcja zmasowanego pobierania | |
62 | - wyszukiwanie FTP | |
63 | - wbudowany harmonogram | |
64 | - i wiele innych... | |
65 | ||
66 | %prep | |
67 | %setup -q -n %{name}-%{version}%{beta} | |
68 | %patch0 -p0 | |
69 | %patch1 -p1 | |
70 | %patch2 -p1 | |
71 | %patch3 -p1 | |
72 | %patch4 -p1 | |
73 | %patch5 -p1 | |
74 | ||
75 | %build | |
76 | %{__libtoolize} | |
77 | %{__gettextize} | |
78 | %{__aclocal} -I admin -I m4 | |
79 | %{__autoconf} | |
80 | %{__automake} | |
81 | %configure | |
82 | %{__make} | |
83 | ||
84 | %install | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} | |
87 | ||
88 | %{__make} install \ | |
89 | DESTDIR=$RPM_BUILD_ROOT | |
90 | ||
91 | install share/nt.desktop $RPM_BUILD_ROOT%{_desktopdir} | |
92 | install share/{*.xpm,*.png} $RPM_BUILD_ROOT%{_pixmapsdir} | |
93 | ||
94 | mv -f DOC/FAQ.gr DOC/FAQ.el | |
95 | mv -f DOC/README.gr DOC/README.el | |
96 | ||
97 | %find_lang %{name} | |
98 | ||
99 | %clean | |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
102 | %files -f %{name}.lang | |
103 | %defattr(644,root,root,755) | |
104 | %doc ChangeLog* TODO PLANS NEWS DOC/{FAQ*,LICENSE,THANKS,TROUBLES,README*} | |
105 | %lang(de) %doc DOC/{FAQ,README}.de | |
106 | %lang(es) %doc DOC/{FAQ,README}.es | |
107 | %lang(fr) %doc DOC/FAQ.fr | |
108 | %lang(el) %doc DOC/{FAQ,README}.el | |
109 | %lang(pl) %doc DOC/README.pl | |
110 | %lang(pt_BR) %doc DOC/README.pt_BR | |
111 | %lang(ru) %doc DOC/README.ru | |
112 | ||
113 | %attr(755,root,root) %{_bindir}/nt | |
114 | %attr(755,root,root) %{_bindir}/d4x | |
115 | %dir %{_datadir}/d4x | |
116 | %{_datadir}/d4x/sounds | |
117 | %{_datadir}/d4x/themes | |
118 | %{_datadir}/d4x/ftpsearch.xml | |
119 | %{_mandir}/man1/* | |
120 | %{_desktopdir}/nt.desktop | |
121 | %{_pixmapsdir}/* |