]> git.pld-linux.org Git - packages/claws-mail.git/blob - claws-mail.spec
af62d8a297dbdd53b211df9bbd8c7cfb147dc28c
[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 #
9 Summary:        A bleeding edge branch of Sylpheed, a GTK+ based, lightweight, and fast e-mail client
10 Summary(pl):    Rozwojowa wersja Sylpheed z du¿± ilo¶ci± zmian oraz ulepszeñ
11 Name:           sylpheed-claws
12 Version:        0.9.0
13 Release:        1
14 License:        GPL
15 Group:          X11/Applications/Networking
16 Source0:        http://dl.sourceforge.net/sylpheed-claws/sylpheed-%{version}claws.tar.bz2
17 Source1:        http://dl.sourceforge.net/sylpheed-claws/sylpheed-0.8.7claws-iconset.tar.gz
18 Source2:        %{name}.desktop
19 Patch0:         %{name}-po.patch
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  faces-devel
23 BuildRequires:  gdk-pixbuf-devel >= 0.8
24 BuildRequires:  gettext-devel
25 %{!?_without_gpg:BuildRequires: gpgme-devel < 0.4}
26 BuildRequires:  gtk+-devel >= 1.2.6
27 BuildRequires:  imlib-devel
28 BuildRequires:  libltdl-devel
29 BuildRequires:  libtool
30 %{!?_without_ldap:BuildRequires:        openldap-devel}
31 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7}
32 BuildRequires:  aspell-devel >= 0.50
33 %{!?_without_jconv:BuildRequires:   libjconv-devel}
34 Requires:       faces
35 Obsoletes:      sylpheed
36 URL:            http://sylpheed-claws.sourceforge.net/
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 This program is an X based fast e-mail client which has features same
41 as orginal Sylpheed but with new/improved features. Some of new stuff
42 is really cool and useable.
43
44 %description -l pl
45 Szybki klient poczty o mo¿liwo¶ciach takich jak oryginalny Sylpheed
46 ale z nowymi/poprawionymi funkcjami. Niektóre dodatki s± naprawdê
47 ¶wietne i u¿yteczne.
48
49 %prep
50 %setup -q -n sylpheed-%{version}claws -a1
51 #%patch0 -p1
52 mv sylpheed*claws-iconset themes
53 mv -f themes/README README.themes
54
55 %build
56 rm -f missing
57 %{__libtoolize}
58 %{__gettextize}
59 %{__aclocal} -I ac
60 %{__autoconf}
61 %{__autoheader}
62 %{__automake}
63 %configure \
64         %{!?_without_jconv:--enable-jconv} \
65         %{!?_without_gpg:--enable-gpgme} \
66         %{!?_without_ldap: --enable-ldap} \
67         %{!?_without_ssl: --enable-openssl} \
68         %{!?_without_ipv6: --enable-ipv6 } \
69         --enable-aspell \
70         --enable-gdk-pixbuf \
71         --enable-threads
72
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}}
78
79 %{__make} install \
80         DESTDIR=$RPM_BUILD_ROOT
81
82 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
83 cp -a themes $RPM_BUILD_ROOT%{_datadir}/sylpheed
84
85 install sylpheed.png $RPM_BUILD_ROOT%{_pixmapsdir}
86
87 %find_lang sylpheed
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %files -f sylpheed.lang
93 %defattr(644,root,root,755)
94 %doc AUTHORS ChangeLog NEWS README* TODO
95 %{_mandir}/man1/sylpheed.1*
96 %attr(755,root,root) %{_bindir}/*
97 %dir %{_datadir}/sylpheed
98 %dir %{_datadir}/sylpheed/manual
99 %{_datadir}/sylpheed/manual/en
100 %lang(de) %{_datadir}/sylpheed/manual/de
101 %lang(es) %{_datadir}/sylpheed/manual/es
102 %lang(fr) %{_datadir}/sylpheed/manual/fr
103 %lang(ja) %{_datadir}/sylpheed/manual/ja
104 %dir %{_datadir}/sylpheed/faq
105 %{_datadir}/sylpheed/faq/en
106 %lang(de) %{_datadir}/sylpheed/faq/de
107 %lang(es) %{_datadir}/sylpheed/faq/es
108 %lang(fr) %{_datadir}/sylpheed/faq/fr
109 %lang(it) %{_datadir}/sylpheed/faq/it
110 %{_datadir}/sylpheed/themes
111 %{_applnkdir}/Network/Mail/%{name}.desktop
112 %{_pixmapsdir}/sylpheed.png
This page took 0.060674 seconds and 3 git commands to generate.