SPECS: lt_hotswap.spec (NEW) - init
wolvverine
wolvverine at pld-linux.org
Mon Jun 18 00:45:47 CEST 2007
Author: wolvverine Date: Sun Jun 17 22:45:47 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- init
---- Files affected:
SPECS:
lt_hotswap.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/lt_hotswap.spec
diff -u /dev/null SPECS/lt_hotswap.spec:1.1
--- /dev/null Mon Jun 18 00:45:47 2007
+++ SPECS/lt_hotswap.spec Mon Jun 18 00:45:42 2007
@@ -0,0 +1,82 @@
+# $Revision$, $Date$
+%bcond_without dist_kernel # allow non-distribution kernel
+%bcond_with verbose # verbose build (V=1)
+%define _rel 0.1
+%define _mod_suffix current
+#
+Summary: ACPI kernel driver to support hot-swapping ultrabay type peripherals on laptops.
+Summary(pl.UTF-8): Driver ACPI wspomagający wymianę urządzeń UltraBay w laptopach.
+Name: lt_hotswap
+Version: 0.3.6
+Release: %{_rel}
+License: GPL
+Group: Base/Kernel
+Source0: http://dl.sourceforge.net/lths/%{name}-%{version}.tar.gz
+# Source0-md5: 99df18cfbadb92e8b987ac90d32110b2
+URL: http://lths.sourceforge.net/
+%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
+BuildRequires: rpmbuild(macros) >= 1.379
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The lt_hotswap kernel module enables hot-swapping of UltraBay disk
+drives (PATA) under Linux, with DMA support.
+
+%description -l pl.UTF-8
+Moduł jądra właczający możliwość podłączania i odłączanie dysków w
+UltraBay (PATA) w trakcie pracy.
+
+%package -n kernel%{_alt_kernel}-misc-%{name}
+Summary: Linux kernel module for
+Summary(pl.UTF-8): Moduł jądra dla
+Release: %{_rel}@%{_kernel_ver_str}
+Group: Base/Kernel
+%{?with_dist_kernel:%requires_releq_kernel}
+Requires(post,postun): /sbin/depmod
+Requires: module-init-tools >= 3.2.2-2
+Provides: %{name}
+
+%description -n kernel%{_alt_kernel}-misc-%{name}
+This is a semi-'driver' to support hotswapping on standard PATA
+(CD/DVD,HDD) in laptops Fujitsu and IBM.
+
+%description -n kernel%{_alt_kernel}-misc-%{name} -l pl.UTF-8
+lt_hotswap umożliwi podłączanie i odłączanie urządzeń PATA
+(CD/DVD,HDD) w trakcie pracy w laptopach Fujitsu i IBM.
+
+%prep
+%setup -q
+
+%build
+%build_kernel_modules -m %{name}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%install_kernel_modules -s %{_mod_suffix} -n %{name} -m %{name} -d misc
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -n kernel%{_alt_kernel}-misc-%{name}
+%depmod %{_kernel_ver}
+
+%postun -n kernel%{_alt_kernel}-misc-%{name}
+%depmod %{_kernel_ver}
+
+%if %{with dist_kernel}
+%files -n kernel%{_alt_kernel}-misc-%{name}
+%defattr(644,root,root,755)
+/lib/modules/%{_kernel_ver}/misc/%{name}-%{_mod_suffix}.ko*
+%{_sysconfdir}/modprobe.d/%{_kernel_ver}/%{name}.conf
+%endif
+
+%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 2007/06/17 22:45:42 wolvverine
+- init
+
+
================================================================
More information about the pld-cvs-commit
mailing list