summaryrefslogtreecommitdiff
path: root/udptunnel.spec
diff options
context:
space:
mode:
authorJakub Bogusz2020-08-25 19:50:23 (GMT)
committerJakub Bogusz2020-08-25 19:50:23 (GMT)
commit1bf4b04e09dd1192a5c22a5a756161ea946f0c58 (patch)
tree9d75a0ce235f1878d13e9a0a438e3d01fd5e564b /udptunnel.spec
parent241e43313b601acb76462680cad8d7c86433dbca (diff)
downloadudptunnel-master.zip
udptunnel-master.tar.gz
- added no-explicit-nis patch (don't perform custom NIS lookups, rely on nsswitch; drops direct libnsl usage)HEADauto/th/udptunnel-1.1-2master
- added man page from Debian - release 2
Diffstat (limited to 'udptunnel.spec')
-rw-r--r--udptunnel.spec13
1 files changed, 10 insertions, 3 deletions
diff --git a/udptunnel.spec b/udptunnel.spec
index ecfde3d..980f10f 100644
--- a/udptunnel.spec
+++ b/udptunnel.spec
@@ -2,11 +2,14 @@ Summary: Tunnels UDP over a TCP connection
Summary(pl.UTF-8): Tunelowanie UDP po połączeniu TCP
Name: udptunnel
Version: 1.1
-Release: 1
+Release: 2
License: BSD-like
Group: Applications/Networking
-Source0: ftp://ftp.cs.columbia.edu/pub/lennox/udptunnel/%{name}-%{version}.tar.gz
+Source0: http://www1.cs.columbia.edu/~lennox/udptunnel/%{name}-%{version}.tar.gz
# Source0-md5: 1e64753a502f2c12386fa0b7baaf50ba
+# from Debian
+Source1: %{name}.1
+Patch0: %{name}-no-explicit-nis.patch
URL: http://www1.cs.columbia.edu/~lennox/udptunnel/
BuildRequires: autoconf
BuildRequires: automake
@@ -28,6 +31,7 @@ tylko z ruchem RTP.
%prep
%setup -q
+%patch0 -p1
%build
%{__aclocal}
@@ -42,10 +46,13 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+install -Dp %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/udptunnel.1
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc COPYRIGHT README udptunnel.html
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/udptunnel
+%{_mandir}/man1/udptunnel.1*