SPECS: kernel-isdn-fcpci.spec - some cleanups
qboosh
qboosh at pld-linux.org
Tue Dec 20 23:56:01 CET 2005
Author: qboosh Date: Tue Dec 20 22:56:01 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- some cleanups
---- Files affected:
SPECS:
kernel-isdn-fcpci.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/kernel-isdn-fcpci.spec
diff -u SPECS/kernel-isdn-fcpci.spec:1.1 SPECS/kernel-isdn-fcpci.spec:1.2
--- SPECS/kernel-isdn-fcpci.spec:1.1 Sun Dec 18 22:22:11 2005
+++ SPECS/kernel-isdn-fcpci.spec Tue Dec 20 23:55:56 2005
@@ -1,23 +1,15 @@
# $Revision$, $Date$
#
-# Replace fcpci with real module name and isdn/hardware
-# with required directory name.
-#
# Conditional build:
%bcond_without dist_kernel # allow non-distribution kernel
%bcond_without kernel # don't build kernel modules
%bcond_with smp # don't build SMP module
%bcond_without userspace # don't build userspace programs
%bcond_with verbose # verbose build (V=1)
-
-
+#
%if %{without kernel}
%undefine with_dist_kernel
%endif
-
-#
-# main package.
-#
Summary: CAPI 2.0 driver of the AVM FRITZ! controller (ISDN TA)
Summary(pl): Sterownik CAPI 2.0 do kontrolera AVM FRITZ! (ISDN TA)
Name: kernel-isdn-fcpci
@@ -26,19 +18,14 @@
%define _rel 0.1
Release: %{_rel}
Epoch: 0
-License: Propriethary, use is permited. Copyright (C) 2002, AVM GmbH. All rights reserved.
-Group: aqq
-###### /home/users/hunter/rpm/SOURCES/rpm.groups: no such file
-Vendor: AVM GmbH
-#Icon: -
+License: Proprietary, use is permited. Copyright (C) 2002, AVM GmbH. All rights reserved.
+Group: Base/Kernel
Source0: ftp://ftp.avm.de/cardware/fritzcrd.pci/linux/suse.93/fcpci-suse93-%{version}-%{sub_ver}.tar.gz
# Source0-md5: 3ee301b5d0e8df9e4b915af58b725556
-
# to be done:
#Source1: http://www.quiss.org/caiviar/Two-Fritzcards-HOWTO
# Source1-md5: -
-#Patch0: %{name}-what.patch
-#URL: -
+URL: http://www.avm.de/de/Produkte/FRITZCard/
%if %{with kernel}
%{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7}
BuildRequires: rpmbuild(macros) >= 1.217
@@ -51,79 +38,60 @@
- CAPI 2.0 driver of the controller
- CAPI 2.0 plug-in for the Generic PPP-Stack "pppd"
-#AVM offers additional downloads of the following tools: #-
-CAPI4HylaFAX, a CAPI 2.0 interface for the fax application "HylaFAX".
-#ftp.avm.de/tools/capi4hylafax.linux #- The AVM CAPI 2.0 Software
-Development Kit (SDK) - a CAPI 2.0 development tool.
-#ftp.avm.de/develper/capi-adk #- K ISDN Watch which shows the B
-channel activity of CAPI based hardware.
-#ftp.avm.de/tools/k_isdn_watch.linux #- K ADSL Watch a universal ADSL
-monitor of the AVM ADSL/ISDN-Controller. #
-ftp.avm.de/tools/k_adsl_watch.linux
-
-
-
%description -l pl
Ten pakiet zawiera CAPI4Linux dla kontrolerów AVM FRITRZ!. W pakiecie
znajdują się:
- Sterownik CAPI 2.0
-- Plug-in CAPI 2.0 dla pppd
+- Wtyczka CAPI 2.0 dla pppd
-# kernel subpackages.
-
-%package -n kernel-isdn/hardware-fcpci
+%package -n kernel-isdn-fcpci
Summary: Linux driver for fcpci
Summary(pl): Sterownik dla Linuksa do fcpci
Release: %{_rel}@%{_kernel_ver_str}
Group: Base/Kernel
-###### /home/users/hunter/rpm/SOURCES/rpm.groups: no such file
Requires(post,postun): /sbin/depmod
%if %{with dist_kernel}
%requires_releq_kernel_up
Requires(postun): %releq_kernel_up
%endif
-%description -n kernel-isdn/hardware-fcpci
+%description -n kernel-isdn-fcpci
This is driver for fcpci for Linux.
This package contains Linux module.
-%description -n kernel-isdn/hardware-fcpci -l pl
+%description -n kernel-isdn-fcpci -l pl
Sterownik dla Linuksa do fcpci.
Ten pakiet zawiera moduł jądra Linuksa.
-%package -n kernel-smp-isdn/hardware-fcpci
+%package -n kernel-smp-isdn-fcpci
Summary: Linux SMP driver for fcpci
Summary(pl): Sterownik dla Linuksa SMP do fcpci
Release: %{_rel}@%{_kernel_ver_str}
Group: Base/Kernel
-###### /home/users/hunter/rpm/SOURCES/rpm.groups: no such file
Requires(post,postun): /sbin/depmod
%if %{with dist_kernel}
%requires_releq_kernel_smp
Requires(postun): %releq_kernel_smp
%endif
-%description -n kernel-smp-isdn/hardware-fcpci
+%description -n kernel-smp-isdn-fcpci
This is driver for fcpci for Linux.
This package contains Linux SMP module.
-%description -n kernel-smp-isdn/hardware-fcpci -l pl
+%description -n kernel-smp-isdn-fcpci -l pl
Sterownik dla Linuksa do fcpci.
Ten pakiet zawiera moduł jądra Linuksa SMP.
%prep
-
-
%setup -q -n fritz
%build
%if %{with userspace}
-
%endif
%if %{with kernel}
@@ -149,9 +117,6 @@
%endif
ln -sf %{_kernelsrcdir}/Module.symvers-$cfg Module.symvers
touch include/config/MARKER
-#
-# patching/creating makefile(s) (optional)
-#
%{__make} -C %{_kernelsrcdir} clean \
RCS_FIND_IGNORE="-name '*.ko' -o" \
M=$PWD O=$PWD \
@@ -163,7 +128,6 @@
mv fcpci1{,-$cfg}.ko
mv fcpci2{,-$cfg}.ko
-
done
%endif
@@ -172,7 +136,6 @@
%if %{with userspace}
-
%endif
%if %{with kernel}
@@ -205,6 +168,9 @@
%postun -n kernel-smp-isdn/hardware-fcpci
%depmod %{_kernel_ver}smp
+%if %{with userspace}
+%endif
+
%if %{with kernel}
%files -n kernel-isdn/hardware-fcpci
%defattr(644,root,root,755)
@@ -217,19 +183,14 @@
%endif
%endif
-%if %{with userspace}
-%files
-%defattr(644,root,root,755)
-
-%endif
-
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2005/12/20 22:55:56 qboosh
+- some cleanups
+
Revision 1.1 2005/12/18 21:22:11 hunter
- new
-
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/kernel-isdn-fcpci.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list