]> git.pld-linux.org Git - packages/claws-mail.git/blob - claws-mail.spec
- BuildRequires: libltdl-static
[packages/claws-mail.git] / claws-mail.spec
1 # Conditional build:
2 # _with_jconv           - adds much more codesets to choice from
3
4 Summary:        A bleeding edge branch of Sylpheed, a GTK+ based, lightweight, and fast e-mail client
5 Summary(pl):    Osobno rozwijana wersja Sylpheed z paroma zmianami/ulepszeniami
6 Name:           sylpheed-claws
7 Version:        0.7.8
8 Release:        2
9 License:        GPL
10 Group:          X11/Applications/Networking
11 Source0:        http://telia.dl.sourceforge.net/sourceforge/sylpheed-claws/sylpheed-%{version}claws.tar.bz2
12 Source1:        http://prdownloads.sourceforge.net/sylpheed-claws/sylpheed-theme-pak2.tar.bz2 
13 Source2:        %{name}.desktop
14 Source3:        sylpheed.png
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  imlib-devel
18 BuildRequires:  faces-devel
19 BuildRequires:  gettext-devel
20 BuildRequires:  gdk-pixbuf-devel >= 0.8
21 BuildRequires:  gtk+-devel >= 1.2.6
22 BuildRequires:  gtkhtml-devel >= 0.10.1
23 BuildRequires:  libtool
24 BuildRequires:  openldap-devel
25 BuildRequires:  openssl-devel
26 BuildRequires:  gpgme-devel
27 BuildRequires:  pspell-devel >= 12.2-5
28 BuildRequires:  libltdl-static
29 %{?_with_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 %define         _prefix         /usr/X11R6
36 %define         _mandir         %{_prefix}/man
37
38 %description
39 This program is an X based fast e-mail client which has features same
40 as orginal Sylpheed but with new/improved features. Some of new stuff
41 is really cool and useable.
42
43 %description -l pl
44 Szybki klient poczty o mo¿liwo¶ciach takich jak oryginalny Sylpheed
45 ale z nowymi/poprawionymi funkcjami. Niektóre dodatki s± naprawdê
46 ¶wietne i u¿yteczne.
47
48 %prep
49 %setup -q -n sylpheed-%{version}claws
50 mkdir themes
51 cd themes
52 tar -jxf %{SOURCE1}
53 mv -f README ../README.themes
54 cd ..
55
56 %build
57 rm -f missing
58 %{__libtoolize}
59 %{__gettextize}
60 aclocal -I ac
61 %{__autoconf}
62 autoheader
63 automake --add-missing --foreign --copy
64 %configure \
65         %{!?_with_jconv:--disable-jconv} \
66         --enable-pspell \
67         --enable-impib \
68         --enable-gdk-pixbuf \
69         --enable-threads \
70         --enable-ssl \
71         --enable-ipv6 \
72         --enable-ldap \
73         --enable-gpgme
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 %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
85 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
86 cp -a themes $RPM_BUILD_ROOT%{_datadir}/sylpheed
87
88 gzip -9nf AUTHORS ChangeLog NEWS README* TODO
89
90 %find_lang sylpheed
91
92 %clean
93 #rm -rf $RPM_BUILD_ROOT
94
95 %files -f sylpheed.lang
96 %defattr(644,root,root,755)
97 %doc *.gz
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/*
114 %{_pixmapsdir}/sylpheed.png
This page took 0.075421 seconds and 4 git commands to generate.