2003-07-01 [jens]
[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 # fixing permissions
68 pushd $RPM_BUILD_ROOT%{prefix}/share/sylpheed
69 find . -name "*.xpm" -o -name ".directory" | xargs chmod 644
70 popd
71
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(-,root,root)
78 %{prefix}/bin/sylpheed
79 %{prefix}/%{_lib}/sylpheed
80 %{prefix}/share/sylpheed
81 %_mandir/man1/sylpheed.1.gz
82 %doc ABOUT-NLS AUTHORS COPYING ChangeLog ChangeLog.claws ChangeLog.jp README README.claws README.jp INSTALL TODO TODO.jp
83
84 %changelog
85 * Thu Jul 1 2003 Jens Oberender <j.obi@troja.net>
86 - updated the filesection
87 - moved tools to /usr/share/sylpheed
88 - no windowmanager specific icons and desktop entries
89
90 * Sun Nov 10 2002 Jens Oberender <j.obi@troja.net>
91 - changed spec.in for claws
92 - shortend the changelog
93
94 * Tue Jan 9 2001 Yoichi Imai <yoichi@silver-forest.com>
95 - edited for spec.in
96
97 * Tue Jan 2 2001 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>
98 - updated to 0.4.51