96 lines
2.9 KiB
RPMSpec
96 lines
2.9 KiB
RPMSpec
%define name prozgui
|
|
%define version 2.0.5beta
|
|
%define release 1
|
|
%define prefix /usr
|
|
|
|
Summary: An GUI advanced Linux download manager
|
|
Summary(fr): Un gestionnaire graphique de téléchargement avancé pour Linux
|
|
Name: %{name}
|
|
Version: %{version}
|
|
Release: %{release}
|
|
Copyright: GNU
|
|
Group: Applications/Internet
|
|
Source0: %{name}-%{version}.tar.gz
|
|
Source1: prozgui.desktop.bz2
|
|
Url: http://prozilla.delrom.ro/
|
|
Packager: Ralph Slooten <axllent@axllent.cjb.net>
|
|
BuildRoot: /var/tmp/%{name}-%{version}-root
|
|
Icon: %{name}48.xpm
|
|
BuildRequires: fltk-devel
|
|
Requires: fltk
|
|
Distribution: Build for Redhat 7.0
|
|
|
|
%description
|
|
This is the GUI version of Prozilla. It uses libprozilla and the GUI is
|
|
created and designed with The Fast Light Tool Kit (fltk).
|
|
|
|
ProZilla is a download accellerator program written for Linux to speed up the
|
|
normal file download process. It often gives speed increases of around 200% to
|
|
300%. It supports both FTP and HTTP protocols, and the theory behind it is
|
|
very simple. The program opens multiple connections to a server, and each of
|
|
the connections downloads a part of the file, thus defeating existing internet
|
|
congestion prevention methods which slow down a single connection based download.
|
|
|
|
%description -l fr
|
|
Ce programme est la version IHM de Prozilla. Il utilise libprozilla et l'IHM
|
|
est créé et géré avec les widgets FLTK (The Fast Light Tool Kit).
|
|
|
|
Prozilla est un accélérateur de téléchargement écris pour Linux pour accélérer
|
|
le processus de téléchargement de fichiers. Il permet en général un gain de
|
|
vitesse d'environ 200 à 300%. Il supporte les protocoles FTP et HTTP, et la
|
|
théorie derrière est très simple: le programme ouvre plusieurs connexions au
|
|
serveur, et chacune télécharge une partie du fichier, ce qui permet de combattre
|
|
les méthodes de prévention des congestions d'internet qui ralentissent les
|
|
téléchargement basés sur une seule connexion.
|
|
|
|
%prep
|
|
rm -rf $RPM_BUILD_ROOT/
|
|
|
|
%setup -n %{name}-%{version}
|
|
CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
|
|
|
|
%build
|
|
make
|
|
|
|
%install
|
|
make prefix=$RPM_BUILD_ROOT%{prefix} install
|
|
|
|
|
|
# Mandrake Menu entry
|
|
mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Internet
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
|
|
|
|
|
|
bzcat %{SOURCE1} > $RPM_BUILD_ROOT/etc/X11/applnk/Internet/%{name}.desktop
|
|
cp src/images/Pz12.xpm $RPM_BUILD_ROOT/usr/share/pixmaps/prozgui.xpm
|
|
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_DIR/*
|
|
|
|
%files
|
|
%{prefix}/bin/prozgui
|
|
%{prefix}/include/prozilla*
|
|
%{prefix}/lib/libprozilla*
|
|
%{prefix}/share/locale/*/*/*
|
|
%{prefix}/man/man1/prozgui*
|
|
%doc COPYING
|
|
%doc ChangeLog
|
|
%doc CREDITS*
|
|
%doc INSTALL
|
|
%doc README
|
|
%doc TODO
|
|
%doc docs/FAQ
|
|
%doc libprozilla/docs/HACKING
|
|
/etc/X11/applnk/Internet/*
|
|
%{prefix}/share/pixmaps/*
|
|
|
|
|
|
%changelog
|
|
* Mon Dec 3 2001 Eric Lassauge <lassauge@mail.dotcom.fr>
|
|
- Added french translation
|
|
* Mon Aug 08 2001 Ralph Slooten <axllent@axllent.cjb.net>
|
|
- RPM created for libprozilla / prozgui
|
|
- Created Mandrake Menu-entries
|