revert commit 0.8.10claws92
[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 on
20 X Window System, and aiming for
21  * Quick response
22  * Graceful, and sophisticated interface
23  * Easy configuration, intuitive operation
24  * Abundant features
25 The appearance and interface are similar to some popular e-mail clients for
26 Windows, such as Outlook Express, Becky!, and Datula. The interface is also
27 designed to emulate the mailers on Emacsen, and almost all commands are
28 accessible with the keyboard.
29
30 The messages are managed by MH format, and you'll be able to use it together
31 with another mailer based on MH format (like Mew). You can also utilize
32 fetchmail or/and procmail, and external programs on receiving (like inc or
33 imget).
34
35 Authors:
36 --------
37     Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>
38     and others, have a look in AUTHORS
39
40 %prep
41 rm -rf $RPM_BUILD_ROOT
42
43 %setup
44
45 %build
46 %ifarch ppc64
47 export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc"
48 %endif
49 CFLAGS="$RPM_OPT_FLAGS" ./configure \
50                 --mandir=%{_mandir} \
51                 --prefix=%{prefix} \
52                 --infodir=%{_infodir} \
53                 --sysconfdir=%{_sysconfdir} \
54                 --enable-ldap \
55                 --enable-ipv6 \
56                 --enable-gpgme \
57                 --enable-openssl \
58                 --enable-jpilot \
59                 --enable-aspell
60 make
61
62 %install
63 [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
64 make DESTDIR=${RPM_BUILD_ROOT} install
65
66 %clean
67 rm -rf ${RPM_BUILD_ROOT}
68
69 %files
70 %defattr(-,root,root)
71 %{prefix}/bin/sylpheed
72 %{prefix}/share/locale/*/LC_MESSAGES/sylpheed.mo
73 %{prefix}/share/sylpheed/manual/*
74 %doc ABOUT-NLS AUTHORS COPYING ChangeLog ChangeLog.claws ChangeLog.jp README README.claws README.jp INSTALL TODO TODO.jp tools
75
76 %changelog
77 * Sun Nov 10 2002 Jens Oberender <j.obi@troja.net>
78 - changed spec.in for claws
79 - shortend the changelog
80
81 * Tue Jan 9 2001 Yoichi Imai <yoichi@silver-forest.com>
82 - edited for spec.in
83
84 * Tue Jan 2 2001 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>
85 - updated to 0.4.51