Install man page from Debian
This commit is contained in:
parent
ded6f4353e
commit
46fbdf01a3
@ -11,6 +11,8 @@ Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
URL: https://libproxy.github.io/libproxy/
|
||||
Source0: https://github.com/libproxy/%{name}/archive/%{version}.tar.gz
|
||||
# Taken from the Debian package.
|
||||
Source1: proxy.1
|
||||
# http://code.google.com/p/libproxy/issues/detail?id=152
|
||||
Patch0: 0001-Add-config-module-for-querying-PacRunner-d-mon.patch
|
||||
# Taken from upstream git.
|
||||
@ -165,10 +167,13 @@ make VERBOSE=1 %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
||||
|
||||
#In case all modules are disabled
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/%{version}/modules
|
||||
mkdir -p %{buildroot}%{_libdir}/%{name}/%{version}/modules
|
||||
|
||||
# Man page.
|
||||
install -Dpm 0644 %{SOURCE1} %{buildroot}/%{_mandir}/man1/proxy.1
|
||||
|
||||
%check
|
||||
make test
|
||||
@ -188,6 +193,7 @@ make test
|
||||
|
||||
%files bin
|
||||
%{_bindir}/proxy
|
||||
%{_mandir}/man1/proxy.1*
|
||||
|
||||
%if ! 0%{?bootstrap}
|
||||
%files python
|
||||
@ -231,6 +237,7 @@ make test
|
||||
- Apply an upstream patch to pair new[] with delete[]
|
||||
- Fix slowdown in KDE plugin
|
||||
- Make the pacrunner subpackage depend on pacrunner (#1171679)
|
||||
- Install man page from Debian
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.11-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
23
proxy.1
Normal file
23
proxy.1
Normal file
@ -0,0 +1,23 @@
|
||||
.TH PROXY "1" "September 2013" "libproxy" "User Commands"
|
||||
.SH NAME
|
||||
proxy \- Display the proxy server that should be used to reach a given a network resource
|
||||
.SH SYNOPSIS
|
||||
proxy
|
||||
.SH DESCRIPTION
|
||||
Display the proxy server that should be used to reach a given a network resource.
|
||||
.PP
|
||||
libproxy is a library that provides automatic proxy configuration management
|
||||
using different backends.
|
||||
.SH EXAMPLE
|
||||
.B echo http://www.example.com/ | proxy
|
||||
http://webcache:3128 direct://
|
||||
.SH AUTHOR
|
||||
This manual page was written by
|
||||
.MT bigon@debian.org
|
||||
Laurent Bigonville
|
||||
.ME ,
|
||||
for the Debian GNU/Linux system (but may be used by others).
|
||||
.SH SEE ALSO
|
||||
.UR http://code.google.com/p/libproxy/
|
||||
libproxy
|
||||
.UE .
|
Loading…
Reference in New Issue
Block a user