]> git.pld-linux.org Git - packages/genromfs.git/blobdiff - genromfs.spec
- release 10
[packages/genromfs.git] / genromfs.spec
index 37966a21755bcba8d9e349505cd46faf091cbd22..4b5025f7fe32e0cd850a5542a485d5e2de08de2a 100644 (file)
@@ -1,42 +1,61 @@
-Summary:       Tool for creating romfs filesystems
+Summary:       Utility for creating romfs filesystems
+Summary(pl):   Narzêdzie do tworzenia systemów plików romfs
 Name:          genromfs
 Version:       0.3
-Release:       4
+Release:       10
 License:       GPL
-Group:         Utilities/System
-Group(pl):     Narzêdzia/System
+Group:         Applications/System
+Group(de):     Applikationen/System
+Group(es):     Aplicaciones/Sistema
+Group(pl):     Aplikacje/System
+Group(pt_BR):  Aplicações/Sistema
 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
+genromfs 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 Linuksa. Romfs jest g³ównie u¿ywany na inicjalnym
+ramdysku, u¿ywanym w trakcie startu systemu.
 
 %prep
 %setup -q
 %patch -p1
 
 %build
-make
+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
 
 %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.0847560000000001 seconds and 4 git commands to generate.