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