]> git.pld-linux.org Git - packages/fetchpop.git/blob - fetchpop.spec
- added using %%{__make} macro.
[packages/fetchpop.git] / fetchpop.spec
1 Summary:        POP3 mail client
2 Summary(pl):    Klient POP3
3 Name:           fetchpop
4 Version:        1.9
5 Release:        4
6 License:        GPL
7 Group:          Applications/Mail
8 Group(pt):      Aplicações/Correio Eletrônico
9 Group(pl):      Aplikacje/Poczta
10 Source0 ftp:    //tsx-11.mit.edu/pub/linux/sources/usr.bin/%{name}%{version}.tar.gz
11 Source1:        fetchpop.wmconfig
12 Patch0:         fetchpop-make.patch
13 Patch1:         fetchpop-fetch.patch
14 Patch2:         fetchpop-pop.patch
15 Requires:       smtpdaemon
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 By default, fetchpop retrieves new mail from the remote pop mail
20 server and appends it to your mailbox file, using information in the
21 file ~/.fetchhost. Fetchpop has many options to change its default
22 behavior.
23
24 %description -l pl
25 Domy¶lnie fetchpop ¶ci±ga pocztê ze zdalnego serwera poczty i wrzuca
26 j± do twojej skrzynki u¿ywaj±c informacji z pliku ~/.fetchhost.
27 Fetchpop posiada wiele opcji mog±cych zmieniæ jego domy¶lne
28 zachowanie.
29
30 %prep
31 %setup -q -n %{name}%{version}
32 %patch0 -p1 
33 %patch1 -p1
34 %patch2 -p1
35
36 %build
37 %{__make} all CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s 
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}/X11/wmconfig}
42
43 %{__make} install install.truncate \
44         INSTALL_DIR=$RPM_BUILD_ROOT \
45         MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
46
47 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/wmconfig/fetchpop
48
49 strip $RPM_BUILD_ROOT%{_bindir}/{fetchpop,truncate}
50
51 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
52         README RFC1225 TODO FAQ.fetchpop
53
54 %clean 
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc {README,RFC1225,TODO,FAQ.fetchpop}.gz
60
61 %attr(755,root,root) %{_bindir}/*
62 %{_mandir}/man1/*
This page took 0.064496 seconds and 3 git commands to generate.