]>
Commit | Line | Data |
---|---|---|
a76f30bb | 1 | # |
2 | # TODO: directories | |
3 | # | |
4 | Summary: Mozilla Thunderbird - email client | |
23029c82 | 5 | Summary(pl.UTF-8): Mozilla Thunderbird - klient poczty |
a76f30bb | 6 | Name: mozilla-thunderbird-bin |
7 | Version: 0.8 | |
8 | Release: 0.9 | |
9 | License: MPL/LGPL | |
6c6db749 | 10 | Group: X11/Applications/Networking |
a76f30bb | 11 | Source0: http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/thunderbird-%{version}-i686-linux-gtk2+xft.tar.gz |
12 | # Source0-md5: 16ca6cf7b4763aa684eea26cc8b93621 | |
a76f30bb | 13 | Source1: %{name}.desktop |
14 | Source2: %{name}.sh | |
15 | URL: http://www.mozilla.org/projects/thunderbird/ | |
16 | Requires: gtk+2 | |
17 | Requires: freetype >= 2.1.3 | |
18 | Requires: freetype < 1:2.1.8 | |
19 | Conflicts: freetype = 2.1.8 | |
20 | Requires: ORBit2 | |
21 | Requires: libgnome | |
22 | ExclusiveArch: i686 athlon | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %define _thunderbirddir %{_libdir}/%{name} | |
26 | ||
27 | # mozilla and firefox/thunderbird provide their own versions | |
28 | %define _noautoreq libnspr4.so libplc4.so libplds4.so liblinc.so.1 | |
29 | %define _noautoreqdep libgkgfx.so libgtkembedmoz.so libgtkxtbin.so libjsj.so libmozjs.so libxpcom.so libxpcom_compat.so libnspr4.so | |
30 | %define _noautoprovfiles libnspr4.so libplc4.so libplds4.so | |
31 | ||
32 | %description | |
6c6db749 | 33 | Mozilla Thunderbird is an open-source, fast and portable email client. |
34 | Binary version from %{url}. | |
a76f30bb | 35 | |
23029c82 JR |
36 | %description -l pl.UTF-8 |
37 | Mozilla Thunderbird jest open sourcowym, szybkim i przenośnym klientem | |
6c6db749 | 38 | poczty. |
39 | Wersja binarna, ze strony %{url}. | |
a76f30bb | 40 | |
41 | %prep | |
42 | %setup -q -n thunderbird | |
43 | ||
44 | %build | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_pixmapsdir},%{_desktopdir}} | |
49 | install -d $RPM_BUILD_ROOT%{_thunderbirddir} | |
50 | install -d $RPM_BUILD_ROOT%{_thunderbirddir}/plugins | |
51 | ||
52 | install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/mozilla-thunderbird-bin | |
53 | cp -afp . $RPM_BUILD_ROOT%{_thunderbirddir} | |
54 | install icons/mozicon50.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/mozilla-thunderbird-bin.xpm | |
55 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/mozilla-thunderbird-bin.desktop | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
62 | %attr(755,root,root) %{_bindir}/mozilla-thunderbird-bin | |
63 | %dir %{_thunderbirddir} | |
64 | %{_thunderbirddir}/res | |
65 | %dir %{_thunderbirddir}/components | |
66 | %attr(755,root,root) %{_thunderbirddir}/components/*.so | |
67 | %{_thunderbirddir}/components/*.js | |
68 | %{_thunderbirddir}/components/*.xpt | |
69 | %{_thunderbirddir}/components/xpti.dat | |
70 | %dir %{_thunderbirddir}/components/talkback | |
71 | %{_thunderbirddir}/components/talkback/*.ad | |
72 | %{_thunderbirddir}/components/talkback/*.ini | |
73 | %attr(755,root,root) %{_thunderbirddir}/components/talkback/*.so | |
74 | %attr(755,root,root) %{_thunderbirddir}/components/talkback/talkback | |
75 | %dir %{_thunderbirddir}/components/myspell | |
76 | %{_thunderbirddir}/components/myspell/* | |
77 | %{_thunderbirddir}/defaults | |
78 | %{_thunderbirddir}/greprefs | |
79 | %{_thunderbirddir}/icons | |
80 | %{_thunderbirddir}/plugins | |
81 | %attr(755,root,root) %{_thunderbirddir}/*.so | |
82 | %{_thunderbirddir}/*.chk | |
83 | %attr(755,root,root) %{_thunderbirddir}/*.sh | |
84 | %attr(755,root,root) %{_thunderbirddir}/*-bin | |
85 | %attr(755,root,root) %{_thunderbirddir}/mozilla-xremote-client | |
86 | %attr(755,root,root) %{_thunderbirddir}/thunderbird | |
87 | %{_thunderbirddir}/*.txt | |
88 | %{_thunderbirddir}/x* | |
89 | %{_thunderbirddir}/components.ini | |
90 | %dir %{_thunderbirddir}/chrome | |
91 | %{_thunderbirddir}/chrome/en-unix.jar | |
92 | %{_thunderbirddir}/chrome/en-US-mail.jar | |
93 | %{_thunderbirddir}/chrome/mail.jar | |
94 | %{_thunderbirddir}/chrome/help.jar | |
95 | %{_thunderbirddir}/chrome/qute.jar | |
96 | %{_thunderbirddir}/chrome/newsblog.jar | |
97 | %{_thunderbirddir}/chrome/chrome.rdf | |
98 | %{_thunderbirddir}/chrome/icons | |
99 | %{_thunderbirddir}/chrome/offline.jar | |
100 | %{_thunderbirddir}/chrome/*.txt | |
101 | %{_pixmapsdir}/* | |
3a194dcf | 102 | %{_desktopdir}/*.desktop |
a76f30bb | 103 | %dir %{_thunderbirddir}/init.d |
104 | %{_thunderbirddir}/init.d/* | |
105 | %dir %{_thunderbirddir}/extensions | |
106 | %{_thunderbirddir}/extensions/* |