root / sylpheed.spec.in @ 3161
History | View | Annotate | Download (4.8 kB)
| 1 | %define ver @VERSION@ |
|---|---|
| 2 | %define rel %(if [ "${SYLPHEED_REL_DIST}" == "" ] ; then echo "1"; else echo "${SYLPHEED_REL_DIST}"; fi)
|
| 3 | |
| 4 | Summary: a GTK+ based, lightweight, and fast e-mail client |
| 5 | Name: sylpheed |
| 6 | Version: %{ver}
|
| 7 | Release: %{rel}%{?dist}
|
| 8 | Source: http://sylpheed.sraoss.jp/sylpheed/%{name}-%{ver}.tar.gz
|
| 9 | License: GPL |
| 10 | URL: http://sylpheed.sraoss.jp/ |
| 11 | Requires: gtk2 >= 2.4.0 |
| 12 | Group: Applications/Internet |
| 13 | Packager: Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> |
| 14 | Buildroot: %{_tmppath}/%{name}-root
|
| 15 | |
| 16 | %changelog |
| 17 | * Thu Sep 26 2012 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> |
| 18 | - added sylpheed-plugins package. |
| 19 | - added dist to Release. |
| 20 | - fixed plugindir. |
| 21 | |
| 22 | * Thu Sep 13 2012 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> |
| 23 | - fixed build on x86_64 platform. |
| 24 | |
| 25 | * Tue Aug 4 2009 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> |
| 26 | - fixed %files section. |
| 27 | |
| 28 | * Tue May 20 2008 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> |
| 29 | - updated %files section. |
| 30 | |
| 31 | * Thu Feb 10 2006 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> |
| 32 | - changed Requires: package name from gtk+ to gtk2. |
| 33 | |
| 34 | * Tue Jun 7 2005 Paul Dickson <paul@permanentmail.com> |
| 35 | - replaced "Copyright:" with "License:" |
| 36 | - if environmental variable SYLPHEED_REL_DIST is set, assign that to rel (1.FC4,2.FC4, etc) |
| 37 | |
| 38 | * Thu Feb 3 2005 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> |
| 39 | - modified for the latest version |
| 40 | |
| 41 | * Fri Aug 1 2003 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> |
| 42 | - omitted %changelog |
| 43 | - modified %description |
| 44 | |
| 45 | * Thu Jul 31 2003 Andre Costa <acosta@ar.microlink.com.br> |
| 46 | - used more extensively RPM's builtin vars |
| 47 | |
| 48 | * Tue Feb 4 2003 Andre Costa <acosta@ar.microlink.com.br> |
| 49 | - implemented SYLPHEED_CONFIGURE_FLAGS in %build phase |
| 50 | - BuildRoot: is now more portable |
| 51 | - included sylpheed's pixmaps into the package |
| 52 | |
| 53 | * Tue Jan 9 2001 Yoichi Imai <yoichi@silver-forest.com> |
| 54 | - edited for spec.in |
| 55 | |
| 56 | * Fri Dec 1 2000 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> |
| 57 | - updated to 0.4.7, and updated %description |
| 58 | |
| 59 | * Thu Sep 28 2000 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> |
| 60 | - updated to 0.4.1, and modified %files |
| 61 | |
| 62 | * Wed Sep 27 2000 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> |
| 63 | - updated to 0.4.0, and modified %description |
| 64 | |
| 65 | * Tue Sep 26 2000 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> |
| 66 | - updated to 0.3.99, and modified %files |
| 67 | |
| 68 | * Sat Aug 19 2000 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> |
| 69 | - updated to 0.3.26, and modified URL |
| 70 | |
| 71 | * Sun Jul 4 2000 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> |
| 72 | - updated to 0.3.21, and modified Summary |
| 73 | |
| 74 | * Sun Jun 11 2000 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> |
| 75 | - updated to 0.3.15 and modified description and doc |
| 76 | |
| 77 | * Sun Jun 4 2000 Yoichi Imai <yoichi@silver-forest.com> |
| 78 | - some change |
| 79 | |
| 80 | * Sat Apr 29 2000 Yoichi Imai <yoichi@silver-forest.com> |
| 81 | - gnome-menu and requires header change |
| 82 | |
| 83 | * Wed Feb 5 2000 Yoichi Imai <yoichi@silver-forest.com> |
| 84 | - append "TODO.jp" |
| 85 | |
| 86 | * Sat Jan 1 2000 Yoichi Imai <yoichi@silver-forest.com> |
| 87 | - first release for version 0.1.0 |
| 88 | |
| 89 | %description |
| 90 | Sylpheed is an e-mail client (and news reader) based on GTK+, running on |
| 91 | X Window System, and aiming for |
| 92 | * Quick response |
| 93 | * Simple, graceful, and well-polished interface |
| 94 | * Easy configuration |
| 95 | * Intuitive operation |
| 96 | * Abundant features |
| 97 | The appearance and interface are similar to some popular e-mail clients for |
| 98 | Windows, such as Outlook Express, Becky!, and Datula. The interface is also |
| 99 | designed to emulate the mailers on Emacsen, and almost all commands are |
| 100 | accessible with the keyboard. |
| 101 | |
| 102 | The messages are managed by MH format, and you'll be able to use it together |
| 103 | with another mailer based on MH format (like Mew). You can also utilize |
| 104 | fetchmail or/and procmail, and external programs on receiving (like inc or |
| 105 | imget). |
| 106 | |
| 107 | %package plugins |
| 108 | Summary: standard plug-ins for Sylpheed |
| 109 | Group: Applications/Internet |
| 110 | Requires: %{name} = %{version}-%{release}
|
| 111 | |
| 112 | %description plugins |
| 113 | The %{name}-plugins package contains standard plug-ins for Sylpheed.
|
| 114 | |
| 115 | %prep |
| 116 | %setup -q |
| 117 | |
| 118 | %build |
| 119 | export CFLAGS="$CFLAGS $RPM_OPT_FLAGS" |
| 120 | %{configure} --with-plugindir=%{_libdir}/sylpheed/plugins ${SYLPHEED_CONFIGURE_FLAGS}
|
| 121 | %{__make}
|
| 122 | |
| 123 | %install |
| 124 | %makeinstall |
| 125 | mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps
|
| 126 | install -m 644 *.png ${RPM_BUILD_ROOT}%{_datadir}/pixmaps
|
| 127 | |
| 128 | (cd plugin/attachment_tool && %{__make} prefix=${RPM_BUILD_ROOT}%{prefix} libdir=${RPM_BUILD_ROOT}%{_libdir}/sylpheed/plugins install-plugin)
|
| 129 | cp plugin/attachment_tool/README README.attachment_tool |
| 130 | |
| 131 | %clean |
| 132 | rm -rf ${RPM_BUILD_ROOT}
|
| 133 | |
| 134 | %post |
| 135 | /sbin/ldconfig |
| 136 | |
| 137 | %postun |
| 138 | /sbin/ldconfig |
| 139 | |
| 140 | %files |
| 141 | %defattr(-,root,root) |
| 142 | %doc AUTHORS COPYING COPYING.LIB ChangeLog ChangeLog.ja ChangeLog-1.0 ChangeLog-1.0.ja README README.es README.ja INSTALL INSTALL.ja NEWS NEWS-1.0 NEWS-2.0 LICENSE TODO TODO.ja |
| 143 | %{_bindir}/%{name}
|
| 144 | %{_includedir}/%{name}
|
| 145 | %{_libdir}/*.la
|
| 146 | %{_libdir}/*.so
|
| 147 | %{_libdir}/*.so.*
|
| 148 | %{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
|
| 149 | %{_datadir}/%{name}/faq/*/*
|
| 150 | %{_datadir}/%{name}/manual/*/*
|
| 151 | %{_datadir}/pixmaps/*.png
|
| 152 | %{_datadir}/applications/sylpheed.desktop
|
| 153 | |
| 154 | %files plugins |
| 155 | %defattr(-,root,root) |
| 156 | %doc README.attachment_tool |
| 157 | %{_libdir}/sylpheed/plugins/*
|