File genromfs.spec of Package genromfs
#
# spec file for package genromfs
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: genromfs
License: GPL-2.0+
Group: System/Boot
AutoReqProv: on
Version: 0.5.2
Release: 74
Url: http://romfs.sourceforge.net
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Utility for Creating romfs File Systems
%description
Genromfs is a tool for creating romfs file systems, which are
lightweight, read-only file systems supported by the Linux kernel.
Romfs file systems are mainly used for the initial RAM disks used
during installation.
Authors:
--------
Janos Farkas <chexum@shadow.banki.hu>
%prep
%setup
%build
make CC="%{__cc}" CFLAGS="$RPM_OPT_FLAGS -DVERSION=\\\"%{version}\\\"" LDFLAGS=
%install
make PREFIX=$RPM_BUILD_ROOT mandir=%{_mandir} install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYING NEWS ChangeLog genromfs.lsm romfs.txt
%doc %{_mandir}/man8/genromfs.8.gz
/usr/bin/genromfs
%changelog