Author: spider                       Date: Fri Apr 21 11:59:58 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init

---- Files affected:
SPECS:
   mozilla-firefox-lang-da.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/mozilla-firefox-lang-da.spec
diff -u /dev/null SPECS/mozilla-firefox-lang-da.spec:1.1
--- /dev/null   Fri Apr 21 13:59:58 2006
+++ SPECS/mozilla-firefox-lang-da.spec  Fri Apr 21 13:59:53 2006
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+
+%define         _lang          da
+
+Summary:       Danish resources for Mozilla-firefox
+Summary(pl):   Duńskie pliki językowe dla Mozilli-firefox
+Name:          mozilla-firefox-lang-%{_lang}
+Version:       1.5.0.2
+Release:       1
+License:       GPL
+Group:         X11/Applications/Networking
+Source0:       
http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/linux-i686/xpi/%{_lang}.xpi
+# Source0-md5: 225a6f12faa4c1429a20bd16125139ce
+URL:           http://www.mozilla.org/
+BuildRequires: unzip
+Requires(post,postun): mozilla-firefox >= %{version}
+Requires(post,postun): textutils
+Requires:      mozilla-firefox >= %{version}
+Provides:      mozilla-firefox-lang-resources = %{version}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _firefoxdir     %{_libdir}/mozilla-firefox
+%define                _chromedir      %{_firefoxdir}/chrome
+
+%description
+Danish resources for Mozilla-firefox.
+
+%description -l pl
+Duńskie pliki językowe dla Mozilli-firefox.
+
+%prep
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d 
$RPM_BUILD_ROOT{%{_bindir},%{_chromedir},%{_firefoxdir}/defaults/profile}
+
+unzip %{SOURCE0} -d $RPM_BUILD_ROOT%{_libdir}
+mv -f $RPM_BUILD_ROOT%{_libdir}/chrome/* $RPM_BUILD_ROOT%{_chromedir}
+sed -e '[EMAIL PROTECTED]/[EMAIL PROTECTED]@' 
$RPM_BUILD_ROOT%{_libdir}/chrome.manifest \
+       > $RPM_BUILD_ROOT%{_chromedir}/%{_lang}.manifest
+mv -f $RPM_BUILD_ROOT%{_libdir}/*.rdf 
$RPM_BUILD_ROOT%{_firefoxdir}/defaults/profile
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_chromedir}/%{_lang}.jar
+%{_chromedir}/%{_lang}.manifest
+# file conflict:
+#%{_firefoxdir}/defaults/profile/*.rdf
+
+%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  2006/04/21 11:59:53  spider
+- init
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to