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