]> git.pld-linux.org Git - SPECS.git/blob - tradeclient.spec
SPECS updated Sat 31 Jul 20:27:02 CEST 2021
[SPECS.git] / tradeclient.spec
1 Summary:        TradeClient - Messaging and PIM Client (Gtk+)
2 Summary(pl.UTF-8):      TradeClient - program pocztowy oraz PIM (Gtk+)
3 Name:           tradeclient
4 Version:        0.9.0
5 Release:        1
6 License:        LGPL
7 Group:          X11/Applications
8 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  365d4f0029cc43ecc9a47c2a5a28ac17
10 Source1:        %{name}.desktop
11 Source2:        %{name}.png
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)
19
20 %description
21 Messaging and Personal Information Management Tool for Linux and UNIX.
22
23 %description -l pl.UTF-8
24 Program pocztowy oraz PIM (zarzÄ…dzanie informacjami) dla Linuksa.
25
26 %prep
27 %setup -q
28 gzip -dc imap-4.7c.tar.Z | tar xfv -
29 %patch0 -p1
30 %patch1 -p0
31
32 %build
33 # Set the "right" optflags
34 perl -pi -e 's|^(\s*CFLAGS\+=)-m486|$1%{rpmcflags}|' Makefile
35
36 %{__make} \
37         prefix=%{_prefix}
38
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir},%{_applnkdir}/Office/PIMs} \
43         $RPM_BUILD_ROOT%{_pixmapsdir}
44
45 %{__make} install \
46         prefix=$RPM_BUILD_ROOT%{_prefix} \
47         DOCINSTALLDIR=""
48
49 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Office/PIMs
50 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc README CHANGELOG
58 %attr(755,root,root) %{_bindir}/*
59 %{_applnkdir}/Office/PIMs/*
60 %{_pixmapsdir}/*
61 # there are no files here yet
62 #%%{_datadir}/*
This page took 0.665396 seconds and 3 git commands to generate.