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