SPECS: device-mapper.spec - updated to 1.02.22 - updated klibc pat...

qboosh qboosh at pld-linux.org
Mon Sep 10 00:42:37 CEST 2007


Author: qboosh                       Date: Sun Sep  9 22:42:37 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.02.22
- updated klibc patch
- clarified License, simplified symlinks creation
- dropped scripts from base docs (already included in separate package)

---- Files affected:
SPECS:
   device-mapper.spec (1.83 -> 1.84) 

---- Diffs:

================================================================
Index: SPECS/device-mapper.spec
diff -u SPECS/device-mapper.spec:1.83 SPECS/device-mapper.spec:1.84
--- SPECS/device-mapper.spec:1.83	Sat Jun 30 20:38:15 2007
+++ SPECS/device-mapper.spec	Mon Sep 10 00:42:32 2007
@@ -10,12 +10,12 @@
 Summary:	Userspace support for the device-mapper
 Summary(pl.UTF-8):	Wsparcie dla mapowania urządzeń w przestrzeni użytkownika
 Name:		device-mapper
-Version:	1.02.20
+Version:	1.02.22
 Release:	1
-License:	GPL v2
+License:	LGPL v2.1 (library), GPL v2 (executables)
 Group:		Applications/System
 Source0:	ftp://sources.redhat.com/pub/dm/%{name}.%{version}.tgz
-# Source0-md5:	6b8f350ca385e2afafd1fb98f1a15e10
+# Source0-md5:	6b94db57cdc9022af1583b3f2acb91cd
 # http://www.redhat.com/archives/dm-devel/2005-March/msg00022.html
 Patch0:		%{name}-disable_dynamic_link.patch
 Patch1:		%{name}-klibc.patch
@@ -58,6 +58,7 @@
 %package initrd
 Summary:	Userspace support for the device-mapper - static dmsetup for initrd
 Summary(pl.UTF-8):	Wsparcie dla mapowania urządzeń w przestrzeni użytkownika - statyczne dmsetup dla initrd
+License:	GPL v2
 Group:		Applications/System
 Requires:	%{name} = %{version}-%{release}
 
@@ -72,6 +73,7 @@
 %package devel
 Summary:	Header files and development documentation for %{name}
 Summary(pl.UTF-8):	Pliki nagłówkowe i dokumentacja do %{name}
+License:	LGPL v2.1
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
@@ -84,6 +86,7 @@
 %package static
 Summary:	Static devmapper library
 Summary(pl.UTF-8):	Statyczna biblioteka devmapper
+License:	LGPL v2.1
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 
@@ -96,6 +99,7 @@
 %package initrd-devel
 Summary:	Static devmapper library and header files for initrd applications
 Summary(pl.UTF-8):	Statyczna biblioteka devmapper i jej pliki nagłówkowe dla aplikacji initrd
+License:	LGPL v2.1
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 Requires:	klibc
@@ -111,6 +115,7 @@
 %package scripts
 Summary:	Additional scripts
 Summary(pl.UTF-8):	Dodatkowe skrypty
+License:	GPL v2
 Group:		Applications/System
 Requires:	%{name} = %{version}-%{release}
 Requires:	util-linux
@@ -187,15 +192,15 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/{%{_lib},%{_libdir}/%{name}}
+install -d $RPM_BUILD_ROOT{/%{_lib},%{_libdir}/%{name}}
 
 %{__make} install \
 	usrlibdir="$RPM_BUILD_ROOT%{_libdir}" \
 	DESTDIR=$RPM_BUILD_ROOT
 
-SONAME=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libdevmapper.so.*.*)
+SONAME=$(basename $RPM_BUILD_ROOT%{_libdir}/libdevmapper.so.*.*)
 ln -sf /%{_lib}/${SONAME} $RPM_BUILD_ROOT%{_libdir}/libdevmapper.so
-SONAME=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libdevmapper-event.so.*.*)
+SONAME=$(basename $RPM_BUILD_ROOT%{_libdir}/libdevmapper-event.so.*.*)
 ln -sf /%{_lib}/${SONAME} $RPM_BUILD_ROOT%{_libdir}/libdevmapper-event.so
 mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* $RPM_BUILD_ROOT/%{_lib}
 install scripts/* $RPM_BUILD_ROOT%{_libdir}/%{name}
@@ -222,19 +227,20 @@
 
 %files
 %defattr(644,root,root,755)
-%doc INTRO INSTALL README scripts/*
+%doc INTRO INSTALL README
 %attr(755,root,root) %{_sbindir}/dmeventd
 %attr(755,root,root) %{_sbindir}/dmsetup
 %attr(755,root,root) /%{_lib}/libdevmapper.so.*.*
 %attr(755,root,root) /%{_lib}/libdevmapper-event.so.*.*
-%{_mandir}/man8/*
+%{_mandir}/man8/dmsetup.8*
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libdevmapper.so
 %attr(755,root,root) %{_libdir}/libdevmapper-event.so
 %{_includedir}/libdevmapper*.h
-%{_pkgconfigdir}/*.pc
+%{_pkgconfigdir}/devmapper.pc
+%{_pkgconfigdir}/devmapper-event.pc
 
 %files static
 %defattr(644,root,root,755)
@@ -267,6 +273,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.84  2007/09/09 22:42:32  qboosh
+- updated to 1.02.22
+- updated klibc patch
+- clarified License, simplified symlinks creation
+- dropped scripts from base docs (already included in separate package)
+
 Revision 1.83  2007/06/30 18:38:15  arekm
 - up to 1.02.20
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/device-mapper.spec?r1=1.83&r2=1.84&f=u



More information about the pld-cvs-commit mailing list