]> git.pld-linux.org Git - packages/claws-mail.git/blob - claws-mail.spec
- md5 sorry
[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 # Source0-md5:  b44d9136604802c5d34f91f92514c989
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} \
83         %{!?_without_gpg:--enable-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_clamav:--enable-clamav-plugin } \
90         %{?_with_mathml:--enable-mathml-viewer-plugin } \
91         %{!?_without_trayicon:--enable-trayicon-plugin } \
92         %{!?_without_spamassassin:--enable-spamassassin-plugin } \
93         --enable-aspell \
94         --enable-gdk-pixbuf \
95         --enable-threads
96
97 %{__make}
98
99 %install
100 rm -rf $RPM_BUILD_ROOT
101 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}}
102
103 %{__make} install \
104         DESTDIR=$RPM_BUILD_ROOT
105
106 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
107 #cp -a themes $RPM_BUILD_ROOT%{_datadir}/sylpheed
108
109 install sylpheed.png $RPM_BUILD_ROOT%{_pixmapsdir}
110
111 %find_lang sylpheed
112
113 %clean
114 rm -rf $RPM_BUILD_ROOT
115
116 %files -f sylpheed.lang
117 %defattr(644,root,root,755)
118 %doc AUTHORS ChangeLog NEWS README* TODO
119 %{_mandir}/man1/sylpheed.1*
120 %attr(755,root,root) %{_bindir}/*
121 %dir %{_datadir}/sylpheed
122 %dir %{_datadir}/sylpheed/manual
123 %{_datadir}/sylpheed/manual/en
124 %lang(de) %{_datadir}/sylpheed/manual/de
125 %lang(es) %{_datadir}/sylpheed/manual/es
126 %lang(fr) %{_datadir}/sylpheed/manual/fr
127 %lang(ja) %{_datadir}/sylpheed/manual/ja
128 %dir %{_datadir}/sylpheed/faq
129 %{_datadir}/sylpheed/faq/en
130 %lang(de) %{_datadir}/sylpheed/faq/de
131 %lang(es) %{_datadir}/sylpheed/faq/es
132 %lang(fr) %{_datadir}/sylpheed/faq/fr
133 %lang(it) %{_datadir}/sylpheed/faq/it
134 #%{_datadir}/sylpheed/themes
135 %{_applnkdir}/Network/Mail/%{name}.desktop
136 %{_pixmapsdir}/sylpheed.png
137
138 %files plugins
139 %defattr(644,root,root,755)
140 %dir %{_libdir}/sylpheed
141 %dir %{_libdir}/sylpheed/plugins
142 %{_libdir}/sylpheed/plugins/*so
This page took 0.198554 seconds and 4 git commands to generate.