4 Summary: 3APA3A 3proxy tiny proxy server
5 Summary(pl.UTF-8): Mały serwer proxy 3APA3A 3proxy
9 License: BSD or Apache v2.0 or LGPL v2.1+
10 Group: Networking/Daemons
11 #Source0Download: https://github.com/z3APA3A/3proxy/releases/
12 Source0: https://github.com/z3APA3A/3proxy/archive/%{version}/%{name}-%{version}.tar.gz
13 # Source0-md5: d9420c56f05fb78bf9043dd8a30c6a1c
14 URL: https://3proxy.ru/?l=EN
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 3APA3A 3proxy tiny proxy server.
20 %description -l pl.UTF-8
21 Mały serwer proxy 3APA3A 3proxy.
27 %{__make} -f Makefile.Linux \
29 CFLAGS="%{rpmcflags} %{rpmcppflags} -fno-strict-aliasing -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -c" \
32 LDFLAGS="%{rpmldflags} %{rpmcflags} -pthread"
35 rm -rf $RPM_BUILD_ROOT
37 %{__make} -f Makefile.Linux install \
38 DESTDIR=$RPM_BUILD_ROOT \
40 ETCDIR=$RPM_BUILD_ROOT%{_sysconfdir}/3proxy
43 %{__mv} $RPM_BUILD_ROOT%{_mandir}/man{3,5}
44 %{__mv} $RPM_BUILD_ROOT%{_mandir}/man5/3proxy.cfg.{3,5}
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %doc README Release.notes authors copying doc/html
53 %dir %{_sysconfdir}/3proxy
54 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/3proxy/bandlimiters
55 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/3proxy/counters
56 # FIXME: 3proxy specific user?
57 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/3proxy/passwd
58 %attr(755,root,root) %{_bindir}/3proxy
59 %attr(755,root,root) %{_bindir}/dighosts
60 %attr(755,root,root) %{_bindir}/ftppr
61 %attr(755,root,root) %{_bindir}/mycrypt
62 %attr(755,root,root) %{_bindir}/pop3p
63 %attr(755,root,root) %{_bindir}/proxy
64 %attr(755,root,root) %{_bindir}/socks
65 %attr(755,root,root) %{_bindir}/tcppm
66 %attr(755,root,root) %{_bindir}/udppm
67 %{_mandir}/man5/3proxy.cfg.5*
68 %{_mandir}/man8/3proxy.8*
69 %{_mandir}/man8/ftppr.8*
70 %{_mandir}/man8/icqpr.8*
71 %{_mandir}/man8/pop3p.8*
72 %{_mandir}/man8/proxy.8*
73 %{_mandir}/man8/smtpp.8*
74 %{_mandir}/man8/socks.8*
75 %{_mandir}/man8/tcppm.8*
76 %{_mandir}/man8/udppm.8*