SPECS: scsiadd.spec (NEW) - initial. works (why was it missing??)

blues blues at pld-linux.org
Fri Jul 4 10:38:40 CEST 2008


Author: blues                        Date: Fri Jul  4 08:38:40 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial. works (why was it missing??)

---- Files affected:
SPECS:
   scsiadd.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/scsiadd.spec
diff -u /dev/null SPECS/scsiadd.spec:1.1
--- /dev/null	Fri Jul  4 10:38:40 2008
+++ SPECS/scsiadd.spec	Fri Jul  4 10:38:35 2008
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+Summary:	SCSI add/remove utility
+Summary(pl.UTF-8):	Narzędzia dodawania/usuwania dysków SCSI
+Name:		scsiadd
+Version:	1.96
+Release:	1
+License:	GPL v2
+Group:		Applications/System
+Source0:	http://llg.cubic.org/tools/%{name}-%{version}.tar.gz
+# Source0-md5:	c2d30bc6893852ad2f9dd616cdbee0be
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Add and remove SCSI devices from your Linux system during runtime. No need
+to reboot your system, just because you have switched on an external
+device.
+
+%prep
+%setup -q
+
+%build
+%{__aclocal}
+%{__autoconf}
+%configure \
+	CFLAGS="%{rpmcflags} %{rpmldflags}"
+%{__make} \
+	CC="%{__cc}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/sbin
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	PREFIX=%{_prefix}
+
+mv $RPM_BUILD_ROOT%{_sbindir}/scsiadd $RPM_BUILD_ROOT/sbin
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc NEWS README TODO
+%attr(755,root,root) /sbin/scsiadd
+%{_mandir}/man8/scsiadd.8*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/07/04 08:38:35  blues
+- initial. works (why was it missing??)
+
================================================================


More information about the pld-cvs-commit mailing list