]> git.pld-linux.org Git - packages/fakepop.git/blob - fakepop.spec
d50fbc16c1f562497b3aad0ac5190a00079b741a
[packages/fakepop.git] / fakepop.spec
1 Summary:        Fake POP3 daemon, delivers same messages to all users
2 Summary(pl.UTF-8):      Fałszywy demon POP3, dostarczający te same wiadomości do wszystkich
3 Name:           fakepop
4 Version:        8
5 Release:        0.1
6 License:        GPL
7 Group:          Applications
8 Source0:        http://vztech.com.br/public/software/fakepop/%{name}-src-%{version}.tar.gz
9 # Source0-md5:  9872ab86c626e44486ffd6016176713c
10 URL:            http://vztech.com.br/public/software/fakepop/
11 BuildRequires:  glib2-devel >= 2.0
12 BuildRequires:  pkgconfig
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 fakepop is a fake POP3 daemon. It returns always the same messages to
17 all users, it does not care about usernames and passwords. All
18 user/pass combinations are accepted.
19
20 The main purpose of fakepop is to advice users that your server only
21 accepts pop3-ssl and they have wrongly configured pop3 without SSL.
22 You can customize messages in /etc/fakepop/ directory to teach your
23 users how they should configure their mail clients to use pop3-ssl
24 instead of pop3.
25
26 %description -l pl.UTF-8
27 fakepop to fałszywy demon POP3. Zwraca wszystkim użytkownikom zawsze
28 te same wiadomości, niezależnie od nazw użytkowników i haseł.
29 Wszystkie kombinacje nazw użytkownika i haseł są przyjmowane.
30
31 Głównym celem fakepop jest doradzenie użytkownikom, że serwer
32 przyjmuje wyłącznie połączenia pop3-ssl, a oni mają błędnie
33 skonfigurowane pop3 bez SSL. Komunikaty można zmienić w katalogu
34 /etc/fakepop/, aby pouczyć użytkowników, jak powinni skonfigurować
35 swoje programy pocztowe do używania pop3-ssl zamiast pop3.
36
37 %prep
38 %setup -q
39
40 %build
41 %{__make} \
42         CC="%{__cc}" \
43         CFLAGS="%{rpmcflags} -D_GNU_SOURCE `pkg-config --cflags glib-2.0`"
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 install -d $RPM_BUILD_ROOT%{_sysconfdir}/fakepop
49 install -D fakepop      $RPM_BUILD_ROOT%{_sbindir}/in.fakepop
50 install -D in.fakepop.8 $RPM_BUILD_ROOT%{_mandir}/man8/in.fakepop
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc README.*
58 %dir %{_sysconfdir}/fakepop
59 %attr(755,root,root) %{_sbindir}/*
60 %{_mandir}/man8/*
This page took 0.061597 seconds and 2 git commands to generate.