]> git.pld-linux.org Git - packages/6tunnel.git/blobdiff - 6tunnel.spec
- don't add pre/beta/rc to version
[packages/6tunnel.git] / 6tunnel.spec
index 8c6346400c1c119b574ce3138b6916d0ff706043..3ba6c5ff74f6d5f022a6ecaa32a58b6b20d348f1 100644 (file)
@@ -1,18 +1,26 @@
+# TODO: decide to use libinet6 or not
+Summary:       Simple tunneling for applications that don't speak IPv6
+Summary(pl):   Proste narzêdzie do tunelowania
 Name:          6tunnel
-Version:       0.04
-Release:       1
-Group:         Networking/Utilities
-Group(pl):     Sieciowe/Narzêdzia
+Version:       0.11
+Release:       0.rc1
 License:       GPL
+Group:         Networking/Utilities
+Source0:       http://toxygen.net/6tunnel/%{name}-%{version}rc1.tar.gz
+# Source0-md5: b325fa9d238e32195fbb3fc3646b0d28
+URL:           http://toxygen.net/6tunnel/
+# probably not needed, but used if found, so BR or BC is needed
+# to force stable build environment
+# (should be disabled in configure if not needed)
+BuildRequires: autoconf
+BuildRequires: libinet6
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-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 :)
+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
@@ -20,23 +28,25 @@ poprzez IPv6 z aplikacji, kt
 narzêdzia. Np. `6tunnel 6668 irc6.net 6667'.
 
 %prep
-%setup -q -n %{name}
+%setup -q -n %{name}-0.11
 
 %build
-make CC="gcc $RPM_OPT_FLAGS -Wall"
+%{__autoconf}
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
 
-install -d         $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
-install -s 6tunnel $RPM_BUILD_ROOT%{_bindir}
-install 6tunnel.1  $RPM_BUILD_ROOT%{_mandir}/man1
-gzip -9nf         $RPM_BUILD_ROOT%{_mandir}/man*/*
+install 6tunnel                $RPM_BUILD_ROOT%{_bindir}
+install 6tunnel.1      $RPM_BUILD_ROOT%{_mandir}/man1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc ChangeLog contrib/cron.sh
 %attr(755,root,root) %{_bindir}/6tunnel
-%{_mandir}/man1/6tunnel.*
+%{_mandir}/man?/*
This page took 0.093205 seconds and 4 git commands to generate.