File genromfs.spec of Package genromfs

#
# spec file for package genromfs (Version 0.5.2)
#
# Copyright (c) 2009 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 v2 or later
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 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
* Tue Jul 24 2007 pgajdos@suse.cz
- updated to 0.5.2 (fixes some bugs)
  * faked device names may contain the special characters
  "-" "_" and "+"
  * code changes -- avoid possible side effects of ntohl(),
  and report nonexistant directories instead of a segfault
- removed genromfs-0.5.1.patch, because was applied upstream
* Thu May 18 2006 schwab@suse.de
- Don't strip binaries.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jan 11 2004 adrian@suse.de
- add %%defattr
* Tue Jan 22 2002 vinil@suse.cz
- version 0.5.1
* Thu Mar 02 2000 kukuk@suse.de
- Initial version