]> git.pld-linux.org Git - packages/6tunnel.git/commitdiff
- PLDized
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 29 Feb 2000 19:07:26 +0000 (19:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    6tunnel.spec -> 1.2

6tunnel.spec

index 33a69de79a286034256d0f567e70abe4657bc8e9..9e292686b5198b128736b846312fbd4793376f7d 100644 (file)
@@ -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.*
This page took 0.092877 seconds and 4 git commands to generate.