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