]> git.pld-linux.org Git - packages/dmsdos.git/commitdiff
- support for doublespace/drivespace/stacker compressed volumes
authoradasi <adasi@pld-linux.org>
Tue, 2 Apr 2002 10:32:21 +0000 (10:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
 - NFY
 - spec adapted from kernel-nvidia :)

Changed files:
    dmsdos-config.h -> 1.1
    dmsdos.config -> 1.1
    dmsdos.spec -> 1.1

dmsdos-config.h [new file with mode: 0644]
dmsdos.config [new file with mode: 0644]
dmsdos.spec [new file with mode: 0644]

diff --git a/dmsdos-config.h b/dmsdos-config.h
new file mode 100644 (file)
index 0000000..08ff27e
--- /dev/null
@@ -0,0 +1,24 @@
+/*
+ * Automatically generated C config: don't edit
+ * Run Configure instead
+ */
+#undef  DMSDOS_EXPERT
+
+/*
+ * CVF formats to be supported
+ */
+#define DMSDOS_CONFIG_DBLSP_DRVSP 1
+#define DMSDOS_CONFIG_DRVSP3 1
+#define DMSDOS_CONFIG_STAC3 1
+#define DMSDOS_CONFIG_STAC4 1
+
+/*
+ * Misc Options
+ */
+#define DBL_WRITEACCESS 1
+#undef  NOLOG
+
+/*
+ * Internal Compression Daemon
+ */
+#undef  INTERNAL_DAEMON
diff --git a/dmsdos.config b/dmsdos.config
new file mode 100644 (file)
index 0000000..012fa42
--- /dev/null
@@ -0,0 +1,23 @@
+#
+# Automatically generated make config: don't edit
+#
+# DMSDOS_EXPERT is not set
+
+#
+# CVF formats to be supported
+#
+DMSDOS_CONFIG_DBLSP_DRVSP=y
+DMSDOS_CONFIG_DRVSP3=y
+DMSDOS_CONFIG_STAC3=y
+DMSDOS_CONFIG_STAC4=y
+
+#
+# Misc Options
+#
+DBL_WRITEACCESS=y
+# NOLOG is not set
+
+#
+# Internal Compression Daemon
+#
+# INTERNAL_DAEMON is not set
diff --git a/dmsdos.spec b/dmsdos.spec
new file mode 100644 (file)
index 0000000..9402c59
--- /dev/null
@@ -0,0 +1,84 @@
+
+# conditional build
+# _without_dist_kernel          without distribution kernel
+
+%define                _rel 1
+
+Summary:       Support for FAT compressed volumes
+Name:          dmsdos
+Version:       0.9.2.2
+Release:       %{_rel}@%{_kernel_ver_str}
+License:       GPL
+Group:         Base/Kernel
+URL:           http://cmp.felk.cvut.cz/~pisa/dmsdos/
+Source0:       http://cmp.felk.cvut.cz/~pisa/dmsdos/sources/dmsdos-0.9.2.2.tar.gz
+Source1:       dmsdos.config
+Source2:       dmsdos-config.h
+%{!?_without_dist_kernel:BuildRequires:         kernel-headers >= 2.2.0 }
+BuildRequires: %{kgcc_package}
+BuildRequires: grep
+BuildRequires: textutils
+PreReq:                /sbin/depmod
+PreReq:                modutils >= 2.3.18-2
+%{!?_without_dist_kernel:%requires_releq_kernel_up}
+Requires:      dev >= 2.7.7-10
+Exclusivearch: %{ix86}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%package -n dmsdos-smp
+Summary:       SMP module for dmsdos
+Release:       %{_rel}@%{_kernel_ver_str}
+Group:         Base/Kernel
+PreReq:                /sbin/depmod
+PreReq:                modutils >= 2.3.18-2
+%{!?_without_dist_kernel:%requires_releq_kernel_smp}
+Requires:      dev >= 2.7.7-10
+
+%description -n dmsdos-smp
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1} src/.config
+cp %{SOURCE2} src/dmsdos-config.h
+cd src
+make depend
+make clean
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/fs
+install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/fs
+install NVdriver-smp.o $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/misc/NVdriver.o
+install NVdriver.o $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/misc/NVdriver.o
+
+gzip -9nf README
+
+%clean 
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/depmod -a
+
+%postun
+/sbin/depmod -a
+
+%post -n dmsdos-smp
+/sbin/depmod -a
+
+%postun -n dmsdos-smp
+/sbin/depmod -a
+
+%files
+%defattr(644,root,root,755)
+%doc *.gz
+/lib/modules/%{_kernel_ver}/misc/*
+
+%files -n dmsdos-smp
+%defattr(644,root,root,755)
+%doc *.gz
+/lib/modules/%{_kernel_ver}smp/misc/*
This page took 0.400095 seconds and 4 git commands to generate.