SPECS (AC-branch): mISDN.spec - up to 1.1.9, addedd config and init script ...

marcus marcus at pld-linux.org
Thu Feb 26 13:15:45 CET 2009


Author: marcus                       Date: Thu Feb 26 12:15:45 2009 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- up to 1.1.9, addedd config and init script in main package

---- Files affected:
SPECS:
   mISDN.spec (1.25.2.9 -> 1.25.2.10) 

---- Diffs:

================================================================
Index: SPECS/mISDN.spec
diff -u SPECS/mISDN.spec:1.25.2.9 SPECS/mISDN.spec:1.25.2.10
--- SPECS/mISDN.spec:1.25.2.9	Thu Jul  3 22:50:58 2008
+++ SPECS/mISDN.spec	Thu Feb 26 13:15:39 2009
@@ -11,19 +11,22 @@
 %undefine	with_smp
 %endif
 #
-%define		mISDN_version		%(echo %{version} |tr . _)
+%define		mISDN_version		%(echo %{version} |tr . _).1
 
 %define		_rel	1
 Summary:	mISDN - modular ISDN
 Summary(pl.UTF-8):	mISDN - modularny ISDN
 Name:		mISDN
-Version:	1.1.8
+Version:	1.1.9
 Release:	%{_rel}
 Epoch:		1
 License:	GPL
 Group:		Base/Kernel
 Source0:	http://www.misdn.org/downloads/releases/%{name}-%{mISDN_version}.tar.gz
-# Source0-md5:	29c55ffe0b35668a41eaed3b1c3ddfe2
+# Source0-md5:	4a82ba9eb37b45aea4821f83eece6140
+Source1:	%{name}.init
+Source2:	misdn-init.conf
+Patch0:		http://quadbri.phoniceq.com/driver/misdn/misdn-enableLEDS-mISDN-1_1_7_2.patch
 URL:		http://www.misdn.org/
 %{?with_dist_kernel:BuildRequires:	kernel-module-build >= 3:2.6.7}
 BuildRequires:	rpmbuild(macros) >= 1.332
@@ -34,7 +37,7 @@
 2.6.
 
 %description -l pl.UTF-8
-mISDN (modularny ISDN) to nowy stos ISDN dla j??dra Linuksa w wersji
+mISDN (modularny ISDN) to nowy stos ISDN dla jądra Linuksa w wersji
 2.6.
 
 %package -n kernel-isdn-mISDN
@@ -57,7 +60,7 @@
 %description -n kernel-isdn-mISDN -l pl.UTF-8
 Sterownik dla Linuksa do mISDN.
 
-Ten pakiet zawiera modu?? j??dra Linuksa.
+Ten pakiet zawiera moduł jądra Linuksa.
 
 %package -n kernel-smp-isdn-mISDN
 Summary:	Linux SMP driver for mISDN
@@ -79,21 +82,22 @@
 %description -n kernel-smp-isdn-mISDN -l pl.UTF-8
 Sterownik dla Linuksa do mISDN.
 
-Ten pakiet zawiera modu?? j??dra Linuksa SMP.
+Ten pakiet zawiera moduł jądra Linuksa SMP.
 
 %package devel
 Summary:	Development header files for mISDN
-Summary(pl.UTF-8):	Pliki nag????wkowe mISDN
+Summary(pl.UTF-8):	Pliki nagłówkowe mISDN
 Group:		Development/Libraries
 
 %description devel
 Development header files for mISDN.
 
 %description devel -l pl.UTF-8
-Pliki nag????wkowe mISDN.
+Pliki nagówwkowe mISDN.
 
 %prep
 %setup -q -n %{name}-%{mISDN_version}
+%patch0 -p0
 
 %build
 cp -r include/linux drivers/isdn/hardware/mISDN/
@@ -140,6 +144,9 @@
 done
 %endif
 
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/misdn
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/misdn-init.conf
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -155,6 +162,21 @@
 %postun	-n kernel-smp-isdn-mISDN
 %depmod %{_kernel_ver}smp
 
+%post
+/sbin/chkconfig --add %{name}
+%service %{name} restart
+
+%preun
+if [ "$1" = "0" ]; then
+        %service %{name} stop
+	/sbin/chkconfig --del %{name}
+fi
+
+%files
+%defattr(644,root,root,755)
+%attr(754,root,root) /etc/rc.d/init.d/*
+%config(noreplace) %verify(not md5 mtime size) /etc/misdn-init.conf
+
 %if %{with up} || %{without dist_kernel}
 %files -n kernel-isdn-mISDN
 %defattr(644,root,root,755)
@@ -179,6 +201,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25.2.10  2009/02/26 12:15:39  marcus
+- up to 1.1.9, addedd config and init script in main package
+
 Revision 1.25.2.9  2008/07/03 20:50:58  marcus
 - up to 1.1.8 for Ac
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mISDN.spec?r1=1.25.2.9&r2=1.25.2.10&f=u



More information about the pld-cvs-commit mailing list