]> git.pld-linux.org Git - packages/claws-mail.git/blob - claws-mail.spec
- create pixmapsdir
[packages/claws-mail.git] / claws-mail.spec
1 # Conditional build:
2 # _without_jconv           - without jconv support
3
4 Summary:        A bleeding edge branch of Sylpheed, a GTK+ based, lightweight, and fast e-mail client
5 Summary(pl):    Rozwojowa wersja Sylpheed z du¿± ilo¶ci± zmian oraz ulepszeñ
6 Name:           sylpheed-claws
7 Version:        0.8.3
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.gz
12 Source1:        http://prdownloads.sourceforge.net/sylpheed-claws/sylpheed-theme-pak2.tar.bz2 
13 Source2:        %{name}.desktop
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  faces-devel
17 BuildRequires:  gdk-pixbuf-devel >= 0.8
18 BuildRequires:  gettext-devel
19 BuildRequires:  gpgme-devel
20 BuildRequires:  gtk+-devel >= 1.2.6
21 BuildRequires:  imlib-devel
22 BuildRequires:  libltdl-devel
23 BuildRequires:  libtool
24 BuildRequires:  openldap-devel
25 BuildRequires:  openssl-devel
26 BuildRequires:  aspell-devel >= 0.50
27 %{!?_without_jconv:BuildRequires:   libjconv-devel}
28 Requires:       faces
29 Obsoletes:      sylpheed
30 URL:            http://sylpheed-claws.sourceforge.net/
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %define         _prefix         /usr/X11R6
34 %define         _mandir         %{_prefix}/man
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
48 mkdir themes
49 cd themes
50 tar -jxf %{SOURCE1}
51 mv -f README ../README.themes
52 cd ..
53
54 %build
55 rm -f missing
56 %{__libtoolize}
57 %{__gettextize}
58 %{__aclocal} -I ac
59 %{__autoconf}
60 %{__autoheader}
61 %{__automake}
62 %configure \
63         %{!?_without_jconv:--enable-jconv} \
64         --enable-gpgme \
65         --enable-ldap \
66         --enable-ssl \
67         --enable-ipv6 \
68         --enable-aspell \
69         --enable-gdk-pixbuf \
70         --enable-threads
71
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}}
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
82 cp -a themes $RPM_BUILD_ROOT%{_datadir}/sylpheed
83
84 install sylpheed.png $RPM_BUILD_ROOT%{_pixmapsdir}
85
86 %find_lang sylpheed
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %files -f sylpheed.lang
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog NEWS README* TODO
94 %{_mandir}/man1/sylpheed.1.gz
95 %attr(755,root,root) %{_bindir}/*
96 %dir %{_datadir}/sylpheed
97 %dir %{_datadir}/sylpheed/manual
98 %{_datadir}/sylpheed/manual/en
99 %lang(de) %{_datadir}/sylpheed/manual/de
100 %lang(es) %{_datadir}/sylpheed/manual/es
101 %lang(fr) %{_datadir}/sylpheed/manual/fr
102 %lang(ja) %{_datadir}/sylpheed/manual/ja
103 %dir %{_datadir}/sylpheed/faq
104 %{_datadir}/sylpheed/faq/en
105 %lang(de) %{_datadir}/sylpheed/faq/de
106 %lang(es) %{_datadir}/sylpheed/faq/es
107 %lang(fr) %{_datadir}/sylpheed/faq/fr
108 %lang(it) %{_datadir}/sylpheed/faq/it
109 %{_datadir}/sylpheed/themes
110 %{_applnkdir}/Network/Mail/%{name}.desktop
111 %{_pixmapsdir}/sylpheed.png
This page took 0.041672 seconds and 4 git commands to generate.