[packages/tinyproxy] up to 1.8.4, project moved to sf->bb->gh
glen
glen at pld-linux.org
Wed Jan 6 21:18:01 CET 2016
commit 976e49a044d5c67db4391f59acf8c7b02f355200
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Jan 6 22:17:20 2016 +0200
up to 1.8.4, project moved to sf->bb->gh
tinyproxy-ac.patch | 10 ----------
tinyproxy.init | 0
tinyproxy.spec | 37 +++++++++++++------------------------
3 files changed, 13 insertions(+), 34 deletions(-)
---
diff --git a/tinyproxy.spec b/tinyproxy.spec
index 3ec72ff..49d2e43 100644
--- a/tinyproxy.spec
+++ b/tinyproxy.spec
@@ -1,20 +1,14 @@
-# TODO: Review -ac.patch if it's still neded.
Summary: Small HTTP/SSL proxy daemon
Summary(pl.UTF-8): Mały demon proxy
Name: tinyproxy
-Version: 1.8.3
+Version: 1.8.4
Release: 1
License: GPL v2
Group: Networking/Daemons/HTTP
-# Source0: http://dl.sourceforge.net/tinyproxy/%{name}-%{version}.tar.gz
-Source0: https://files.banu.com/tinyproxy/1.8/%{name}-%{version}.tar.bz2
-# Source0-md5: 292ac51da8ad6ae883d4ebf56908400d
+Source0: https://github.com/tinyproxy/tinyproxy/releases/download/%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5: 1c65daa8ca3394999f218a832112f35f
Source1: %{name}.init
-## Patch1: %{name}-ac.patch
-URL: http://tinyproxy.sourceforge.net/
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: libtool
+URL: https://tinyproxy.github.io/
BuildRequires: rpmbuild(macros) >= 1.228
Requires(post,preun): /sbin/chkconfig
Requires: rc-scripts
@@ -30,27 +24,22 @@ przydatny w małych sieciach lokalnych.
%prep
%setup -q
-# %patch1 -p1
%build
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure \
+%configure \
+ --disable-silent-rules \
--enable-transparent
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man5,%{_mandir}/man8,%{_sysconfdir}/tinyproxy,/etc/rc.d/init.d,%{_datadir}/%{name}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man5,%{_mandir}/man8,%{_sysconfdir}/%{name},/etc/rc.d/init.d,%{_datadir}/%{name}}
cp -p src/tinyproxy $RPM_BUILD_ROOT%{_bindir}
cp -p data/templates/*.html $RPM_BUILD_ROOT%{_datadir}/%{name}
cp -p docs/man8/tinyproxy.8 $RPM_BUILD_ROOT%{_mandir}/man8
cp -p docs/man5/tinyproxy.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
-cp -p etc/tinyproxy.conf $RPM_BUILD_ROOT%{_sysconfdir}/tinyproxy
+cp -p etc/tinyproxy.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/tinyproxy
%clean
@@ -69,10 +58,10 @@ fi
%files
%defattr(644,root,root,755)
%doc AUTHORS README TODO
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/tinyproxy
%{_datadir}/%{name}
-%dir %{_sysconfdir}/tinyproxy
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tinyproxy/tinyproxy.conf
+%dir %{_sysconfdir}/%{name}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/tinyproxy.conf
%attr(754,root,root) /etc/rc.d/init.d/tinyproxy
-%{_mandir}/man8/tinyproxy.*
-%{_mandir}/man5/tinyproxy.conf.*
+%{_mandir}/man5/tinyproxy.conf.5*
+%{_mandir}/man8/tinyproxy.8*
diff --git a/tinyproxy-ac.patch b/tinyproxy-ac.patch
deleted file mode 100644
index 49aac80..0000000
--- a/tinyproxy-ac.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- tinyproxy-1.7.0/configure.ac~ 2004-01-26 19:56:25.000000000 +0100
-+++ tinyproxy-1.7.0/configure.ac 2013-02-16 21:59:52.717464837 +0100
-@@ -229,7 +229,6 @@
- dnl
- dnl Checks for types
- dnl
--AM_C_PROTOTYPES
- AC_C_CONST
- AC_C_INLINE
- AC_TYPE_SIZE_T
diff --git a/tinyproxy.init b/tinyproxy.init
old mode 100644
new mode 100755
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tinyproxy.git/commitdiff/976e49a044d5c67db4391f59acf8c7b02f355200
More information about the pld-cvs-commit
mailing list