diff --git a/dmraid.changes b/dmraid.changes index 269bb08..dd2c4be 100644 --- a/dmraid.changes +++ b/dmraid.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 12 14:10:53 UTC 2014 - kkaempf@suse.com + +- Split off dmraid-devel subpackage + ------------------------------------------------------------------- Mon Nov 10 10:39:45 UTC 2014 - dimstar@opensuse.org diff --git a/dmraid.spec b/dmraid.spec index 2189831..465d019 100644 --- a/dmraid.spec +++ b/dmraid.spec @@ -76,6 +76,19 @@ Authors: -------- Heinz Mauelshagen +%package devel +Summary: Development files for dmraid +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} + +%description devel +This software discovers, activates, deactivates, and displays +properties of software RAID sets, such as ATARAID, and contained DOS +partitions. + +dmraid uses libdevmapper and the device-mapper kernel runtime to create +devices with respective mappings for the ATARAID sets discovered. + %prep %setup -n dmraid/%{version} %patch1 -p1 @@ -102,15 +115,15 @@ make %install make install DESTDIR=$RPM_BUILD_ROOT -rm -rf $RPM_BUILD_ROOT/usr/include/dmraid rm $RPM_BUILD_ROOT/%_lib/libdmraid.a -rm $RPM_BUILD_ROOT/%_lib/libdmraid.so mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates install -m644 %{SOURCE1} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.dmraid mkdir -p $RPM_BUILD_ROOT/etc/init.d install -D -m 0644 %{S:6} %{buildroot}%{_unitdir}/dmraid-activation.service install -d %{buildroot}%{_tmpfilesdir} echo 'd /run/lock/dmraid 0700 root root -' > %{buildroot}%{_tmpfilesdir}/dmraid.conf +# E: spurious-executable-perm (Badness: 50) /usr/include/dmraid/locking.h +chmod -x %{buildroot}%{_prefix}/include/dmraid/*h %pre %service_add_pre dmraid-activation.service @@ -147,4 +160,10 @@ echo 'd /run/lock/dmraid 0700 root root -' > %{buildroot}%{_tmpfilesdir}/dmraid. %{_tmpfilesdir}/dmraid.conf %{_unitdir}/dmraid-activation.service +%files devel +%defattr(-, root, root) +%dir %{_prefix}/include/dmraid +%{_prefix}/include/dmraid +/%{_lib}/libdmraid.so + %changelog