Group :: Rede/WWW
RPM: firefox-flashblock
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# SPEC file for FlashBlock extension
%define rname flashblock
%define version 1.5.5
%define release alt1
%define cid \{3d7eb24f-2740-49df-8937-200b1cc08f8a\}
%define ciddir %firefox_noarch_extensionsdir/%cid
Name: %firefox_name-%rname
Version: %version
Release: %release
Summary: FlashBlock plugin for Firefox
Summary(ru_RU.UTF-8): расширение FlashBlock для Firefox
License: MPL v1.1 / GPL v2.0 / LGPL v2.1
Group: Networking/WWW
URL: http://flashblock.mozdev.org/
BuildArch: noarch
Source0: %rname-%version.xpi
Packager: Nikolay A. Fetisov <naf at altlinux.ru>
BuildRequires(pre): rpm-build-firefox
BuildRequires: unzip
Requires: %firefox_name >= 2.0 %firefox_name < 2.1
%description
FlashBlock is an extension for the Mozilla, Firefox, and Netscape
browsers that takes a pessimistic approach to dealing with
Macromedia Flash content on a webpage and blocks ALL Flash content
from loading. It then leaves placeholders on the webpage that
allow you to click to download and then view the Flash content.
%description -l ru_RU.UTF-8
FlashBlock - расширение для браузеров семейства Mozilla-Firefox,
предназначенное для блокирования загрузки всех расположенных на
странице объектов Flash. Вместо роликов Flash на страницу
вставляются ссылки, позволяющие загрузить и просмотреть их.
%prep
%setup -c
%install
mkdir -p -- %buildroot/%ciddir
cp -r -- * %buildroot/%ciddir
%postun
%firefox_uninstall_extension %cid
if [ "$1" = 0 ]; then
[ ! -d "%ciddir" ] || rm -rf "%ciddir"
fi
%files
%ciddir
%changelog
…
Todas as alterações você pod ver aqui
%define rname flashblock
%define version 1.5.5
%define release alt1
%define cid \{3d7eb24f-2740-49df-8937-200b1cc08f8a\}
%define ciddir %firefox_noarch_extensionsdir/%cid
Name: %firefox_name-%rname
Version: %version
Release: %release
Summary: FlashBlock plugin for Firefox
Summary(ru_RU.UTF-8): расширение FlashBlock для Firefox
License: MPL v1.1 / GPL v2.0 / LGPL v2.1
Group: Networking/WWW
URL: http://flashblock.mozdev.org/
BuildArch: noarch
Source0: %rname-%version.xpi
Packager: Nikolay A. Fetisov <naf at altlinux.ru>
BuildRequires(pre): rpm-build-firefox
BuildRequires: unzip
Requires: %firefox_name >= 2.0 %firefox_name < 2.1
%description
FlashBlock is an extension for the Mozilla, Firefox, and Netscape
browsers that takes a pessimistic approach to dealing with
Macromedia Flash content on a webpage and blocks ALL Flash content
from loading. It then leaves placeholders on the webpage that
allow you to click to download and then view the Flash content.
%description -l ru_RU.UTF-8
FlashBlock - расширение для браузеров семейства Mozilla-Firefox,
предназначенное для блокирования загрузки всех расположенных на
странице объектов Flash. Вместо роликов Flash на страницу
вставляются ссылки, позволяющие загрузить и просмотреть их.
%prep
%setup -c
%install
mkdir -p -- %buildroot/%ciddir
cp -r -- * %buildroot/%ciddir
%postun
%firefox_uninstall_extension %cid
if [ "$1" = 0 ]; then
[ ! -d "%ciddir" ] || rm -rf "%ciddir"
fi
%files
%ciddir
%changelog
…
Todas as alterações você pod ver aqui