X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcapi4k-utils.git;a=blobdiff_plain;f=capi4k-utils.spec;h=434dd74a8557cb254f374d0b935e5cd0b2f01392;hp=68524604e0469189a3ee1770ddf8234ac71bae48;hb=df6e80661299d8136349c431c763ab786227f561;hpb=cd0c35f076b1f1dc318f20ca70b3e49edd470deb diff --git a/capi4k-utils.spec b/capi4k-utils.spec index 6852460..434dd74 100644 --- a/capi4k-utils.spec +++ b/capi4k-utils.spec @@ -6,14 +6,17 @@ 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: 3 License: GPL Group: Applications/Communications Source0: ftp://ftp.in-berlin.de/pub/capi4linux/%{name}-2004-10-06.tar.gz +# Source0-md5: 54992ff362ca44629fdf59773a6864cd Source1: ftp://ftp.in-berlin.de/pub/capi4linux/CHANGES +# Source1-md5: 054b9f2bf1b0c0fc1eb5010ca0c9380d 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 @@ -134,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}. @@ -145,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