]> git.pld-linux.org Git - SPECS.git/blob - mozilla-firefox-bin-lang-pl.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / mozilla-firefox-bin-lang-pl.spec
1 Summary:        Polish resources for Mozilla-firefox
2 Summary(pl.UTF-8):      Polskie pliki jÄ™zykowe dla Mozilli-firefox
3 Name:           mozilla-firefox-bin-lang-pl
4 Version:        3.6
5 Release:        1
6 License:        GPL
7 Group:          I18n
8 Source0:        http://releases.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/linux-i686/xpi/pl.xpi
9 # Source0-md5:  0a0ded07b7729af9b8e6406121ba2f5c
10 URL:            http://www.firefox.pl/
11 BuildRequires:  unzip
12 Requires(post,postun):  mozilla-firefox-bin >= %{version}
13 Requires(post,postun):  textutils
14 Requires:       mozilla-firefox-bin >= %{version}
15 Provides:       mozilla-firefox-lang-resources = %{version}
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _firefoxdir     %{_libdir}/mozilla-firefox-bin
19 %define         _chromedir      %{_firefoxdir}/chrome
20
21 %description
22 Polish resources for Mozilla-firefox.
23
24 %description -l pl.UTF-8
25 Polskie pliki jÄ™zykowe dla Mozilli-firefox.
26
27 %prep
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT{%{_chromedir},%{_firefoxdir}/defaults/profile}
32
33 unzip %{SOURCE0} -d $RPM_BUILD_ROOT%{_libdir}
34 sed -i -e 's,jar:chrome/,jar:,' $RPM_BUILD_ROOT%{_libdir}/chrome.manifest
35 mv $RPM_BUILD_ROOT%{_libdir}/chrome.manifest $RPM_BUILD_ROOT%{_chromedir}/pl.manifest
36 mv $RPM_BUILD_ROOT%{_libdir}/chrome/pl.jar $RPM_BUILD_ROOT%{_chromedir}
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %{_chromedir}/pl.jar
44 %{_chromedir}/pl.manifest
This page took 0.056784 seconds and 3 git commands to generate.