diff --git a/README.md b/README.md index 4e63399..825677c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # mtd-utils +MTD is a generic Linux subsystem for memory devices, especially Flash devices. +The aim of the system is to make it simple to provide a driver for new hardware, by providing a generic interface between the hardware drivers and the upper layers of the system. +This package contains tools to handle MTD, such as mkfs.jffs2 to create a jffs2 filesystem. + diff --git a/mtd-utils.spec b/mtd-utils.spec new file mode 100644 index 0000000..11af372 --- /dev/null +++ b/mtd-utils.spec @@ -0,0 +1,95 @@ +Name: mtd-utils +Version: 1.5.1 +Release: 1mamba +Summary: Tools for Memory Technology Devices (MTD) +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.linux-mtd.infradead.org/index.html +Source: ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: liblzo-devel +BuildRequires: libuuid-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +MTD is a generic Linux subsystem for memory devices, especially Flash devices. +The aim of the system is to make it simple to provide a driver for new hardware, by providing a generic interface between the hardware drivers and the upper layers of the system. +This package contains tools to handle MTD, such as mkfs.jffs2 to create a jffs2 filesystem. + +%prep +%setup -q + +%build +%make -j1 \ + CC=%{_target_platform}-gcc \ + WITHOUT_XATTR=1 + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall CC=%{_target_platform}-gcc MANDIR=%{_mandir} +rm -f %{buildroot}%{_sbindir}/mkpfi +rm -f %{buildroot}%{_sbindir}/ubicrc32.pl + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%{_sbindir}/* +%{_mandir}/man1/mkfs.jffs2.* + +%changelog +* Fri Apr 11 2014 Automatic Build System 1.5.1-1mamba +- automatic update by autodist + +* Thu Jun 14 2012 Automatic Build System 1.5.0-1mamba +- automatic version update by autodist + +* Sun Oct 02 2011 Automatic Build System 1.4.6-1mamba +- automatic version update by autodist + +* Mon Jul 25 2011 Automatic Build System 1.4.5-1mamba +- automatic version update by autodist + +* Sun Jun 19 2011 Automatic Build System 1.4.4-1mamba +- automatic update by autodist + +* Tue Mar 29 2011 Automatic Build System 1.4.3-1mamba +- automatic update by autodist + +* Mon Jan 31 2011 Automatic Build System 1.4.2-1mamba +- automatic update by autodist + +* Wed Dec 01 2010 Silvan Calarco 1.4.1-2mamba +- don't install old tools mkpfi and ubicrc32.pl to remove dependency on perl + +* Fri Nov 12 2010 Automatic Build System 1.4.1-1mamba +- automatic update by autodist + +* Mon Sep 27 2010 Automatic Build System 1.4.0-1mamba +- automatic update by autodist + +* Fri Jun 25 2010 Automatic Build System 1.3.1-1mamba +- automatic update by autodist + +* Tue Jan 12 2010 Automatic Build System 1.3.0-1mamba +- automatic update by autodist + +* Mon Jan 05 2009 Silvan Calarco 1.2.0-1mamba +- update to 1.2.0 + +* Sat Jan 13 2007 Silvan Calarco 1.0.0-1qilnx +- update to version 1.0.0 by autospec + +* Thu Oct 20 2005 Stefano Cotta Ramusino 20051020-1qilnx +- update to version 20051020 by autospec + +* Tue Aug 30 2005 Silvan Calarco 20050829-1qilnx +- package created by autospec