sylpheed.spec.in 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. %define ver @VERSION@
  2. %define rel 1
  3. %define prefix /usr
  4. Name: sylpheed
  5. Version: %{ver}
  6. Release: %{rel}
  7. Source: %{name}-%{ver}.tar.gz
  8. Copyright: GPL
  9. URL: http://sylpheed-claws.sourceforge.net/
  10. Summary: a GTK+ based, lightweight, and fast e-mail client
  11. Requires: gtk+ >= 1.2.6 gpgme
  12. Group: Productivity/Networking/Email/Clients
  13. Packager: Jens Oberender <j.obi@troja.net>
  14. Buildroot: /var/tmp/%{name}-root
  15. %description
  16. Sylpheed is an e-mail client and news reader based on GTK+ running
  17. on the X Window System that aims for * Quick response
  18. * Graceful and sophisticated interface
  19. * Easy configuration, intuitive operation
  20. * Abundant features The appearance and interface are similar to some
  21. popular e-mail clients for Windows, such as Outlook Express,
  22. Becky!, and Datula. The interface is also designed to emulate the
  23. mailers on Emacsen. Almost all commands are accessible with the
  24. keyboard.
  25. The messages are managed by MH format and you can use it together with
  26. another mailer based on MH format (like Mew). You can also utilize
  27. fetchmail, procmail, and external programs on receiving (like inc or
  28. imget).
  29. Authors:
  30. --------
  31. Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>
  32. and others, have a look in AUTHORS
  33. %prep
  34. rm -rf $RPM_BUILD_ROOT
  35. %setup
  36. %build
  37. CFLAGS="$RPM_OPT_FLAGS" ./configure \
  38. --mandir=%{_mandir} \
  39. --prefix=%{prefix} \
  40. --infodir=%{_infodir} \
  41. --sysconfdir=%{_sysconfdir} \
  42. --enable-ldap \
  43. --enable-ipv6 \
  44. --enable-gpgme \
  45. --enable-openssl \
  46. --enable-jpilot \
  47. --enable-aspell
  48. make
  49. %install
  50. [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
  51. make DESTDIR=$RPM_BUILD_ROOT install
  52. # Tools
  53. cp -r tools $RPM_BUILD_ROOT%{prefix}/share/sylpheed
  54. rm $RPM_BUILD_ROOT%{prefix}/share/sylpheed/tools/Makefile*
  55. mv $RPM_BUILD_ROOT%{prefix}/share/sylpheed/tools/README ./README.tools
  56. # fixing permissions
  57. pushd $RPM_BUILD_ROOT%{prefix}/share/sylpheed
  58. find . -name "*.xpm" -o -name ".directory" | xargs chmod 644
  59. popd
  60. %clean
  61. rm -rf $RPM_BUILD_ROOT
  62. %files
  63. %defattr(-,root,root)
  64. %{prefix}/bin/sylpheed
  65. %{prefix}/%{_lib}/sylpheed
  66. %{prefix}/share/sylpheed
  67. %_mandir/man1/sylpheed.1.gz
  68. %doc ABOUT-NLS AUTHORS COPYING ChangeLog ChangeLog.claws ChangeLog.jp README README.claws README.tools README.jp INSTALL TODO TODO.jp
  69. %changelog
  70. * Thu Jul 1 2003 Jens Oberender <j.obi@troja.net>
  71. - updated the filesection
  72. - moved tools to /usr/share/sylpheed
  73. - no windowmanager specific icons and desktop entries
  74. * Sun Nov 10 2002 Jens Oberender <j.obi@troja.net>
  75. - changed spec.in for claws
  76. - shortend the changelog
  77. * Tue Jan 9 2001 Yoichi Imai <yoichi@silver-forest.com>
  78. - edited for spec.in
  79. * Tue Jan 2 2001 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>
  80. - updated to 0.4.51