]> git.pld-linux.org Git - packages/chatzilla.git/blob - chatzilla.spec
- up to 0.9.86.1
[packages/chatzilla.git] / chatzilla.spec
1 Summary:        IRC in Mozilla, aka ChatZilla
2 Summary(pl.UTF-8):      IRC w Mozilli, znany też jako ChatZilla
3 Name:           chatzilla
4 Version:        0.9.86.1
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications/Networking
8 Source0:        http://chatzilla.rdmsoft.com/xulrunner/download/%{name}-%{version}-xr.zip
9 # Source0-md5:  4ba49087521f6c0cb0eb6ca6a4797f72
10 Source1:        %{name}.desktop
11 URL:            http://chatzilla.rdmsoft.com/xulrunner/
12 BuildRequires:  unzip
13 Requires:       xulrunner >= 1.9.0.4
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _appdir %{_datadir}/%{name}
18
19 %description
20 ChatZilla is an IRC client that is written entirely in JavaScript and
21 XUL.
22
23 %description -l pl.UTF-8
24 ChatZilla to klient IRC-a napisany całkowicie w JavaScripcie i XUL-u.
25
26 %prep
27 %setup -qc
28
29 cat <<'EOF' > %{name}.sh
30 #!/bin/sh
31 exec %{_bindir}/xulrunner %{_appdir}/application.ini
32 EOF
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_appdir},%{_desktopdir}}
37
38 install -p %{name}.sh $RPM_BUILD_ROOT%{_bindir}/%{name}
39 cp -p application.ini $RPM_BUILD_ROOT%{_appdir}
40 cp -a chrome components defaults extensions $RPM_BUILD_ROOT%{_appdir}
41 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %attr(755,root,root) %{_bindir}/%{name}
49
50 %dir %{_appdir}
51 %{_appdir}/application.ini
52 %dir %{_appdir}/components
53 %{_appdir}/components/*.js
54 %{_appdir}/chrome
55 %{_appdir}/defaults
56 %dir %{_appdir}/extensions
57 %{_appdir}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
58
59 %{_desktopdir}/chatzilla.desktop
This page took 0.077397 seconds and 3 git commands to generate.