summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArkadiusz Miśkiewicz2000-02-29 19:07:26 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitfedb8ddf349a196a183abd87574b257b4938c140 (patch)
tree398a058b22d5cdcaa28cdf0143786acac28488b1
parent9d820a95deaa64400c75adcb7a14a6bc5c2f2fa9 (diff)
download6tunnel-fedb8ddf349a196a183abd87574b257b4938c140.zip
6tunnel-fedb8ddf349a196a183abd87574b257b4938c140.tar.gz
- PLDized
Changed files: 6tunnel.spec -> 1.2
-rw-r--r--6tunnel.spec46
1 files changed, 29 insertions, 17 deletions
diff --git a/6tunnel.spec b/6tunnel.spec
index 33a69de..9e29268 100644
--- a/6tunnel.spec
+++ b/6tunnel.spec
@@ -1,31 +1,43 @@
-Name: 6tunnel
-Version: #VERSION#
-Release: 1
-Group: Networking/Utilities
-Copyright: GPL
-BuildRoot: /var/tmp/%{name}-root
-Source: ftp://amba.bydg.pdi.net/pub/wojtekka/6tunnel-%{version}.tar.gz
-Summary: Simple tunneling for applications that don't speak IPv6.
+Name: 6tunnel
+Version: 0.04
+Release: 1
+Group: Networking/Utilities
+Group(pl): Sieciowe/Narzędzia
+License: GPL
+BuildRoot: /tmp/%{name}-%{version}-root
+Source0: ftp://bzium.eu.org/pub/%{name}-%{version}.tar.gz
+Summary: Simple tunneling for applications that don't speak IPv6.
+Summary(pl): Proste narzędzie do tunelowania.
%description
If you want to access some services that are avaiable only for IPv6 hosts
and the application doesn't support it or you have no time to play with
patches, use this tool. Simple `6tunnel 6668 irc6.net 6667' will do :)
+%description -l pl
+Jeśli chcesz uzyskać dostęp do niektórych usług, dostępnych wyłącznie
+poprzez IPv6 z aplikacji, która nie wspiera IPv6 możesz użyć tego
+narzędzia. Np. `6tunnel 6668 irc6.net 6667'.
+
%prep
-%setup -n 6tunnel
+%setup -q -n %{name}
+
%build
-make
+make CC="gcc $RPM_OPT_FLAGS -Wall"
%install
-rm -rf %{buildroot}
-mkdir -p %{buildroot}/usr/bin %{buildroot}/usr/man/man1
-install 6tunnel %{buildroot}/usr/bin
-install 6tunnel.1 %{buildroot}/usr/man/man1
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+install -s 6tunnel $RPM_BUILD_ROOT%{_bindir}
+install 6tunnel.1 $RPM_BUILD_ROOT%{_mandir}/man1
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/*
%clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
%files
-/usr/bin/6tunnel
-/usr/man/man1/6tunnel.1
+%defattr(644,root,root,755)
+%{_bindir}/6tunnel
+%{_mandir}/man1/6tunnel.*