rpms/mozilla-adblockplus/devel mozilla-adblockplus.spec,NONE,1.1
Andreas Thienemann
ixs at fedoraproject.org
Thu Aug 27 13:37:06 UTC 2009
- Previous message (by thread): rpms/kernel/devel patch-2.6.31-rc7-git5.bz2.sign, NONE, 1.1 .cvsignore, 1.1117, 1.1118 kernel.spec, 1.1744, 1.1745 sources, 1.1075, 1.1076 upstream, 1.989, 1.990 linux-2.6-ima-leak.patch, 1.1, NONE patch-2.6.31-rc7-git4.bz2.sign, 1.1, NONE
- Next message (by thread): rpms/selinux-policy/F-11 selinux-policy.spec,1.901,1.902
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ixs
Update of /cvs/pkgs/rpms/mozilla-adblockplus/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3093
Added Files:
mozilla-adblockplus.spec
Log Message:
Initial import
--- NEW FILE mozilla-adblockplus.spec ---
%define firefox_app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
%define src_ext_id \{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d\}
%define inst_dir %{_libdir}/mozilla/extensions/%{firefox_app_id}/%{src_ext_id}
# Do not build a debug package, we have nothing to strip
%define debug_package %{nil}
Name: mozilla-adblockplus
Version: 1.1.1
Release: 1%{?dist}
Summary: Adblocking extension for Mozilla Firefox
Group: Applications/Internet
License: MPLv1.1
URL: http://adblockplus.org/
# Source can be obtained by hg
# hg clone http://hg.mozdev.org/adblockplus/ && cd adblockplus
# If you want a specific release, a list is available with hg tags
#
# hg up -r ADBLOCK_PLUS_1_1_1_RELEASE
# tar cfz adblockplus-1.1.tar.gz adblockplus Packager.pm
Source0: adblockplus-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: zip, perl, sed
# Commented, rpm seems not to be able to handle this anymore
# Requirements are defined as files in order to better cope with changing firefox/mozilla packages
#Requires: %{_libdir}/mozilla/extensions/, %{_libdir}/mozilla/extensions/%{firefox_app_id}/
Requires: firefox
%description
Adblock Plus is a content-filtering extension for the Mozilla Firefox- and
Mozilla Application Suite-based web browsers. Adblock Plus allows users to
prevent page elements, such as advertisements, from being downloaded and
displayed.
It features improvements to the user interface, filter subscriptions, and
element hiding over the original Adblock extesion.
%prep
%setup -q -c
%build
pushd adblockplus
perl create_xpi.pl adblockplus-%{version}-%{release}.xpi
popd
%install
rm -rf %{buildroot}
unzip adblockplus/adblockplus-%{version}-%{release}.xpi
install -D -m 644 chrome.manifest %{buildroot}%{inst_dir}/chrome.manifest
install -D -m 644 install.rdf %{buildroot}%{inst_dir}/install.rdf
install -D -m 644 components/AdblockPlus.js %{buildroot}%{inst_dir}/components/AdblockPlus.js
install -D -m 644 defaults/preferences/adblockplus.js %{buildroot}%{inst_dir}/defaults/preferences/adblockplus.js
install -D -m 644 chrome/adblockplus.jar %{buildroot}%{inst_dir}/chrome/adblockplus.jar
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{inst_dir}
%changelog
* Thu Aug 27 2009 Andreas Thienemann <andreas at bawue.net> - 1.1.1-1
- Updated to 1.1.1 upstream release
* Sun Jul 19 2009 Andreas Thienemann <andreas at bawue.net> - 1.1-1
- Updated to 1.1 upstream release
* Wed Apr 29 2009 Andreas Thienemann <andreas at bawue.net> - 1.0.2-1
- Updated to 1.0.2 upstream release
* Tue Apr 07 2009 Andreas Thienemann <andreas at bawue.net> - 1.0.1-1
- Initial package
- Previous message (by thread): rpms/kernel/devel patch-2.6.31-rc7-git5.bz2.sign, NONE, 1.1 .cvsignore, 1.1117, 1.1118 kernel.spec, 1.1744, 1.1745 sources, 1.1075, 1.1076 upstream, 1.989, 1.990 linux-2.6-ima-leak.patch, 1.1, NONE patch-2.6.31-rc7-git4.bz2.sign, 1.1, NONE
- Next message (by thread): rpms/selinux-policy/F-11 selinux-policy.spec,1.901,1.902
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list