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