]> git.pld-linux.org Git - packages/claws-mail.git/blob - claws-mail.spec
- devel subpackage
[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.5
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:  66d72383222e4deb47300889d24f1044
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 %package devel
69 Summary:        Headers from Sylpheed-Claws
70 Summary(pl):    Pliki nag³ówkowe programu Sylpheed-Claws
71 Group:          X11/Applications/Networking
72 Requires:       %{name} = %{version}
73
74 %description devel
75 Sylpheed-Claws development package.
76
77 %description devel -l pl
78 Pliki nag³ówkowe programu Sylpheed-Claws.
79
80 %prep
81 %setup -q -n sylpheed-%{version}claws -a1
82 #mv sylpheed*claws-iconset themes
83 #mv -f themes/README README.themes
84
85 %build
86 rm -f missing
87 %{__libtoolize}
88 %{__gettextize}
89 %{__aclocal} -I ac
90 %{__autoconf}
91 %{__autoheader}
92 %{__automake}
93 %configure \
94         %{!?_without_jconv:--enable-jconv} %{?_without_jconv:--disable-jconv} \
95         %{!?_without_gpg:--enable-gpgme} %{?_without_gpg:--disable-gpgme} \
96         %{!?_without_ldap:--enable-ldap} \
97         %{!?_without_ssl:--enable-openssl} \
98         %{!?_without_ipv6:--enable-ipv6 } \
99         %{?_without_faces:--disable-compfaces } \
100         %{!?_without_dillo:--enable-dillo-viewer-plugin } \
101         %{?_without_dillo:--disable-dillo-viewer-plugin } \
102         %{!?_without_clamav:--enable-clamav-plugin } \
103         %{?_without_clamav:--disable-clamav-plugin } \
104         %{?_with_mathml:--enable-mathml-viewer-plugin } \
105         %{!?_with_mathml:--disable-mathml-viewer-plugin } \
106         %{!?_without_trayicon:--enable-trayicon-plugin } \
107         %{?_without_trayicon:--disable-trayicon-plugin } \
108         %{!?_without_spamassassin:--enable-spamassassin-plugin } \
109         --enable-aspell \
110         --enable-gdk-pixbuf \
111         --enable-threads
112
113 %{__make}
114
115 %install
116 rm -rf $RPM_BUILD_ROOT
117 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}}
118
119 %{__make} install \
120         DESTDIR=$RPM_BUILD_ROOT
121
122 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
123 #cp -a themes $RPM_BUILD_ROOT%{_datadir}/sylpheed
124
125 install sylpheed.png $RPM_BUILD_ROOT%{_pixmapsdir}
126
127 %find_lang sylpheed
128
129 %clean
130 rm -rf $RPM_BUILD_ROOT
131
132 %files -f sylpheed.lang
133 %defattr(644,root,root,755)
134 %doc AUTHORS ChangeLog NEWS README* TODO
135 %{_mandir}/man1/sylpheed.1*
136 %attr(755,root,root) %{_bindir}/*
137 %dir %{_datadir}/sylpheed
138 %dir %{_datadir}/sylpheed/manual
139 %{_datadir}/sylpheed/manual/en
140 %lang(de) %{_datadir}/sylpheed/manual/de
141 %lang(es) %{_datadir}/sylpheed/manual/es
142 %lang(fr) %{_datadir}/sylpheed/manual/fr
143 %lang(ja) %{_datadir}/sylpheed/manual/ja
144 %dir %{_datadir}/sylpheed/faq
145 %{_datadir}/sylpheed/faq/en
146 %lang(de) %{_datadir}/sylpheed/faq/de
147 %lang(es) %{_datadir}/sylpheed/faq/es
148 %lang(fr) %{_datadir}/sylpheed/faq/fr
149 %lang(it) %{_datadir}/sylpheed/faq/it
150 #%{_datadir}/sylpheed/themes
151 %{_applnkdir}/Network/Mail/%{name}.desktop
152 %{_pixmapsdir}/sylpheed.png
153
154 %files plugins
155 %defattr(644,root,root,755)
156 %dir %{_libdir}/sylpheed
157 %dir %{_libdir}/sylpheed/plugins
158 %{_libdir}/sylpheed/plugins/*so
159
160 %files devel
161 %defattr(644,root,root,755)
162 %dir %{_includedir}/sylpheed
163 %dir %{_includedir}/sylpheed/common
164 %dir %{_includedir}/sylpheed/gtk
165 %{_includedir}/sylpheed/*
This page took 0.359576 seconds and 4 git commands to generate.