Name : thunderbird Version : 0.9 Release : 0.FC1 License : MPL/LGPL Summary : Mozilla Thunderbird mail client Group : Applications/Internet URL : http://www.mozilla.org/products/thunderbird/ Vendor : The Mozilla Organization Packager : Thomas Chung BuildRoot : %{_tmppath}/%{name}-%{version}-buildroot Source0 : thunderbird-0.9-i686-linux-gtk2+xft.tar.gz Source1 : thunderbird.desktop Source2 : thunderbird.png AutoReq : No AutoProv : No %description Thunderbird is a free, open-source and cross-platform mail client based on the Mozilla codebase. It is a robust and easy to use client, similar to competing products like Outlook Express, but with some major advantages such as junk mail classification. %prep rm -rf %{buildroot} ####################################################################### # setup macro # -a num : Only unpack source number after changing to the directory # -b num : Only unpack source number before changing to the directory # -c : Create directory before unpacking. # -D : Do not delete the directory before unpacking # -n name : Name the directory as name # -q : Run quiety with minimum output # -T : Disable the automatic unpacking of the archives. ####################################################################### %setup -c -q ######################################################### # Common Red Hat RPM macros (rpm --showrc for more info) # {_sourcedir} : /usr/src/redhat/SOURCES # {_builddir} : /usr/src/redhat/BUILD # {_tmppath} : /var/tmp # {_libdir} : /usr/lib # {_bindir} : /usr/bin # {_datadir} : /usr/share # {_mandir} : /usr/share/man # {_docdir} : /usr/share/doc # {buildroot} # {name} # {version} # {release} ######################################################### %install mkdir -p %{buildroot}%{_libdir} cp -a %{name} %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_datadir}/{applications,pixmaps} cp -a %{SOURCE1} %{buildroot}%{_datadir}/applications cp -a %{SOURCE2} %{buildroot}%{_datadir}/pixmaps mkdir -p %{buildroot}%{_bindir} ln -s %{_libdir}/%{name}/thunderbird %{buildroot}%{_bindir}/thunderbird ln -s %{_libdir}/%{name}/thunderbird-bin %{buildroot}%{_bindir}/thunderbird-bin %clean rm -rf %{buildroot} %files ##################################################### # defattr sets the default attributes for all files ##################################################### %defattr(-, root, root) %{_libdir}/%{name} %{_datadir}/applications/thunderbird.desktop %{_datadir}/pixmaps/thunderbird.png %{_bindir}/thunderbird %{_bindir}/thunderbird-bin %changelog * Thu Nov 04 2004 Thomas Chung 0.9-0.FC1 - Rebuild for version 0.9 * Tue Sep 14 2004 Thomas Chung 0.8-0.FC1 - Rebuild for verison 0.8 * Thu Aug 26 2004 Thomas Chung 0.7.3-0.FC1 - Rebuild for FC1