]> git.pld-linux.org Git - packages/geninitrd.git/blobdiff - geninitrd.spec
- up to 7673 (firmware loading from initrd support)
[packages/geninitrd.git] / geninitrd.spec
index a9c411c7dbbe624560d84805c2333d8156124fa5..62cfba1da95b53444707b3346672d07ab54c23e0 100644 (file)
@@ -1,30 +1,35 @@
 Summary:       Creates an initial ramdisk image for preloading modules
 Summary(pl):   Narzêdzie do tworzenia inicjalnego ramdysku u¿ywanego przy starcie systemu
 Name:          geninitrd
-Version:       2.40
+Version:       7673
 Release:       1
 License:       GPL
 Group:         Applications/System
-Source0:       %{name}-%{version}.tar.gz
-# Source0-md5: 5fd878e9d3abac1f24cea513408f68f3
-Requires:       awk
-Requires:       bsp >= 0.3.1
-Requires:       fileutils
-Requires:       genromfs
-Requires:       gzip
+Source0:       ftp://ftp1.pld-linux.org/people/arekm/software/%{name}-%{version}.tar.gz
+# Source0-md5: 39333ff29b9cc7534ddbe86a070ea6a1
+BuildRequires: xmlto >= 0:0.0.18-1
+Requires:      awk
+Requires:      busybox-initrd >= 1.00-0.rc3.2
+Requires:      fileutils
+Requires:      genromfs
+Requires:      gzip
+Requires:      rc-scripts >= 0.2.7
+# without this softraid installations of PLD fail
+Requires:      mdadm-initrd >= 1.12.0-1
 Requires:      mktemp >= 1.5-8
-Requires:       mount
-Requires:       pci-database
-Requires:       sh-utils
-Requires:       tar
-Prereq:                rc-scripts >= 0.2.7
+Requires:      mount
+Requires:      pci-database >= 0.4
+Requires:      sh-utils
+Requires:      tar
 Obsoletes:     mkinitrd
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Mkinitrd creates filesystem images for use as initial ramdisk (initrd)
-images. These ramdisk images are often used to preload the block
-device modules (SCSI or RAID) needed to access the root filesystem.
+Geninitrd creates filesystem images for use as initial ramdisk
+(initrd) images. These ramdisk images are often used to preload the
+block device modules (SCSI or RAID) needed to access the root
+filesystem.
 
 In other words, generic kernels can be built without drivers for any
 SCSI adapters which load the SCSI driver as a module. Since the kernel
@@ -37,7 +42,7 @@ filesystem. The geninitrd program creates such a ramdisk using
 information found in the /etc/modules.conf file.
 
 %description -l pl
-Mkinitrd s³u¿y do tworzenia obrazu systemu plikowego u¿ywanego jako
+Geninitrd s³u¿y do tworzenia obrazu systemu plikowego u¿ywanego jako
 inicjalny ramdysk (initrd), z którego przy starcie systemu s± ³adowane
 modu³y kernela z obs³ug± urz±dzeñ których obs³uga nie jest
 wkompilowana w kernel. Zazwyczaj modu³ami ³adowanymi z inicjalnego
@@ -55,17 +60,21 @@ bie
 %setup -q
 
 %build
+rm geninitrd.8
+%{__make} geninitrd.8
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} BUILDROOT=$RPM_BUILD_ROOT install
+%{__make} install \
+       BUILDROOT=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc ChangeLog
 %attr(755,root,root) /sbin/geninitrd
-%config(noreplace) /etc/sysconfig/geninitrd
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/geninitrd
 %{_mandir}/man8/*
This page took 0.057048 seconds and 4 git commands to generate.