]> git.pld-linux.org Git - SPECS.git/blob - yahoopops.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / yahoopops.spec
1 Summary:        YPOPs! - Emulates a POP3/SMTP mail server and provides free access to Yahoo! Mail
2 Summary(pl.UTF-8):      YPOPs! - emulacja serwera pocztowego POP3/SMTP i swobodny dostęp do Yahoo! Mail
3 Name:           yahoopops
4 Version:        0.6
5 Release:        0.3
6 License:        GPL v2+ (yp6) / MIME++ Software License Agreement
7 Group:          Networking/Daemons
8 Source0:        http://dl.sourceforge.net/yahoopops/yp6.tar.bz2
9 # Source0-md5:  1b09ec7493db7589bb9f9428c2d48a12
10 # ftp://ftp.library.tver.ru/pub/unix/libs/mimepp-1.3.3.tar.gz
11 %define         _mimepp_ver     1.3.3
12 Source1:        mimepp-%{_mimepp_ver}.tar.gz
13 # Source1-md5:  e963dadb38e4dbc9f49368696aad11ca
14 Patch0:         %{name}-Makefile.patch
15 Patch1:         %{name}-gcc34.patch
16 URL:            http://yahoopops.sourceforge.net/
17 BuildRequires:  curl-devel >= 7.11.2
18 BuildRequires:  libxml-devel
19 BuildRequires:  openssl-devel >= 0.9.7d
20 BuildRequires:  pkgconfig
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 YPOPs! is an application that provides POP3 access to Yahoo! Mail. It
25 is available on the Windows, Linux, Solaris and Mac platforms.
26
27 Yahoo! Mail disabled free access to its POP3 service on 24th April,
28 2002. This application emulates a POP3 server and enables popular
29 email clients like Outlook, Netscape, Eudora, Mozilla, etc., to
30 download email from Yahoo! accounts. We do not go against the license
31 agreements of Yahoo! Mail. This application is completely legitimate
32 and well within the realms of legal software.
33
34 How do we do it you ask? Well, this application is more like a
35 gateway. It provides a POP3 server interface at one end to talk to
36 email clients and an HTTP client (browser) interface at the other
37 which allows it to talk to Yahoo!
38
39 YPOPs! was inspired by a Perl script called FetchYahoo written by Ravi
40 Ramkissoon.
41
42 %description -l pl.UTF-8
43 YPOPs! to aplikacja dająca dostęp POP3 do usługi Yahoo! Mail. Jest
44 dostępna na platformach Windows, Linux, Solaris i Mac.
45
46 Yahoo! Mail wyłączył swobodny dostęp do usługi POP3 24 kwietnia 2002.
47 Ta aplikacja emuluje serwer POP3 i umożliwia popularnym klientom
48 pocztowym, takim jak Outlook, Netscape, Eudora, Mozilla itp. ściąganie
49 poczty z kont Yahoo!. Ten program nie jest sprzeczny z licencją Yahoo!
50 Mail, aplikacja jest w pełni legalna.
51
52 Jak to działa? Aplikacja działa bardziej jako bramka. Dostarcza
53 interfejs serwera POP3 z jednej strony w celu komunikacji z klientami
54 pocztowymi oraz interfejs klienta HTTP ("przeglądarkę") z drugiej w
55 celu komunikacji z Yahoo!.
56
57 YPOPs! był zainspirowany skryptem Perla o nazwie FetchYahoo napisanym
58 przez Ravi Ramkissoona.
59
60 %prep
61 %setup -q -n %{name} -a1
62 %patch0 -p1
63 %patch1 -p1
64
65 %build
66 export BIN_LOC=%{_bindir}
67 export LIB_LOC=%{_libdir}
68 export CONFIG_LOC=%{_sysconfdir}
69 export CURL_INC="%{_includedir}/curl"
70 export CURL_LIB="%(curl-config --libs)"
71 export SSL_INC="%(pkg-config openssl --cflags)"
72 export SSL_LIB="%(pkg-config openssl --libs)"
73 export XML_INC="%(xml-config --cflags)"
74 export XML_LIB="%(xml-config --libs)"
75 export MIMEPP="$PWD/mimepp-%{_mimepp_ver}"
76
77 export CFLAGS="%{rpmcflags}"
78 export CXXFLAGS="%{rpmcflags}"
79 export LDFLAGS="%{rpmldflags}"
80
81 cd src
82 %{__make}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86
87 install -D src/ypops \
88         $RPM_BUILD_ROOT%{_bindir}/ypops
89 install -D src/ypops_samplerc \
90         $RPM_BUILD_ROOT%{_sysconfdir}/ypopsrc
91
92 mv mimepp-%{_mimepp_ver}/{License.txt,mimepp-license.txt}
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %files
98 %defattr(644,root,root,755)
99 %doc README docs/{credits.txt,history.txt} mimepp-%{_mimepp_ver}/mimepp-license.txt
100 %attr(755,root,root) %{_bindir}/ypops
101 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ypopsrc
This page took 0.371223 seconds and 3 git commands to generate.