]> git.pld-linux.org Git - packages/genromfs.git/blobdiff - genromfs.spec
- updated to 0.5.2
[packages/genromfs.git] / genromfs.spec
index b41aed0f3d62e557e694ad2437cc8ca565ebc44f..96d5ca88fba91b7facccd289aeda12a389ccb911 100644 (file)
@@ -1,42 +1,55 @@
-Summary:       Tool for creating romfs filesystems
+Summary:       Utility for creating romfs filesystems
+Summary(pl.UTF-8):     Narzędzie do tworzenia systemów plików romfs
 Name:          genromfs
-Version:       0.3
-Release:       4
-License:       GPL
-Group:         Utilities/System
-Group(pl):     Narzêdzia/System
-Source0:       ftp://ftp.banki.hu/pub/linux/local/%{name}-%{version}.tar.gz
-Patch0:                genromfs-0.3.patch
+Version:       0.5.2
+Release:       1
+License:       GPL v2+
+Group:         Applications/System
+Source0:       http://dl.sourceforge.net/romfs/%{name}-%{version}.tar.gz
+# Source0-md5: 2a91463c56f9e042edc330c063a0cf5a
+Patch0:                %{name}-ac_am.patch
+URL:           http://romfs.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
 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.
+%description -l pl.UTF-8
+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. Romfs jest głównie używany na inicjalnym
+ramdysku, używanym w trakcie startu systemu.
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
 
 %build
-make
+%{__libtoolize}
+%{__aclocal}
+%{__automake}
+%{__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
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man8/*
+%doc ChangeLog NEWS genromfs.lsm romfs.txt
+%attr(755,root,root) %{_sbindir}/genromfs
+%{_mandir}/man8/genromfs.8*
This page took 0.069163 seconds and 4 git commands to generate.