]> git.pld-linux.org Git - packages/dptutil.git/commitdiff
- initial pld release (name changed due to misleading original name)
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 13 Aug 2003 01:14:09 +0000 (01:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dptutil.spec -> 1.1

dptutil.spec [new file with mode: 0644]

diff --git a/dptutil.spec b/dptutil.spec
new file mode 100644 (file)
index 0000000..1b0cd6e
--- /dev/null
@@ -0,0 +1,45 @@
+%define        _orgname        raidmgt
+Summary:       DPT/Adaptec Storage Management software
+Name:          dptutil
+Version:       3.31
+Release:       1
+License:       BSD
+Group:         Base
+Source0:       http://www.interlude.eu.org/~ad/raidmgt/raidmgt-3.31.tar.gz
+# Source0-md5: a7d0df0ff350ea5ad080e9bd8a3798a3
+URL:           http://opensource.adaptec.com/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _sbindir                /sbin
+
+%description
+DPT/Adaptec Storage Management software.
+
+%prep
+%setup -q -n %{_orgname}-%{version}
+
+%build
+for pkg in dptutil dpteng; do
+%{__make} -C $pkg clean depend
+%{__make} -C $pkg \
+       C="%{__cxx}" \
+       CC="%{__cxx}" \
+       LINK="%{__cxx} %{rpmldflags}" \
+       CPP="%{__cxx}" \
+       I="-I. %{rpmcflags}" \
+       INCLUDE_DIR="-I. %{rpmcflags}"
+done
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sbindir}
+
+install dptutil/raidutil $RPM_BUILD_ROOT%{_sbindir}/dptutil
+install dpteng/dpteng $RPM_BUILD_ROOT%{_sbindir}/dpteng
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/*
This page took 0.073791 seconds and 4 git commands to generate.