Author: hawk                         Date: Sun Feb 18 21:16:22 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Adblock Plus can't be installed in SeaMonkey w/o root privileges, so lets
  package it for SeaMonkey

---- Files affected:
SPECS:
   seamonkey-addon-adblockplus.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/seamonkey-addon-adblockplus.spec
diff -u /dev/null SPECS/seamonkey-addon-adblockplus.spec:1.1
--- /dev/null   Sun Feb 18 22:16:22 2007
+++ SPECS/seamonkey-addon-adblockplus.spec      Sun Feb 18 22:16:17 2007
@@ -0,0 +1,78 @@
+# $Revision$, $Date$
+Summary:       Extension for blocking unwanted ads, banners etc.
+Summary(pl):   Rozszerzenie do blokowania niechcianych reklam, banner�w itp.
+%define                _realname       adblock_plus
+Name:          seamonkey-addon-adblockplus
+Version:       0.7.2.4
+Release:       1
+Epoch:         1
+License:       unknown
+Group:         X11/Applications/Networking
+Source0:       
http://releases.mozilla.org/pub/mozilla.org/extensions/%{_realname}/%{_realname}-%{version}-fx+fl+zm+tb.xpi
+# Source0-md5: bb01339af68b393f8039e4ad0f813a5e
+Source1:       adblockplus-installed-chrome.txt
+URL:           http://adblockplus.org/
+BuildRequires: unzip
+Requires(post,postun): seamonkey >= 1.0
+Requires:      seamonkey >= 1.0
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Ever been annoyed by all those ads and banners on the internet that
+often take longer to download than everything else on the page?
+Adblock Plus will help you to get rid of them. Right-click on a banner
+and choose "Adblock" from the context menu - the banner won't be
+downloaded again. Or open Adblock Plus sidebar to see all elements of
+the page and block the banners. You can use filters with wildcards or
+even regular expressions to block complete banner factories.
+
+%description -l pl
+Czy denerwuj� Ci� te wszystkie reklamy i bannery, kt�rych za�adowanie
+cz�sto trwa d�u�ej ni� wczytanie w�a�ciwej tre�ci strony? Adblock Plus
+pomo�e Ci si� ich pozby�. Kliknij prawym przyciskiem myszki na
+bannerze i wybierz "Adblock" z menu kontekstowego - banner ju� wi�cej
+si� nie wy�wietli. Mo�esz te� otworzy� panel Adblock Plus aby zobaczy�
+list� wszystkich element�w strony i zablokowa� bannery. Mo�liwe
+r�wnie� jest tworzenie filtr�w u�ywaj�cych masek lub nawet wyra�e�
+regularnych aby umo�liwi� blokowanie ca�ych serwis�w reklamowych.
+
+%prep
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/seamonkey
+install -d $RPM_BUILD_ROOT%{_libdir}/seamonkey
+
+unzip %{SOURCE0} -d $RPM_BUILD_ROOT
+install %{SOURCE1} $RPM_BUILD_ROOT/chrome
+mv $RPM_BUILD_ROOT/defaults/preferences $RPM_BUILD_ROOT/defaults/pref
+mv $RPM_BUILD_ROOT/{chrome,defaults} $RPM_BUILD_ROOT%{_datadir}/seamonkey
+mv $RPM_BUILD_ROOT/components $RPM_BUILD_ROOT%{_libdir}/seamonkey
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{_sbindir}/seamonkey-chrome+xpcom-generate
+
+%postun
+%{_sbindir}/seamonkey-chrome+xpcom-generate
+
+%files
+%defattr(644,root,root,755)
+%{_datadir}/seamonkey/chrome/adblockplus.jar
+%{_datadir}/seamonkey/chrome/adblockplus-installed-chrome.txt
+%{_datadir}/seamonkey/defaults/pref/adblockplus.js
+%{_libdir}/seamonkey/components/nsAdblockPlus.*
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/02/18 21:16:17  hawk
+- Adblock Plus can't be installed in SeaMonkey w/o root privileges, so lets
+  package it for SeaMonkey
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to