1 Summary: TradeClient - Messaging and PIM Client (Gtk+)
2 Summary(pl.UTF-8): TradeClient - program pocztowy oraz PIM (Gtk+)
7 Group: X11/Applications
8 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5: 365d4f0029cc43ecc9a47c2a5a28ac17
10 Source1: %{name}.desktop
12 Patch0: %{name}-include_time_h.patch
13 Patch1: %{name}-openldap2.patch
14 URL: http://www.bynari.net/News___Events/Products/tradeclient/tradeclient.htm
15 BuildRequires: gtk+-devel
16 BuildRequires: openldap-devel >= 2.4.6
17 BuildRequires: perl-base
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Messaging and Personal Information Management Tool for Linux and UNIX.
23 %description -l pl.UTF-8
24 Program pocztowy oraz PIM (zarzÄ…dzanie informacjami) dla Linuksa.
28 gzip -dc imap-4.7c.tar.Z | tar xfv -
33 # Set the "right" optflags
34 perl -pi -e 's|^(\s*CFLAGS\+=)-m486|$1%{rpmcflags}|' Makefile
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir},%{_applnkdir}/Office/PIMs} \
43 $RPM_BUILD_ROOT%{_pixmapsdir}
46 prefix=$RPM_BUILD_ROOT%{_prefix} \
49 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Office/PIMs
50 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_bindir}/*
59 %{_applnkdir}/Office/PIMs/*
61 # there are no files here yet