]> git.pld-linux.org Git - packages/vtun.git/blobdiff - vtun.spec
- release 2: added rc-scripts to Prereq.
[packages/vtun.git] / vtun.spec
index 4c0a98a0fb81340d24912c164606d3f1abb6d286..dc67baa71613ce5bab1408cecb07c8d1485a1296 100644 (file)
--- a/vtun.spec
+++ b/vtun.spec
@@ -1,17 +1,24 @@
 Summary:       Virtual tunnel over TCP/IP networks
+Summary(pl):   Wirtualne tunele poprzez sieci TCP/IP
 Name:          vtun
-Version:       2.2
-Release:       1
+Version:       2.4
+Release:       2
+Epoch:         1
 License:       GPL
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Vendor:                Maxim Krasnyansky <max_mk@yahoo.com>
-Source0:       ftp://vtun.sourceforge.net/pub/vtun/%{name}-%{version}.tar.gz
+Source0:       http://vtun.sourceforge.net/%{name}-%{version}.tar.gz
 Source1:       %{name}.init
 Patch0:                %{name}-makefile.patch
 URL:           http://vtun.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: autoconf
+BuildRequires: lzo-devel
 BuildRequires: openssl-devel
 BuildRequires: zlib-devel
+Prereq:                rc-scripts
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     vppp
 
@@ -27,14 +34,23 @@ IP, Shaped Internet access, IP address saving, etc. It is completely
 user space implementation and does not require modification to any
 kernel parts. You need SSLeay-devel and lzo-devel to build it.
 
+%description -l pl
+VTun umo¿liwia tworzenie Wirtualnych Tunelu poprzez sieci TCP/IP
+wraz z przydzielaniem pasma, kompresj±, szyfrowaniem danych w tunelach.
+Wspierane typy tuneli to: PPP, IP, Ethernet i wiêkszo¶æ pozosta³ych
+protoko³ów szeregowych.
+
 %prep
 %setup -q
 %patch -p1
+
 %build
-LDFLAGS="-s"; export LDFLAGS
+aclocal
+autoconf
 %configure \
-       --with-crypto-headers=%{_includedir}/openssl
-make
+       --with-crypto-headers=%{_includedir}/openssl \
+       --enable-lzo
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -45,8 +61,7 @@ install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} \
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/vtund
 
-gzip -9nf ChangeLog Credits README README.Setup README.Shaper FAQ TODO \
-       $RPM_BUILD_ROOT%{_mandir}/*/*
+gzip -9nf ChangeLog Credits README README.Setup README.Shaper FAQ TODO
 
 %post
 /sbin/chkconfig --add vtund
@@ -74,4 +89,4 @@ rm -rf $RPM_BUILD_ROOT
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/vtund.conf
 %attr(755,root,root) %{_sbindir}/vtund
 %attr(755,root,root) %dir /var/log/vtund
-%{_mandir}/man8/*
+%{_mandir}/man*/*
This page took 0.418043 seconds and 4 git commands to generate.