summaryrefslogtreecommitdiff
path: root/packaging/device-mapper.spec
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-03-05 01:47:43 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-03-05 01:47:43 -0800
commit44a3c2255bc480c82f34db156553a595606d8a0b (patch)
tree5e6df96a6c6e40207cb3a711860e16b543918c0d /packaging/device-mapper.spec
parent8bd28eea831fd5215c12e6fcecc8e9a772398ed9 (diff)
downloaddevice-mapper-44a3c2255bc480c82f34db156553a595606d8a0b.tar.gz
device-mapper-44a3c2255bc480c82f34db156553a595606d8a0b.tar.bz2
device-mapper-44a3c2255bc480c82f34db156553a595606d8a0b.zip
Imported Upstream version 2.02.98upstream/2.02.98upstream/1.02.77
Diffstat (limited to 'packaging/device-mapper.spec')
-rw-r--r--packaging/device-mapper.spec81
1 files changed, 0 insertions, 81 deletions
diff --git a/packaging/device-mapper.spec b/packaging/device-mapper.spec
deleted file mode 100644
index 46f95e9..0000000
--- a/packaging/device-mapper.spec
+++ /dev/null
@@ -1,81 +0,0 @@
-%define device_mapper_version 1.02.28
-%define lvm2_version 2.02.79
-
-# Do not reset Release to 1 unless both lvm2 and device-mapper
-# versions are increased together.
-
-Name: device-mapper
-Summary: Device mapper utility
-Version: %{device_mapper_version}
-Release: 1
-License: GPLv2
-Source0: ftp://sources.redhat.com/pub/lvm2/LVM2.%{lvm2_version}.tgz
-Group: System/Base
-URL: http://sources.redhat.com/dm
-Requires: device-mapper-libs = %{device_mapper_version}-%{release}
-
-%description -n device-mapper
-This package contains the supporting userspace utility, dmsetup,
-for the kernel device-mapper.
-
-%package -n device-mapper-devel
-Summary: Development libraries and headers for device-mapper
-Version: %{device_mapper_version}
-Release: %{release}
-License: LGPLv2.1
-Group: Development/Libraries
-Requires: device-mapper = %{device_mapper_version}-%{release}
-Requires: device-mapper-libs = %{device_mapper_version}-%{release}
-
-%description -n device-mapper-devel
-This package contains files needed to develop applications that use
-the device-mapper libraries.
-
-%package -n device-mapper-libs
-Summary: Device-mapper shared library
-Version: %{device_mapper_version}
-Release: %{release}
-License: LGPLv2.1
-Group: System/Libraries
-Obsoletes: device-mapper < 1.02.17-6
-
-%description -n device-mapper-libs
-This package contains the device-mapper shared library, libdevmapper.
-
-%prep
-%setup -q -n LVM2.%{lvm2_version}
-
-%build
-%define _exec_prefix ""
-%configure --with-user= --with-group= --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig
-%define _exec_prefix /
-make device-mapper
-
-%install
-rm -rf $RPM_BUILD_ROOT
-make install_device-mapper DESTDIR=$RPM_BUILD_ROOT usrlibdir=$RPM_BUILD_ROOT/usr/%{_lib}
-sed -i 's/ (.*)//g' $RPM_BUILD_ROOT%{_libdir}/pkgconfig/*.pc
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%post -n device-mapper-libs -p /sbin/ldconfig
-
-%postun -n device-mapper-libs -p /sbin/ldconfig
-
-%files
-%defattr(-,root,root,-)
-%doc COPYING COPYING.LIB INSTALL README VERSION_DM WHATS_NEW_DM
-%attr(755,root,root) %{_sbindir}/dmsetup
-%{_mandir}/man8/dmsetup.8.gz
-
-%files -n device-mapper-devel
-%defattr(-,root,root,-)
-%attr(755,root,root) /%{_libdir}/libdevmapper.so
-%{_includedir}/libdevmapper.h
-%{_libdir}/pkgconfig/*.pc
-
-%files -n device-mapper-libs
-%attr(755,root,root) /%{_libdir}/libdevmapper.so.*
-
-