diff --git a/README.md b/README.md index 44ab6c4..1a559d7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # yaffs-utils +YAFFS stands for Yet Another Flash File System. YAFFS is the first file system that has been designed, from the ground up, for NAND storage. + diff --git a/yaffs-utils.spec b/yaffs-utils.spec new file mode 100644 index 0000000..71eae00 --- /dev/null +++ b/yaffs-utils.spec @@ -0,0 +1,50 @@ +Name: yaffs-utils +Version: cvs20080710 +Release: 2mamba +Summary: Utilities for YAFFS, an embedded filesystem designed for NAND storage +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.yaffs.net +# Source got from cvs: +# export CVSROOT=:pserver:anonymous@cvs.aleph1.co.uk:/home/aleph1/cvs cvs logon +# cvs checkout yaffs2 +Source: http://www.yaffs.net/yaffs2-%{version}.tar.bz2 +License: GPL +Provides: yaff-utils +Obsoletes: yaff-utils +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +YAFFS stands for Yet Another Flash File System. YAFFS is the first file system that has been designed, from the ground up, for NAND storage. + +%prep +%setup -q -n yaffs2-%{version} + +%build +%make -C utils + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -m0755 -D utils/mkyaffs2image %{buildroot}%{_bindir}/mkyaffs2image +install -m0755 -D utils/mkyaffsimage %{buildroot}%{_bindir}/mkyaffsimage + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/mkyaffsimage +%{_bindir}/mkyaffs2image +%doc README-linux README-linux-patch + +%changelog +* Fri Dec 12 2008 Silvan Calarco cvs20080710-2mamba +- fixed package name + +* Thu Jul 10 2008 Silvan Calarco cvs20080710-1mamba +- package created by autospec