]> git.pld-linux.org Git - packages/claws-mail.git/blob - claws-mail.spec
- small fix in plugins requires
[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 # _with_dillo           - with dillo plugin (html browser)
10 #
11 Summary:        A bleeding edge branch of Sylpheed, a GTK+ based, lightweight, and fast e-mail client
12 Summary(pl):    Rozwojowa wersja Sylpheed z du¿± ilo¶ci± zmian oraz ulepszeñ
13 Name:           sylpheed-claws
14 Version:        0.9.0
15 Release:        1
16 License:        GPL
17 Group:          X11/Applications/Networking
18 Source0:        http://dl.sourceforge.net/sylpheed-claws/sylpheed-%{version}claws.tar.bz2
19 # Source0-md5:  e547783629300e5a1a06fb5f20b9f7fd
20 Source1:        %{name}.desktop
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 %{?_with_dillo:Requires:        dillo}
37 Obsoletes:      sylpheed
38 URL:            http://sylpheed-claws.sourceforge.net/
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
42 This program is an X based fast e-mail client which has features same
43 as orginal Sylpheed but with new/improved features. Some of new stuff
44 is really cool and useable.
45
46 %description -l pl
47 Szybki klient poczty o mo¿liwo¶ciach takich jak oryginalny Sylpheed
48 ale z nowymi/poprawionymi funkcjami. Niektóre dodatki s± naprawdê
49 ¶wietne i u¿yteczne.
50
51 %package plugins
52 Summary:        Special plugins for Sylpheed-Claws
53 Summary(pl):    Dodatkowe pluginy dla Sylpheed-Claws
54 Group:          X11/Applications/Networking
55 Requires:       %{name} = %{version}
56
57 %description plugins
58 This is collection of some usefull plugins for Sylpheed-claws.
59
60 %description plugins -l pl
61 Jest to zbiór kilku dodatkowych pluginów powiêkszaj±cych mo¿liwo¶ci Sylpheeda.
62
63 %prep
64 %setup -q -n sylpheed-%{version}claws -a1
65 #mv sylpheed*claws-iconset themes
66 #mv -f themes/README README.themes
67
68 %build
69 rm -f missing
70 %{__libtoolize}
71 %{__gettextize}
72 %{__aclocal} -I ac
73 %{__autoconf}
74 %{__autoheader}
75 %{__automake}
76 %configure \
77         %{!?_without_jconv:--enable-jconv} \
78         %{!?_without_gpg:--enable-gpgme} \
79         %{!?_without_ldap: --enable-ldap} \
80         %{!?_without_ssl: --enable-openssl} \
81         %{!?_without_ipv6: --enable-ipv6 } \
82         %{?_without_faces: --disable-compfaces } \
83         %{?_with_dillo:--enable-dillo-viewer-plugin } \
84         --enable-aspell \
85         --enable-gdk-pixbuf \
86         --enable-threads
87
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}}
93
94 %{__make} install \
95         DESTDIR=$RPM_BUILD_ROOT
96
97 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
98 #cp -a themes $RPM_BUILD_ROOT%{_datadir}/sylpheed
99
100 install sylpheed.png $RPM_BUILD_ROOT%{_pixmapsdir}
101
102 %find_lang sylpheed
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %files -f sylpheed.lang
108 %defattr(644,root,root,755)
109 %doc AUTHORS ChangeLog NEWS README* TODO
110 %{_mandir}/man1/sylpheed.1*
111 %attr(755,root,root) %{_bindir}/*
112 %dir %{_datadir}/sylpheed
113 %dir %{_datadir}/sylpheed/manual
114 %{_datadir}/sylpheed/manual/en
115 %lang(de) %{_datadir}/sylpheed/manual/de
116 %lang(es) %{_datadir}/sylpheed/manual/es
117 %lang(fr) %{_datadir}/sylpheed/manual/fr
118 %lang(ja) %{_datadir}/sylpheed/manual/ja
119 %dir %{_datadir}/sylpheed/faq
120 %{_datadir}/sylpheed/faq/en
121 %lang(de) %{_datadir}/sylpheed/faq/de
122 %lang(es) %{_datadir}/sylpheed/faq/es
123 %lang(fr) %{_datadir}/sylpheed/faq/fr
124 %lang(it) %{_datadir}/sylpheed/faq/it
125 #%{_datadir}/sylpheed/themes
126 %{_applnkdir}/Network/Mail/%{name}.desktop
127 %{_pixmapsdir}/sylpheed.png
128
129 %files plugins
130 %defattr(644,root,root,755)
131 %{_libdir}/sylpheed/plugins/*
This page took 0.042225 seconds and 3 git commands to generate.