[floppy-support] Initial import (#735554)

Bruno Wolff III bruno at fedoraproject.org
Wed Aug 29 03:21:52 UTC 2012


commit 698886376d2887b467f971db928edb954affc4a0
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Tue Aug 28 22:17:15 2012 -0500

    Initial import (#735554)

 floppy-support.spec |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/floppy-support.spec b/floppy-support.spec
new file mode 100644
index 0000000..9809616
--- /dev/null
+++ b/floppy-support.spec
@@ -0,0 +1,48 @@
+Name: floppy-support          
+Version:        1.0.0
+Release:        2%{?dist}
+Summary:        Load floppy driver at boot time
+Group: System Environment/Kernel
+
+
+License:        MIT
+# The package is built just using this specfile.
+#URL:            
+#Source0:        
+
+Requires(post): module-init-tools
+
+BuildArch:      noarch
+
+%description
+By default the floppy driver is not loaded at boot time. Installing this
+package will load the floppy driver as part of the install and will set
+things so that it will be loaded during future boots.
+
+
+%prep
+#No setup, since no source outside the specfile.
+
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+# Note that the modules-load.d man page states that packages should install
+# files in /usr/lib/modules-load.d and that /etc/modules-load.d is
+# reserved for local administration.
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/../lib/modules-load.d
+echo floppy > $RPM_BUILD_ROOT%{_libdir}/../lib/modules-load.d/floppy.conf
+
+
+%files
+%{_libdir}/../lib/modules-load.d/floppy.conf
+
+%post
+/sbin/modprobe floppy
+
+%changelog
+* Mon Sep 05 2011 Bruno Wolff III <bruno at wolff.to> 1.0.0-2
+- Use %%{_libdir}/../lib/ instead of %%{_libdir} to avoid arch issues.
+
+* Tue Aug 30 2011 Bruno Wolff III <bruno at wolff.to> 1.0.0-1
+- Initial package creation


More information about the scm-commits mailing list