Blame device-mapper.spec

76d2386
Summary: Device mapper utility
cvsdist 01d4c1f
Name: device-mapper
29c6831
Version: 1.02.17
3154b2b
Release: 7%{?dist}
cvsdist 01d4c1f
License: GPL
cvsdist 01d4c1f
Group: System Environment/Base
cvsdist 5f18d3c
URL: http://sources.redhat.com/dm
cvsdist 01d4c1f
Source0: %{name}.%{version}.tgz
ee4b4a9
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Florian La Roche d3bed90
BuildRequires: libselinux-devel, libsepol-devel
76d2386
Requires: %{name}-libs = %{version}-%{release}
cvsdist 01d4c1f
cvsdist 5f18d3c
%define _exec_prefix /
cvsdist 5f18d3c
cvsdist 01d4c1f
%description
76d2386
This package contains the supporting userspace utility, dmsetup,
76d2386
for the kernel device-mapper.
cvsdist 01d4c1f
d1b4073
%package devel
11c8f14
Summary: Development libraries and headers for device-mapper
d1b4073
Group: Development/Libraries
54865b6
Requires: %{name} = %{version}-%{release}
76d2386
Requires: %{name}-libs = %{version}-%{release}
d1b4073
 
d1b4073
%description devel
d1b4073
This package contains files needed to develop applications that use
d1b4073
the device-mapper libraries.
76d2386
76d2386
%package libs
76d2386
Summary: Device-mapper shared library
76d2386
Group: System Environment/Libraries
3154b2b
Obsoletes: device-mapper < 1.02.17-6
d1b4073
 
