1 Summary: Small HTTP/SSL proxy daemon
2 Summary(pl.UTF-8): Mały demon proxy
7 Group: Networking/Daemons/HTTP
8 Source0: https://github.com/tinyproxy/tinyproxy/releases/download/%{version}/%{name}-%{version}.tar.bz2
9 # Source0-md5: 1c65daa8ca3394999f218a832112f35f
11 URL: https://tinyproxy.github.io/
12 BuildRequires: rpmbuild(macros) >= 1.228
13 Requires(post,preun): /sbin/chkconfig
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Tinyproxy is a small, efficient HTTP/SSL proxy daemon. Tinyproxy is
19 very useful in a small network.
21 %description -l pl.UTF-8
22 Tinyproxy jest małym, wydajnym demonem proxy HTTP/SSL. Jest bardzo
23 przydatny w małych sieciach lokalnych.
30 --disable-silent-rules \
31 --sysconfdir=%{_sysconfdir}/%{name} \
37 rm -rf $RPM_BUILD_ROOT
39 DESTDIR=$RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
42 cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/tinyproxy
45 rm -rf $RPM_BUILD_ROOT
48 /sbin/chkconfig --add tinyproxy
49 %service tinyproxy restart "tinyproxy daemon"
52 if [ "$1" = "0" ]; then
53 %service tinyproxy stop
54 /sbin/chkconfig --del tinyproxy
58 %defattr(644,root,root,755)
59 %doc AUTHORS README TODO
60 %attr(755,root,root) %{_sbindir}/tinyproxy
62 %dir %{_sysconfdir}/%{name}
63 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/tinyproxy.conf
64 %attr(754,root,root) /etc/rc.d/init.d/tinyproxy
65 %{_mandir}/man5/tinyproxy.conf.5*
66 %{_mandir}/man8/tinyproxy.8*