Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37574635
en ru br
ALT Linux repos
S:7.6.6-alt1
5.0: 3.5.1-alt1

Group :: Networking/WWW
RPM: firefox-video_downloadhelper

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# SPEC file for Video DownloadHelper Firefox extension

%define rname video_downloadhelper
%define version 3.5.1
%define release alt1
%define cid \{b9db16a4-6edc-47ec-a1f4-b86292ed211d\}
%define ciddir %firefox_noarch_extensionsdir/%cid

Name: %firefox_name-%rname
Version: %version
Release: %release

Summary: Video DownloadHelper plugin for Firefox
Summary(ru_RU.UTF-8): расширение Video DownloadHelper для Firefox

License: %mpl 1.1
Group: Networking/WWW
URL: http://www.downloadhelper.net/
#URL: https://addons.mozilla.org/ru/firefox/addon/3006
BuildArch:      noarch

Source0: %rname.xpi
Packager: Nikolay A. Fetisov <naf at altlinux.ru>

BuildRequires(pre): rpm-build-firefox rpm-build-licenses
BuildRequires: unzip
Requires: %firefox_name >= 2.0  %firefox_name < 3.1

%description
Video DownloadHelper is a tool for web content extraction.
Its purpose is to capture video and image files from many
sites.

%description -l ru_RU.UTF-8
Расширение  Video DownloadGHelper для Firefox  предназначено
для сохранения медиа-файлов (видео- и изображений) с страниц
многих сайтов.

%prep
%setup -c

# RPM call unzip with -Lq keys, effectivly kills all mixed-case filenames in archive

rm -rf -- ./*
unzip -q %SOURCE0

%install
mkdir -p -- %buildroot/%ciddir
cp -r -- * %buildroot/%ciddir

%post
%firefox_install_extension %ciddir
if [ "$1" = 0 ]; then
 [ ! -d "%ciddir" ] || rm -rf "%ciddir"
fi
 
%postun
%firefox_uninstall_extension %cid
if [ "$1" = 0 ]; then
 [ ! -d "%ciddir" ] || rm -rf "%ciddir"
fi

%files
%ciddir

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin