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