SPECS: zaptel.spec - alt kernel merge from AC-branch
glen
glen at pld-linux.org
Fri Apr 4 18:13:52 CEST 2008
Author: glen Date: Fri Apr 4 16:13:52 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- alt kernel merge from AC-branch
---- Files affected:
SPECS:
zaptel.spec (1.105 -> 1.106)
---- Diffs:
================================================================
Index: SPECS/zaptel.spec
diff -u SPECS/zaptel.spec:1.105 SPECS/zaptel.spec:1.106
--- SPECS/zaptel.spec:1.105 Thu Mar 27 21:52:28 2008
+++ SPECS/zaptel.spec Fri Apr 4 18:13:46 2008
@@ -13,19 +13,31 @@
%bcond_without userspace # don't build userspace tools
%bcond_with oslec # with Open Source Line Echo Canceller
%bcond_with bristuff # with bristuff support
-#
+
+%ifarch sparc
+%undefine with_smp
+%endif
+
+%if %{without kernel}
+%undefine with_dist_kernel
+%endif
+%if "%{_alt_kernel}" != "%{nil}"
+%undefine with_userspace
+%endif
+
%define rel 4
+%define pname zaptel
Summary: Zaptel telephony device support
Summary(pl.UTF-8): Obsługa urządzeń telefonicznych Zaptel
-Name: zaptel
+Name: %{pname}%{_alt_kernel}
Version: 1.4.8
Release: %{rel}
License: GPL
Group: Base/Kernel
-Source0: http://ftp.digium.com/pub/zaptel/releases/%{name}-%{version}.tar.gz
+Source0: http://ftp.digium.com/pub/zaptel/releases/%{pname}-%{version}.tar.gz
# Source0-md5: f57e1ba86a3dd4ef141ca3831e11c076
-Source1: %{name}.init
-Source2: %{name}.sysconfig
+Source1: %{pname}.init
+Source2: %{pname}.sysconfig
Source3: http://ftp.digium.com/pub/telephony/firmware/releases/zaptel-fw-oct6114-064-1.05.01.tar.gz
# Source3-md5: 18e6e6879070a8d61068e1c87b8c2b22
Source4: http://ftp.digium.com/pub/telephony/firmware/releases/zaptel-fw-oct6114-128-1.05.01.tar.gz
@@ -34,10 +46,10 @@
# Source5-md5: ec5c96f7508bfb0e0b8be768ea5f3aa2
Source6: http://downloads.digium.com/pub/telephony/firmware/releases/zaptel-fw-vpmadt032-1.07.tar.gz
# Source6-md5: 7916c630a68fcfd38ead6caf9b55e5a1
-Patch0: %{name}-make.patch
-Patch1: %{name}-sangoma.patch
-Patch2: %{name}-oslec.patch
-Patch3: %{name}-bristuff.patch
+Patch0: %{pname}-make.patch
+Patch1: %{pname}-sangoma.patch
+Patch2: %{pname}-oslec.patch
+Patch3: %{pname}-bristuff.patch
URL: http://www.asterisk.org/
%if %{with kernel} && %{with dist_kernel}
BuildRequires: kernel-module-build
@@ -60,7 +72,7 @@
Summary: Zaptel development headers
Summary(pl.UTF-8): Pliki nagłówkowe Zaptel
Group: Development/Libraries
-Requires: %{name} = %{version}-%{rel}
+Requires: %{pname} = %{version}-%{rel}
%{?with_bristuff:Provides: zaptel-devel(bristuff)}
%description devel
@@ -73,7 +85,7 @@
Summary: Zaptel static library
Summary(pl.UTF-8): Biblioteka statyczna Zaptel
Group: Development/Libraries
-Requires: %{name}-devel = %{version}-%{rel}
+Requires: %{pname}-devel = %{version}-%{rel}
%{?with_bristuff:Provides: zaptel-static(bristuff)}
%description static
@@ -98,7 +110,7 @@
Summary(pl.UTF-8): Skrypty inicjalizujące Zaptel
Group: Applications/Communications
Requires(post,preun): /sbin/chkconfig
-Requires: %{name}-utils = %{version}-%{rel}
+Requires: %{pname}-utils = %{version}-%{rel}
Requires: rc-scripts
%description init
@@ -107,7 +119,7 @@
%description init -l pl.UTF-8
Inicjalizacja Zaptel w czasie startu systemu.
-%package -n kernel%{_alt_kernel}-%{name}
+%package -n kernel%{_alt_kernel}-%{pname}
Summary: Zaptel Linux kernel driver
Summary(pl.UTF-8): Sterownik Zaptel dla jądra Linuksa
Release: %{rel}@%{_kernel_ver_str}
@@ -119,17 +131,17 @@
%{?with_oslec:Requires: kernel-misc-oslec = 20070608-0.1@%{_kernel_ver_str}}
%endif
-%description -n kernel%{_alt_kernel}-%{name}
+%description -n kernel%{_alt_kernel}-%{pname}
Zaptel telephony Linux kernel driver.
-%description -n kernel%{_alt_kernel}-%{name} -l pl.UTF-8
+%description -n kernel%{_alt_kernel}-%{pname} -l pl.UTF-8
Sterownik dla jądra Linuksa do urządzeń telefonicznych Zaptel.
%package -n perl-Zaptel
Summary: Perl interface to Zaptel
Summary(pl.UTF-8): Perlowy interfejs do Zaptela
Group: Development/Languages/Perl
-Requires: %{name} = %{version}-%{rel}
+Requires: %{pname} = %{version}-%{rel}
%description -n perl-Zaptel
Perl inferface to Zaptel.
@@ -138,7 +150,7 @@
Perlowy interfejs do Zaptela.
%prep
-%setup -q
+%setup -q -n %{pname}-%{version}
%patch0 -p1
%patch1 -p1
%{?with_oslec:%patch2 -p1}
@@ -236,20 +248,20 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post -n kernel%{_alt_kernel}-%{name}
+%post -n kernel%{_alt_kernel}-%{pname}
%depmod %{_kernel_ver}
-%postun -n kernel%{_alt_kernel}-%{name}
+%postun -n kernel%{_alt_kernel}-%{pname}
%depmod %{_kernel_ver}
%post init
-/sbin/chkconfig --add %{name}
-%service %{name} restart
+/sbin/chkconfig --add %{pname}
+%service %{pname} restart
%preun init
if [ "$1" = "0" ]; then
- %service %{name} stop
- /sbin/chkconfig --del %{name}
+ %service %{pname} stop
+ /sbin/chkconfig --del %{pname}
fi
%if %{with userspace}
@@ -282,7 +294,7 @@
%endif
%if %{with kernel}
-%files -n kernel%{_alt_kernel}-%{name}
+%files -n kernel%{_alt_kernel}-%{pname}
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/misc/*.ko*
%endif
@@ -298,6 +310,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.106 2008-04-04 16:13:46 glen
+- alt kernel merge from AC-branch
+
Revision 1.105 2008-03-27 20:52:28 glen
- rel 4 (2.6.22.19-3)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/zaptel.spec?r1=1.105&r2=1.106&f=u
More information about the pld-cvs-commit
mailing list