]> git.pld-linux.org Git - packages/genromfs.git/commitdiff
- release 8, genromfs-0_3-8
authorkloczek <kloczek@pld-linux.org>
Sun, 24 Sep 2000 17:11:30 +0000 (17:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added ac_am patch with full autoconf/automake suit for building genromfs,
- added some %doc,
- genromfs binary executable moved to /sbin.

Changed files:
    genromfs.spec -> 1.8

genromfs.spec

index 53a18c2d1ea545c92635293c86633f17309beb0a..816d1bf67134c6ba79e6fd553db7c86caa68d8cd 100644 (file)
@@ -1,42 +1,59 @@
-Summary:       Tool for creating romfs filesystems
+Summary:       Utility for creating romfs filesystems
 Name:          genromfs
 Version:       0.3
-Release:       4
+Release:       8
 License:       GPL
-Group:         Utilities/System
-Group(pl):     Narzêdzia/System
+Group:         Applications/System
+Group(de):     Applikationen/System
+Group(pl):     Aplikacje/System
 Source0:       ftp://ftp.banki.hu/pub/linux/local/%{name}-%{version}.tar.gz
-Patch0:                genromfs-0.3.patch
+Patch0:                %{name}-ac_am.patch
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 ExclusiveOS:   Linux
 
+%define                _sbindir        /sbin
+
 %description
-Genromfs is a tool for creating romfs filesystems, which are
+enromfs is a tool for creating romfs filesystems, which are
 lightweight, read-only filesystems supported by the Linux kernel.
+Romfs filesystems are mainly used for the initial RAM disks used
+during installation.
 
 %description -l pl
 genromfs jest narzêdziem s³u¿±cym do tworzenia systemów plików romfs,
 które s± lekkimi systemami plików tylko do odczytu, obs³ugiwanymi
-przez j±dro Linuksa.
+przez j±dro Linukxa. Romfs ejst g³ównie u¿ywany na inicjalnym ramdysku
+który jest u¿ywany w trakcie startu systemu.
 
 %prep
 %setup -q
 %patch -p1
 
 %build
+libtoolize --copy --force
+aclocal
+automake -a -c
+autoconf
+%configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8}
 
-%{__make} install PREFIX=$RPM_BUILD_ROOT
-strip $RPM_BUILD_ROOT%{_bindir}/genromfs
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+gzip -9nf ChangeLog genromfs.lsm romfs.txt \
+       $RPM_BUILD_ROOT%{_mandir}/man8/*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
+%doc *.gz
+%attr(755,root,root) %{_sbindir}/*
 %{_mandir}/man8/*
This page took 0.034296 seconds and 4 git commands to generate.