sylpheed.spec.in 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. %clean
  57. rm -rf $RPM_BUILD_ROOT
  58. %files
  59. %defattr(-,root,root)
  60. %{prefix}/bin/sylpheed
  61. %{prefix}/%{_lib}/sylpheed
  62. %{prefix}/share/sylpheed
  63. %_mandir/man1/sylpheed.1.gz
  64. %doc ABOUT-NLS AUTHORS COPYING ChangeLog ChangeLog.claws ChangeLog.jp README README.claws README.tools README.jp INSTALL TODO TODO.jp
  65. %changelog
  66. * Thu Jul 1 2003 Jens Oberender <j.obi@troja.net>
  67. - updated the filesection
  68. - moved tools to /usr/share/sylpheed
  69. - no windowmanager specific icons and desktop entries
  70. * Sun Nov 10 2002 Jens Oberender <j.obi@troja.net>
  71. - changed spec.in for claws
  72. - shortend the changelog
  73. * Tue Jan 9 2001 Yoichi Imai <yoichi@silver-forest.com>
  74. - edited for spec.in
  75. * Tue Jan 2 2001 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>
  76. - updated to 0.4.51