]> git.pld-linux.org Git - packages/claws-mail.git/blob - claws-mail.spec
- cosmetics
[packages/claws-mail.git] / claws-mail.spec
1 #
2 # Conditional build:
3 # _without_jconv        - without jconv support
4 # _without_gpg          - without gpg support
5 # _without_ssl          - without ssl support
6 # _without_ipv6         - without ipv6 support
7 # _without_ldap         - without ldap support
8 # _without_faces        - without compfaces support
9 # _without_dillo        - without dillo plugin (html browser)
10 # _without_clamav       - without clamav plugin
11 # _with_mathml          - with mathml plugin
12 # _without_trayicon     - without trayicon plugin
13 # _without_spamassassin - without spamassassin plugin
14 #
15 Summary:        A bleeding edge branch of Sylpheed, a GTK+ based, lightweight, and fast e-mail client
16 Summary(pl):    Rozwojowa wersja Sylpheed z du¿± ilo¶ci± zmian oraz ulepszeñ
17 Name:           sylpheed-claws
18 Version:        0.9.4
19 Release:        1
20 License:        GPL
21 Group:          X11/Applications/Networking
22 Source0:        http://dl.sourceforge.net/sylpheed-claws/sylpheed-%{version}claws.tar.bz2
23 # Source0-md5:  754d07be167e2613c112ca3e7a0d5665
24 Source1:        %{name}.desktop
25 BuildRequires:  autoconf
26 BuildRequires:  automake
27 %{!?_without_clamav:BuildRequires:      clamav-devel}
28 %{!?_without_faces:BuildRequires:       faces-devel}
29 BuildRequires:  gdk-pixbuf-devel >= 0.8
30 BuildRequires:  gettext-devel
31 %{!?_without_gpg:BuildRequires: gpgme-devel < 0.4}
32 BuildRequires:  gtk+-devel >= 1.2.6
33 BuildRequires:  imlib-devel
34 BuildRequires:  libltdl-devel
35 BuildRequires:  libtool
36 %{!?_without_ldap:BuildRequires:        openldap-devel}
37 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7}
38 BuildRequires:  aspell-devel >= 0.50
39 %{!?_without_jconv:BuildRequires:       libjconv-devel}
40 %{!?_without_faces:Requires:    faces}
41 %{!?_without_dillo:Requires:    dillo}
42 Obsoletes:      sylpheed
43 URL:            http://sylpheed-claws.sourceforge.net/
44 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
46 %description
47 This program is an X based fast e-mail client which has features same
48 as orginal Sylpheed but with new/improved features. Some of new stuff
49 is really cool and useable.
50
51 %description -l pl
52 Szybki klient poczty o mo¿liwo¶ciach takich jak oryginalny Sylpheed
53 ale z nowymi/poprawionymi funkcjami. Niektóre dodatki s± naprawdê
54 ¶wietne i u¿yteczne.
55
56 %package plugins
57 Summary:        Special plugins for Sylpheed-Claws
58 Summary(pl):    Dodatkowe pluginy dla Sylpheed-Claws
59 Group:          X11/Applications/Networking
60 Requires:       %{name} = %{version}
61
62 %description plugins
63 This is collection of some usefull plugins for Sylpheed-claws.
64
65 %description plugins -l pl
66 Jest to zbiór kilku dodatkowych pluginów powiêkszaj±cych mo¿liwo¶ci Sylpheeda.
67
68 %prep
69 %setup -q -n sylpheed-%{version}claws -a1
70 #mv sylpheed*claws-iconset themes
71 #mv -f themes/README README.themes
72
73 %build
74 rm -f missing
75 %{__libtoolize}
76 %{__gettextize}
77 %{__aclocal} -I ac
78 %{__autoconf}
79 %{__autoheader}
80 %{__automake}
81 %configure \
82         %{!?_without_jconv:--enable-jconv} %{?_without_jconv:--disable-jconv} \
83         %{!?_without_gpg:--enable-gpgme} %{?_without_gpg:--disable-gpgme} \
84         %{!?_without_ldap:--enable-ldap} \
85         %{!?_without_ssl:--enable-openssl} \
86         %{!?_without_ipv6:--enable-ipv6 } \
87         %{?_without_faces:--disable-compfaces } \
88         %{!?_without_dillo:--enable-dillo-viewer-plugin } \
89         %{?_without_dillo:--disable-dillo-viewer-plugin } \
90         %{!?_without_clamav:--enable-clamav-plugin } \
91         %{?_without_clamav:--disable-clamav-plugin } \
92         %{?_with_mathml:--enable-mathml-viewer-plugin } \
93         %{!?_with_mathml:--disable-mathml-viewer-plugin } \
94         %{!?_without_trayicon:--enable-trayicon-plugin } \
95         %{?_without_trayicon:--disable-trayicon-plugin } \
96         %{!?_without_spamassassin:--enable-spamassassin-plugin } \
97         --enable-aspell \
98         --enable-gdk-pixbuf \
99         --enable-threads
100
101 %{__make}
102
103 %install
104 rm -rf $RPM_BUILD_ROOT
105 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}}
106
107 %{__make} install \
108         DESTDIR=$RPM_BUILD_ROOT
109
110 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
111 #cp -a themes $RPM_BUILD_ROOT%{_datadir}/sylpheed
112
113 install sylpheed.png $RPM_BUILD_ROOT%{_pixmapsdir}
114
115 %find_lang sylpheed
116
117 %clean
118 rm -rf $RPM_BUILD_ROOT
119
120 %files -f sylpheed.lang
121 %defattr(644,root,root,755)
122 %doc AUTHORS ChangeLog NEWS README* TODO
123 %{_mandir}/man1/sylpheed.1*
124 %attr(755,root,root) %{_bindir}/*
125 %dir %{_datadir}/sylpheed
126 %dir %{_datadir}/sylpheed/manual
127 %{_datadir}/sylpheed/manual/en
128 %lang(de) %{_datadir}/sylpheed/manual/de
129 %lang(es) %{_datadir}/sylpheed/manual/es
130 %lang(fr) %{_datadir}/sylpheed/manual/fr
131 %lang(ja) %{_datadir}/sylpheed/manual/ja
132 %dir %{_datadir}/sylpheed/faq
133 %{_datadir}/sylpheed/faq/en
134 %lang(de) %{_datadir}/sylpheed/faq/de
135 %lang(es) %{_datadir}/sylpheed/faq/es
136 %lang(fr) %{_datadir}/sylpheed/faq/fr
137 %lang(it) %{_datadir}/sylpheed/faq/it
138 #%{_datadir}/sylpheed/themes
139 %{_applnkdir}/Network/Mail/%{name}.desktop
140 %{_pixmapsdir}/sylpheed.png
141
142 %files plugins
143 %defattr(644,root,root,755)
144 %dir %{_libdir}/sylpheed
145 %dir %{_libdir}/sylpheed/plugins
146 %{_libdir}/sylpheed/plugins/*so
This page took 0.078273 seconds and 4 git commands to generate.