]> git.pld-linux.org Git - packages/bmap-tools.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 13 Apr 2014 06:22:50 +0000 (08:22 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 13 Apr 2014 06:22:50 +0000 (08:22 +0200)
bmap-tools.spec [new file with mode: 0644]

diff --git a/bmap-tools.spec b/bmap-tools.spec
new file mode 100644 (file)
index 0000000..4214f9f
--- /dev/null
@@ -0,0 +1,69 @@
+Summary:       Tools to generate block map (AKA bmap) and flash images using bmap
+Summary(pl.UTF-8):     Narzędzia do generowania mapy bloków (bmap) i obrazów flash przy użyciu bmap
+Name:          bmap-tools
+Version:       3.2
+Release:       1
+License:       GPL v2
+Group:         Development/Tools
+Source0:       ftp://ftp.infradead.org/pub/bmap-tools/%{name}-%{version}.tgz
+# Source0-md5: 92cdad1cb4dfa0cca7176c8e22752616
+URL:           https://source.tizen.org/documentation/reference/bmaptool
+BuildRequires: python-distribute
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires:      python-modules >= 1:2.7
+Requires:      python-pygpgme
+Suggests:      gzip
+Suggests:      lzop
+Suggests:      pbzip2
+Suggests:      pigz
+Suggests:      tar
+Suggests:      xz
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Bmap-tools - tools to generate block map (AKA bmap) and flash images
+using bmap. Bmaptool is a generic tool for creating the block map
+(bmap) for a file, and copying files using the block map. The idea is
+that large file containing unused blocks, like raw system image files,
+can be copied or flashed a lot faster with bmaptool than with
+traditional tools like "dd" or "cp".
+
+%description -l pl.UTF-8
+Bmap-tools to narzędzia do generowania map bloków (bmap) oraz obrazów
+flash przy użyciu bmap. Bmaptool to ogólne narzędzie do tworzenia map
+bloków (bmap) dla pliku oraz kopiowania plików przy użyciu tych map.
+Idea jest taka, że duże pliki zawierające nie używane bloki, jak np.
+pliki surowych obrazów systemu, można kopiować lub nagrywać na pamięć
+flash dużo szybciej przy użyciu bmaptool niż za pomocą tradycyjnych
+narzędzi, takich jak "dd" lub "cp".
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python} setup.py install \
+       --optimize=2 \
+       --prefix=%{_prefix} \
+       --root=$RPM_BUILD_ROOT
+
+install -D docs/man1/bmaptool.1 $RPM_BUILD_ROOT%{_mandir}/man1/bmaptool.1
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc docs/{README,RELEASE_NOTES} TODO
+%attr(755,root,root) %{_bindir}/bmaptool
+%{_mandir}/man1/bmaptool.1*
+%dir %{py_sitescriptdir}/bmaptools
+%{py_sitescriptdir}/bmaptools/*.py[co]
+%{py_sitescriptdir}/bmap_tools-%{version}-py*.egg-info
This page took 0.072286 seconds and 4 git commands to generate.