SPECS: mozilla-firefox.spec - merged addon-tidy from AC-branch, ad...

qboosh qboosh at pld-linux.org
Tue Jun 5 08:24:59 CEST 2007


Author: qboosh                       Date: Tue Jun  5 06:24:59 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- merged addon-tidy from AC-branch, added pl

---- Files affected:
SPECS:
   mozilla-firefox.spec (1.200 -> 1.201) 

---- Diffs:

================================================================
Index: SPECS/mozilla-firefox.spec
diff -u SPECS/mozilla-firefox.spec:1.200 SPECS/mozilla-firefox.spec:1.201
--- SPECS/mozilla-firefox.spec:1.200	Mon Jun  4 23:32:14 2007
+++ SPECS/mozilla-firefox.spec	Tue Jun  5 08:24:53 2007
@@ -8,10 +8,10 @@
 # Conditional build:
 %bcond_with	tests	# enable tests (whatever they check)
 %bcond_without	gnome	# disable all GNOME components (gnomevfs, gnome, gnomeui)
-%bcond_with	tidy	# enable htmlvalidator extension (tidy)
+%bcond_without	tidy	# disable htmlvalidator extension (tidy)
 #
-%define		_tidy_ver		0.839
-%define		_firefox_ver	2.0.0.4
+%define		tidy_ver	0.8.3.9
+%define		firefox_ver	2.0.0.4
 #
 Summary:	Firefox Community Edition web browser
 Summary(pl.UTF-8):	Firefox Community Edition - przeglądarka WWW
@@ -117,6 +117,24 @@
 %description lang-en -l pl.UTF-8
 Anglojęzyczne zasoby dla przeglądarki Firefox Community Edition.
 
+%package addon-tidy
+Summary:	HTML Validator for Firefox
+Summary(pl.UTF-8):	Narzędzie do sprawdzania poprawności HTML-a dla Firefoksa
+Version:	%{tidy_ver}
+License:	GPL
+Group:		X11/Applications/Networking
+Requires:	%{name} = %{firefox_ver}-%{release}
+
+%description addon-tidy
+HTML Validator is a Mozilla extension that adds HTML validation inside
+Firefox. The number of errors of a HTML page is seen on the form of an
+icon in the status bar when browsing.
+
+%description addon-tidy -l pl.UTF-8
+HTML Validator to rozszerzenie Mozilli dodające sprawdzanie
+poprawności HTML-a w Firefoksie. Liczbę błędów na przeglądanej stronie
+HTML można zobaczyć w postaci ikony na pasku stanu.
+
 %prep
 %setup -qc %{?with_tidy:-a1}
 %if %{with tidy}
@@ -262,6 +280,7 @@
 
 # what's this? it's content is invalid anyway.
 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/dependentlibs.list
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/old-homepage-default.properties
 
 cat << 'EOF' > $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate
 #!/bin/sh
@@ -603,12 +622,23 @@
 %{_datadir}/%{name}/chrome/en-US.jar
 %{_datadir}/%{name}/chrome/en-US.manifest
 
+%if %{with tidy}
+%files addon-tidy
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/components/libnstidy.so
+%attr(755,root,root) %{_libdir}/%{name}/components/libtodel.so
+%{_libdir}/%{name}/components/nstidy.xpt
+%endif
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.201  2007/06/05 06:24:53  qboosh
+- merged addon-tidy from AC-branch, added pl
+
 Revision 1.200  2007/06/04 21:32:14  qboosh
 - removed duplicate
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mozilla-firefox.spec?r1=1.200&r2=1.201&f=u



More information about the pld-cvs-commit mailing list