76d2386
%description libs
76d2386
This package contains the device-mapper shared library, libdevmapper.
76d2386
cvsdist 01d4c1f
%prep
cvsdist 01d4c1f
%setup -q -n %{name}.%{version}
cvsdist 01d4c1f
cvsdist 01d4c1f
%build
8055316
%define _exec_prefix ""
db84dc2
%configure --enable-static_link --with-user= --with-group= --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig
8055316
%define _exec_prefix /
cvsdist 01d4c1f
make
cvsdist 01d4c1f
cvsdist 01d4c1f
%install
cvsdist 01d4c1f
rm -rf $RPM_BUILD_ROOT
4cfdea8
%makeinstall usrlibdir=$RPM_BUILD_ROOT/usr/%{_lib}
cvsdist 01d4c1f
cvsdist 01d4c1f
%clean
cvsdist 01d4c1f
rm -rf $RPM_BUILD_ROOT
cvsdist 01d4c1f
76d2386
%post libs -p /sbin/ldconfig
cvsdist 01d4c1f
76d2386
%postun libs -p /sbin/ldconfig 
cvsdist 01d4c1f
cvsdist 01d4c1f
%files
cvsdist 01d4c1f
%defattr(-,root,root,-)
cvsdist 5f18d3c
%doc COPYING COPYING.LIB INSTALL INTRO README VERSION WHATS_NEW
e0147d9
%attr(755,root,root) %{_sbindir}/dmsetup
e0147d9
%attr(755,root,root) %{_sbindir}/dmsetup.static
76d2386
%{_mandir}/man8/dmsetup.8.gz
d1b4073
d1b4073
%files devel
d1b4073
%defattr(-,root,root,-)
d1b4073
%attr(755,root,root) %{_libdir}/libdevmapper.a*
11c8f14
%attr(755,root,root) %{_libdir}/libdevmapper.so
cvsdist 01d4c1f
%{_includedir}/libdevmapper.h
11b648c
/usr/%{_lib}/pkgconfig/*.pc
cvsdist 01d4c1f
76d2386
%files libs
76d2386
%attr(755,root,root) %{_libdir}/libdevmapper.so.*
cvsdist 01d4c1f
cvsdist 01d4c1f
%changelog
3154b2b
* Tue Feb 27 2007 Alasdair Kergon <agk@redhat.com> - 1.02.17-7
3154b2b
- The -libs package Obsoletes pre-split packages.
3154b2b
76d2386
* Wed Feb 14 2007 Alasdair Kergon <agk@redhat.com> - 1.02.17-6
76d2386
- Move shared library into a separate -libs package.
76d2386
11c8f14
* Mon Feb 05 2007 Alasdair Kergon <agk@redhat.com> - 1.02.17-5
11c8f14
- Move libdevmapper.so to -devel package.
11c8f14
54865b6
* Mon Feb 05 2007 Alasdair Kergon <agk@redhat.com> - 1.02.17-4
54865b6
- Fix -devel Requires.
54865b6
6bc8ff2
* Mon Feb 05 2007 Alasdair Kergon <agk@redhat.com> - 1.02.17-3
d1b4073
- Move some files into a separate -devel package.
d1b4073
ee4b4a9
* Tue Jan 31 2007 Alasdair Kergon <agk@redhat.com> - 1.02.17-2
ee4b4a9
- Update BuildRoot line.
ee4b4a9
29c6831
* Mon Jan 29 2007 Alasdair Kergon <agk@redhat.com> - 1.02.17-1
29c6831
- Add recent reporting options to dmsetup man page.
29c6831
- Add dmsetup 'help' command and update usage text.
29c6831
- Revise some report fields names.
29c6831
- Use fixed-size fields in report interface and reorder.
29c6831
bf887c2
* Fri Jan 26 2007 Alasdair Kergon <agk@redhat.com> - 1.02.16-1
bf887c2
- Update dmsetup to use new libdevmapper reporting functionality.
bf887c2
6e823eb
* Wed Jan 17 2007 Alasdair Kergon <agk@redhat.com> - 1.02.15-1
6e823eb
- Add basic reporting functions to libdevmapper.
6e823eb
61fd1b1
* Fri Jan 12 2007 Alasdair Kergon <agk@redhat.com> - 1.02.14-2
4ea887f
- Rebuild.
4ea887f
b72a330
* Thu Jan 11 2007 Alasdair Kergon <agk@redhat.com> - 1.02.14-1
b72a330
- Use CFLAGS when linking so mixed sparc builds can supply -m64.
b72a330
- Export dm_basename() and dm_tree_use_no_flush_suspend().
b72a330
- Cope with a trailing space when comparing tables prior to possible reload.
b72a330
8b56246
* Tue Nov 28 2006 Alasdair Kergon <agk@redhat.com> - 1.02.13-1
8b56246
- Update dmsetup man page (setgeometry & message).
8b56246
- Suppress encryption key in 'dmsetup table' output unless --showkeys supplied.
8b56246
61adabc
* Sat Oct 14 2006 Alasdair Kergon <agk@redhat.com> - 1.02.12-3
61adabc
- Drop the release suffix.
61adabc
e58d293
* Sat Oct 14 2006 Alasdair Kergon <agk@redhat.com> - 1.02.12-2.0
e58d293
- Append distribution to release.
e58d293
3bd483d
* Fri Oct 13 2006 Alasdair Kergon <agk@redhat.com> - 1.02.12-1.0
3bd483d
- Smaller upstream source tarball with files for 2.4 kernel removed.
3bd483d
- Avoid deptree attempting to suspend a device that's already suspended.
3bd483d
b4cef64
* Thu Oct 12 2006 Alasdair Kergon <agk@redhat.com> - 1.02.11-1.0
b4cef64
- New upstream with noflush suspend support (NB not in FC kernel yet).
b4cef64
f693ad6
* Tue Sep 19 2006 Alasdair Kergon <agk@redhat.com> - 1.02.10-1.0
a7fc560
- Build new upstream version with numerous fixes.
f693ad6
e0147d9
* Thu Aug 03 2006 Milan Broz <mbroz@redhat.com> - 1.02.07-1.2
e0147d9
- rpmlint cleaning, summary, permissions
e0147d9
8055316
* Wed Jul 12 2006 Peter Jones <pjones@redhat.com> - 1.02.07-1.1
8055316
- Fix _exec_prefix during %%configure so .pc files have correct paths
8055316
4d9e420
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.02.07-1.0.1
4d9e420
- rebuild
4d9e420
cde216d
* Thu May 11 2006 Alasdair Kergon <agk@redhat.com> - 1.02.07-1.0
cde216d
- Build new upstream version.
cde216d
6537d18
* Wed May 10 2006 Alasdair Kergon <agk@redhat.com> - 1.02.06-1.0
6537d18
- Minor fixes upstream.
6537d18
7529931
* Sat Apr 22 2006 Alasdair Kergon <agk@redhat.com> - 1.02.05-1.2
7529931
- Exclude s390/s390x in order to rebuild.
7529931
d8d6add
* Fri Apr 21 2006 Alasdair Kergon <agk@redhat.com> - 1.02.05-1.1
d8d6add
- Rebuild.
d8d6add
65a232e
* Wed Apr 19 2006 Alasdair Kergon <agk@redhat.com> - 1.02.05-1.0
65a232e
- New upstream release (incorporates patches).
db84dc2
- Exclude dmeventd (no kernel support yet).
65a232e
4a74a64
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.02.02-3.2
4a74a64
- bump again for double-long bug on ppc(64)
4a74a64
463aa81
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.02.02-3.1
463aa81
- rebuilt for new gcc4.1 snapshot and glibc changes
463aa81
aad1a1d
* Wed Jan 11 2006 Karel Zak <kzak@redhat.com> - 1.02.02-3
aad1a1d
- cleanup selinux patch
aad1a1d
- add pkg-config support
aad1a1d
aad1a1d
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> - - 1.02.02-2.1
6d9b630
- rebuilt
6d9b630
ed9c535
* Sun Dec  3 2005 Peter Jones <pjones@redhat.com> - 1.02.02-2
ed9c535
- fix link path for libdevmapper-event.so
ed9c535
5afb1ae
* Fri Dec  2 2005 Peter Jones <pjones@redhat.com> - 1.02.02-1
5afb1ae
- update to 1.02.02
5afb1ae
58abac6
* Thu Dec  1 2005 Peter Jones <pjones@redhat.com> - 1.01.05-4
58abac6
- add api call to make device nodes explicitly, rather than the previous
58abac6
  approach
58abac6
5b7e816
* Wed Nov 16 2005 Peter Jones <pjones@redha.tcom> - 1.01.05-3
5b7e816
- make device nodes after create/remove/rename, rather than when the library
5b7e816
  exits.
5b7e816
Florian La Roche d3bed90
* Thu Oct 13 2005 Florian La Roche <laroche@redhat.com>
Florian La Roche d3bed90
- add linking against -lsepol
Florian La Roche d3bed90
341e2d1
* Mon Sep 26 2005 Alasdair Kergon <agk@redhat.com> - 1.01.05-1.0
341e2d1
- Dynamically extend libdevmapper ioctl buffer if data doesn't fit.
341e2d1
155b314
* Mon Aug 02 2005 Alasdair Kergon <agk@redhat.com> - 1.01.04-1.0
155b314
- Fix dmsetup handling with empty table (needed by multipath).
155b314
54ff4ef
* Mon Jun 13 2005 Alasdair Kergon <agk@redhat.com> - 1.01.03-1.0
54ff4ef
- Reinstate selinux support.
54ff4ef
b5edd23
* Tue May 17 2005 Alasdair Kergon <agk@redhat.com> - 1.01.02-1.0
b5edd23
- Add --exec and --target to dmsetup for initrd convenience.
b5edd23
- Automatically call dm_lib_exit when exiting.
b5edd23
e2fb10b
* Tue Mar 29 2005 Alasdair Kergon <agk@redhat.com> - 1.01.01-1.0
e2fb10b
- Update dmsetup man page.
e2fb10b
- Replicate devmap_name output with dmsetup info -c --noheadings -o name.
e2fb10b
37b8c66
* Fri Mar 04 2005 Alasdair Kergon <agk@redhat.com> - 1.01.00-1.1
37b8c66
- Rebuild requested for gcc update.
37b8c66
16334c2
* Mon Jan 17 2005 Alasdair Kergon <agk@redhat.com> - 1.01.00-1
16334c2
- Update lib interface to make open_count optional.
16334c2
a76cd94
* Fri Jan 7 2005 Alasdair Kergon <agk@redhat.com> - 1.00.21-1
a76cd94
- Fix (harmless) unintended warning messages.
a76cd94
71da424
* Thu Jan 6 2005 Alasdair Kergon <agk@redhat.com> - 1.00.20-1
71da424
- Minor fixes and updates - see WHATS_NEW.
71da424
187338e
* Fri Sep 17 2004 Alasdair Kergon <agk@redhat.com> - 1.00.19-2
187338e
- Missing BuildRequires. [bz 121133]
187338e
cvsdist ef4071e
* Sat Jul 3 2004 Alasdair Kergon <agk@redhat.com> - 1.00.19-1
cvsdist ef4071e
- New upstream release fixes device numbers for 2.6 kernels.
cvsdist ef4071e
cvsdist 61a13bd
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 61a13bd
- rebuilt
cvsdist 61a13bd
cvsdist 50dc396
* Wed May 26 2004 Alasdair Kergon <agk@redhat.com> - 1.00.17-2
cvsdist 50dc396
- Fix is_selinux_enabled() test
cvsdist 50dc396
cvsdist 50dc396
* Mon Apr 19 2004 Alasdair Kergon <agk@redhat.com> - 1.00.17-1
cvsdist 50dc396
- Fix non-root build with current version of 'install'.
cvsdist 50dc396
- Incorporate last two selinux patches into tarball.
cvsdist 50dc396
cvsdist 5f18d3c
* Fri Apr 16 2004 Bill Nottingham <notting@redhat.com> - 1.00.14-3
cvsdist 5f18d3c
- fix linking against libselinux on x86-64
cvsdist 5f18d3c
cvsdist 5f18d3c
* Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 1.00.14-2
cvsdist 5f18d3c
- don't error out if we get ENOTSUP setting the context
cvsdist 5f18d3c
cvsdist 5f18d3c
* Tue Apr 06 2004 Alasdair Kergon <agk@redhat.com> 1.00.14-1
cvsdist 5f18d3c
- Fix static selinux build.
cvsdist 5f18d3c
cvsdist 5f18d3c
* Tue Apr 06 2004 Alasdair Kergon <agk@redhat.com> 1.00.13-1
cvsdist 5f18d3c
- Set selinux context when doing mknod.
cvsdist 5f18d3c
cvsdist 5f18d3c
* Mon Apr 05 2004 Alasdair Kergon <agk@redhat.com> 1.00.11-1
cvsdist 5f18d3c
- Cleanup build process. Add features: dmsetup targets, event_nr support.
cvsdist 5f18d3c
cvsdist 12cace8
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 12cace8
- rebuilt
cvsdist 12cace8
cvsdist 12cace8
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 12cace8
- rebuilt
cvsdist 12cace8
cvsdist 01d4c1f
* Fri Dec  5 2003 Jeremy Katz <katzj@redhat.com> 1.00.07-2
cvsdist 01d4c1f
- add static lib
cvsdist 01d4c1f
cvsdist 01d4c1f
* Tue Dec  2 2003 Jeremy Katz <katzj@redhat.com> 1.00.07-1
cvsdist 01d4c1f
- Initial build.
cvsdist 01d4c1f