Author: adasi Date: Mon Feb 21 18:45:12 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - added static version - still needs fix - won't work on non-selinux systems - static version not tested - anyone wants to include it in geninitrd? :)
---- Files affected: SPECS: dmraid.spec (1.6 -> 1.7) ---- Diffs: ================================================================ Index: SPECS/dmraid.spec diff -u SPECS/dmraid.spec:1.6 SPECS/dmraid.spec:1.7 --- SPECS/dmraid.spec:1.6 Thu Nov 25 23:59:07 2004 +++ SPECS/dmraid.spec Mon Feb 21 19:45:06 2005 @@ -3,15 +3,17 @@ Summary(pl): Narzędzie do RAID-u opartego o device-mapper Name: dmraid Version: 1.0.0 -Release: 0.rc5.1 +Release: 0.rc5.2 License: GPL Group: Base Source0: http://people.redhat.com/~heinzm/sw/dmraid/src/%{name}-%{version}-rc5f.tar.bz2 # Source0-md5: 086fc75133a0fb0ffe95bd9a7fb8a52f +Patch0: dmraid-selinux-static.patch URL: http://people.redhat.com/~heinzm/sw/dmraid/ BuildRequires: autoconf BuildRequires: automake BuildRequires: device-mapper-devel +BuildRequires: device-mapper-static BuildRequires: gettext-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -24,23 +26,40 @@ wyświetlanie właściwości ATARAID-u na Linuksie >= 2.4 przy użyciu device-mappera. +%package initrd +Summary: Device-mapper RAID tool - statically linked version +Summary(pl): Narzędzie do RAID-u opartego o device-mapper - wersja statyczna +Group: Base + +%description initrd +Static version of dmraid + +%description initrd -l pl +Wersja statyczna dmraid + %prep %setup -q -n %{name} mv */* ./ +%patch0 -p1 %build cp -f /usr/share/automake/config.sub autoconf %{__gettextize} %{__aclocal} %{__autoconf} +%configure --enable-static_link +%{__make} +cp tools/dmraid{,-initrd} -%configure +%{__make} clean +%configure %{__make} %install rm -rf $RPM_BUILD_ROOT install -D tools/dmraid $RPM_BUILD_ROOT%{_sbindir}/dmraid +install -D tools/dmraid-initrd $RPM_BUILD_ROOT/sbin/dmraid-initrd install -D man/dmraid.8 $RPM_BUILD_ROOT%{_mandir}/man8/dmraid.8 %clean @@ -52,12 +71,22 @@ %attr(755,root,root) %{_sbindir}/* %{_mandir}/man8/* +%files initrd +%defattr(644,root,root,755) +%attr(755,root,root) /sbin/* + %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <[EMAIL PROTECTED]> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.7 2005/02/21 18:45:06 adasi +- added static version +- still needs fix - won't work on non-selinux systems +- static version not tested +- anyone wants to include it in geninitrd? :) + Revision 1.6 2004/11/25 22:59:07 areq dmraid 1.0.0-rc5f ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/dmraid.spec?r1=1.6&r2=1.7&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
