]> git.pld-linux.org Git - packages/geninitrd.git/blobdiff - geninitrd.spec
- up to 7339
[packages/geninitrd.git] / geninitrd.spec
index 51b390321bbad1f14703b3981c4b283e1aebc48a..7a46df68e74490a55dbc1ed914925879944013be 100644 (file)
@@ -1,30 +1,35 @@
 Summary:       Creates an initial ramdisk image for preloading modules
-Summary(pl):   Narzedzie do tworzenia inicjalnego ramdysku u¿ywanego przy starcie systemu
+Summary(pl):   Narzêdzie do tworzenia inicjalnego ramdysku u¿ywanego przy starcie systemu
 Name:          geninitrd
-Version:       2.0
-Release:       2
+Version:       7339
+Release:       1
 License:       GPL
-Group:         Utilities/System
-Group(pl):     Narzêdzia/System
-Source0:       ftp://ftp.pld.org.pl/software/geninitrd/%{name}-%{version}.tar.gz
+Group:         Applications/System
+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:      sh-utils
+Requires:      busybox-initrd >= 1.00-0.rc3.2
 Requires:      fileutils
-Requires:      mount
-Requires:      bsp
-Requires:      gzip
-Requires:      tar
 Requires:      genromfs
-Prereq:                rc-scripts >= 0.2.7
+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.4
+Requires:      sh-utils
+Requires:      tar
 Obsoletes:     mkinitrd
-ExclusiveArch: %{ix86} sparc sparc64 ia64
+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
@@ -53,20 +58,23 @@ bie
 
 %prep
 %setup -q
+
 %build
-mv Makefile Makefile.sav
-sed s/"VERSION=1.2"/"VERSION=%{version}"/g Makefile.sav >Makefile
-rm Makefile.sav
+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.07741 seconds and 4 git commands to generate.