]>
Commit | Line | Data |
---|---|---|
1 | Summary: POP3 mail client | |
2 | Summary(pl.UTF-8): Klient POP3 | |
3 | Name: fetchpop | |
4 | Version: 1.9 | |
5 | Release: 8 | |
6 | License: GPL | |
7 | Group: Applications/Mail | |
8 | Source0: ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/%{name}%{version}.tar.gz | |
9 | # Source0-md5: 0c9b186791ea1e3da1b28f4f6094ca01 | |
10 | Source1: %{name}.desktop | |
11 | Patch1: ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/%{name}%{version}.patch1 | |
12 | Patch2: ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/%{name}%{version}.patch2 | |
13 | Requires: smtpdaemon | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | By default, fetchpop retrieves new mail from the remote pop mail | |
18 | server and appends it to your mailbox file, using information in the | |
19 | file ~/.fetchhost. Fetchpop has many options to change its default | |
20 | behavior. | |
21 | ||
22 | %description -l pl.UTF-8 | |
23 | Domyślnie fetchpop ściąga pocztę ze zdalnego serwera poczty i wrzuca | |
24 | ją do twojej skrzynki używając informacji z pliku ~/.fetchhost. | |
25 | Fetchpop posiada wiele opcji mogących zmienić jego domyślne | |
26 | zachowanie. | |
27 | ||
28 | %prep | |
29 | %setup -q -n %{name}%{version} | |
30 | %patch1 -p1 | |
31 | %patch2 -p1 | |
32 | ||
33 | %build | |
34 | %{__make} all CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_desktopdir}} | |
39 | ||
40 | %{__make} install install.truncate \ | |
41 | BINDIR=$RPM_BUILD_ROOT%{_bindir} \ | |
42 | MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 | |
43 | ||
44 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc README RFC1225 TODO FAQ.fetchpop | |
52 | ||
53 | %attr(755,root,root) %{_bindir}/* | |
54 | %{_mandir}/man1/* | |
55 | %{_desktopdir}/*.desktop |