diff --git a/device-mapper.spec b/device-mapper.spec index 28fbda4..cc2509e 100644 --- a/device-mapper.spec +++ b/device-mapper.spec @@ -1,7 +1,7 @@ Summary: Device mapper library Name: device-mapper Version: 1.02.17 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL Group: System Environment/Base URL: http://sources.redhat.com/dm @@ -15,6 +15,15 @@ BuildRequires: libselinux-devel, libsepol-devel This package contains the supporting userspace files (libdevmapper and dmsetup) for the device-mapper. +%package devel +Summary: Development libraries and headers for device-mapper. +Group: Development/Libraries +Requires: %{name}-%{version} + +%description devel +This package contains files needed to develop applications that use +the device-mapper libraries. + %prep %setup -q -n %{name}.%{version} @@ -39,15 +48,21 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %doc COPYING COPYING.LIB INSTALL INTRO README VERSION WHATS_NEW %attr(755,root,root) %{_libdir}/libdevmapper.so* -%attr(755,root,root) %{_libdir}/libdevmapper.a* %attr(755,root,root) %{_sbindir}/dmsetup %attr(755,root,root) %{_sbindir}/dmsetup.static %{_mandir}/*/* + +%files devel +%defattr(-,root,root,-) +%attr(755,root,root) %{_libdir}/libdevmapper.a* %{_includedir}/libdevmapper.h /usr/%{_lib}/pkgconfig/*.pc %changelog +* Tue Jan 31 2007 Alasdair Kergon - 1.02.17-3 +- Move some files into a separate -devel package. + * Tue Jan 31 2007 Alasdair Kergon - 1.02.17-2 - Update BuildRoot line.