]> git.pld-linux.org Git - packages/capi4k-utils.git/blobdiff - capi4k-utils.spec
- ppp-plugin-capi requires ppp 3:ver, not ver
[packages/capi4k-utils.git] / capi4k-utils.spec
index 6b11170b968910782bfb70e6fc74efa54215faee..81e82529ef389849fd578434413c53a01c7f96d3 100644 (file)
@@ -6,7 +6,7 @@ Summary(de):    CAPI 2.0 Werkzeuge f
 Summary(pl):   Biblioteki i narzêdzia konfiguracyjne CAPI 2.0
 Name:          capi4k-utils
 Version:       2004.10.06
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/Communications
 Source0:       ftp://ftp.in-berlin.de/pub/capi4linux/%{name}-2004-10-06.tar.gz
@@ -16,6 +16,7 @@ Source1:      ftp://ftp.in-berlin.de/pub/capi4linux/CHANGES
 Source10:      capi.conf
 Source11:      capi.init
 Patch0:                %{name}-make.patch
+Patch1:                %{name}-amd64.patch
 URL:           ftp://ftp.in-berlin.de/pub/capi4linux/
 BuildRequires: libtool
 BuildRequires: ppp-plugin-devel
@@ -136,7 +137,7 @@ Summary:    capiplugin for pppd-%{ppp_ver}
 Summary(pl):   Wtyczka capi dla pppd w wersji %{ppp_ver}
 Group:         Applications/Communications
 Requires:      %{name} = %{version}-%{release}
-Requires:      ppp = %{ppp_ver}
+Requires:      ppp = 3:%{ppp_ver}
 
 %description -n ppp-plugin-capi
 capiplugin for pppd-%{ppp_ver}.
@@ -147,12 +148,16 @@ Wtyczka capi dla pppd w wersji %{ppp_ver}.
 %prep
 %setup -q -n %{name}
 %patch0 -p1
+%if "%{_lib}" == "lib64"
+%patch1 -p1
+%endif
 
 cat > .config << END
 CONFIG_BINDIR='%{_bindir}'
 CONFIG_SBINDIR='%{_sbindir}'
 CONFIG_MANDIR='%{_mandir}'
 CONFIG_AVMCAPICTRL=y
+CONFIG_LIBDIR='%{_libdir}'
 %{?with_capifax:CONFIG_CAPIFAX=y}
 CONFIG_RCAPID=y
 CONFIG_PPPDCAPIPLUGIN=y
This page took 0.067204 seconds and 4 git commands to generate.