SPECS: mISDNuser.spec - unify
glen
glen at pld-linux.org
Mon Jan 1 22:45:41 CET 2007
Author: glen Date: Mon Jan 1 21:45:41 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- unify
---- Files affected:
SPECS:
mISDNuser.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/mISDNuser.spec
diff -u SPECS/mISDNuser.spec:1.4 SPECS/mISDNuser.spec:1.5
--- SPECS/mISDNuser.spec:1.4 Sun Dec 31 10:16:54 2006
+++ SPECS/mISDNuser.spec Mon Jan 1 22:45:36 2007
@@ -1,7 +1,5 @@
# $Revision$, $Date$
-
-%define mISDNuser_version %(echo %{version} |tr . _)
-
+%define _ver %(echo %{version} | tr . _)
Summary: Userspace part of Modular ISDN stack
Name: mISDNuser
Version: 1.0.3
@@ -9,7 +7,7 @@
License: LGPL
Group: Libraries
URL: http://www.isdn4linux.de/mISDN/
-Source0: http://www.misdn.org/downloads/releases/%{name}-1_0_3.tar.gz
+Source0: http://www.misdn.org/downloads/releases/%{name}-%{_ver}.tar.gz
# Source0-md5: c1c36841386222c2a35c110c8e63f3bc
Patch0: %{name}-build.patch
BuildRequires: mISDN-devel
@@ -43,36 +41,38 @@
This package contains test utilities for mISDN.
%prep
-%setup -q -n %{name}-%{mISDNuser_version}
+%setup -q -n %{name}-%{_ver}
%patch0 -p0
rm -rf voip
%build
-%{__make} CFLAGS="-I`pwd`/include %{rpmcflags}" MISDNDIR=`pwd`
+%{__make} \
+ CFLAGS="-I`pwd`/include %{rpmcflags}" \
+ MISDNDIR=`pwd`
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install INSTALL_PREFIX=$RPM_BUILD_ROOT MISDNDIR=`pwd` LIBDIR=%_libdir
+%{__make} install \
+ INSTALL_PREFIX=$RPM_BUILD_ROOT \
+ MISDNDIR=`pwd` \
+ LIBDIR=%{_libdir}
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
-%attr(755,root,root) %_libdir/*.so.*
+%attr(755,root,root) %{_libdir}/*.so.*
%exclude %{_bindir}/*
%files devel
%defattr(644,root,root,755)
-%_includedir/mISDNuser
-%_libdir/*.so
-%exclude %_libdir/*.a
+%{_includedir}/mISDNuser
+%{_libdir}/*.so
+%exclude %{_libdir}/*.a
%files utils
%defattr(644,root,root,755)
@@ -84,6 +84,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2007/01/01 21:45:36 glen
+- unify
+
Revision 1.4 2006/12/31 09:16:54 marcus
- fixed Req.
@@ -92,9 +95,3 @@
Revision 1.2 2006/12/31 09:06:26 marcus
- adapterized, modified for PLD
-
-* Sat Dec 16 2006 David Woodhouse <dwmw2 at infradead.org> 1.0.3-1
-- Update to 1.0.3-1
-
-* Tue Oct 17 2006 David Woodhouse <dwmw2 at infradead.org> 0-1.cvs20061010
-- Initial import
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mISDNuser.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list