]> git.pld-linux.org Git - packages/geninitrd.git/blobdiff - geninitrd.spec
- up to 7339
[packages/geninitrd.git] / geninitrd.spec
index 7b6b1d567e4a44ce8ecb46b6e2451b9f1de82e70..7a46df68e74490a55dbc1ed914925879944013be 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:       3075
+Version:       7339
 Release:       1
 License:       GPL
 Group:         Applications/System
-Source0:       %{name}-%{version}.tar.gz
-# Source0-md5: 4fce52d10dcc423918e9b8103d0fcf3c
+Source0:       ftp://ftp1.pld-linux.org/people/arekm/software/%{name}-%{version}.tar.gz
+# Source0-md5: af9d65487166fef68917e90849521342
+BuildRequires: xmlto >= 0:0.0.18-1
 Requires:      awk
-Requires:      busybox-initrd >= 1.00-0.pre5.0
+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 >= 0.0.2
+Requires:      pci-database >= 0.4
 Requires:      sh-utils
 Requires:      tar
-Prereq:                rc-scripts >= 0.2.7
 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.082994 seconds and 4 git commands to generate.