prozgui/prozgui.spec

96 lines
2.9 KiB
RPMSpec
Raw Normal View History

2010-08-31 16:20:51 +02:00
%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<EFBFBD>l<EFBFBD>chargement avanc<EFBFBD> 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<EFBFBD><EFBFBD> et g<EFBFBD>r<EFBFBD> avec les widgets FLTK (The Fast Light Tool Kit).
Prozilla est un acc<EFBFBD>l<EFBFBD>rateur de t<EFBFBD>l<EFBFBD>chargement <EFBFBD>cris pour Linux pour acc<EFBFBD>l<EFBFBD>rer
le processus de t<EFBFBD>l<EFBFBD>chargement de fichiers. Il permet en g<EFBFBD>n<EFBFBD>ral un gain de
vitesse d'environ 200 <EFBFBD> 300%. Il supporte les protocoles FTP et HTTP, et la
th<EFBFBD>orie derri<EFBFBD>re est tr<EFBFBD>s simple: le programme ouvre plusieurs connexions au
serveur, et chacune t<EFBFBD>l<EFBFBD>charge une partie du fichier, ce qui permet de combattre
les m<EFBFBD>thodes de pr<EFBFBD>vention des congestions d'internet qui ralentissent les
t<EFBFBD>l<EFBFBD>chargement bas<EFBFBD>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