Search
j0ke.net Open Build Service
>
Projects
>
mozilla
>
seamonkey-de-AT
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 4
[-]
[+]
Added
seamonkey-de-AT.spec
@@ -0,0 +1,91 @@ +# +# spec file for package seamonkey-de-AT (Version 1.1.8) +# +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: seamonkey-de-AT +BuildRequires: seamonkey unzip +License: Other License(s), see package, MPL +Group: Productivity/Networking/Web/Browsers +Version: 1.1.8 +Release: 1 +Source0: seamonkey-%{version}.de-AT.langpack.xpi +Source1: seamonkey-deat-chrome +Source2: locale-deat +PreReq: seamonkey >= %{version}, seamonkey < 1.2 +URL: http://mozilla.kairo.at/ +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Summary: German(Austria) language pack for Mozilla +Provides: locale(seamonkey:de) + +%description +This package adds German translations and the de_AT region to Mozilla. + +Authors: +-------- + Robert Kaiser <KaiRo@KaiRo.at> + +%define prefix %{_libdir}/seamonkey +%prep +cd %{_builddir} +mkdir -p langdeat +cd langdeat +unzip -o %{SOURCE0} +cd .. + +%build + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{prefix} +cp -a %{_builddir}/langdeat/chrome %{buildroot}%{prefix} +cp -a %{_builddir}/langdeat/defaults %{buildroot}%{prefix} +cp -R %{_builddir}/langdeat/searchplugins %{buildroot}%{prefix} +mkdir -p %{buildroot}%{prefix}/installed-chrome.d/locales +cp %{SOURCE1} %{buildroot}%{prefix}/installed-chrome.d/seamonkey-deat +cp %{SOURCE2} %{buildroot}%{prefix}/installed-chrome.d/locales/deat + +%pre +%{_libdir}/seamonkey/rebuild-databases.sh --pre + +%post +%{_libdir}/seamonkey/rebuild-databases.sh --post + +%preun +[ -e %{_libdir}/seamonkey/rebuild-databases.sh ] && \ + %{_libdir}/seamonkey/rebuild-databases.sh --pre || : + +%postun +[ -e %{_libdir}/seamonkey/rebuild-databases.sh ] && \ + %{_libdir}/seamonkey/rebuild-databases.sh --post || : + +%clean +rm -rf %{buildroot} + +%files +%defattr(644, root, root,755) +%dir %{prefix}/defaults/profile/AT +%dir %{prefix}/defaults/profile/AT/chrome +%dir %{prefix}/defaults/messenger/ +%dir %{prefix}/defaults/messenger/AT/ +%{prefix}/chrome/AT.jar +%exclude %{prefix}/chrome/de-win.jar +%{prefix}/chrome/de-unix.jar +%exclude %{prefix}/chrome/de-mac.jar +%{prefix}/chrome/de-AT.jar +%{prefix}/defaults/profile/AT/*.* +%{prefix}/defaults/profile/AT/chrome/*.* +%{prefix}/defaults/messenger/AT/mailViews.dat +%{prefix}/searchplugins/atgoogle.* +%{prefix}/searchplugins/degoogle.* +%{prefix}/searchplugins/chgoogle.* +%exclude %{prefix}/searchplugins/dmoz.* +%{prefix}/installed-chrome.d/seamonkey-deat +%{prefix}/installed-chrome.d/locales/deat