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