Search
SailfishOS Open Build Service
>
Projects
>
home:nielnielsen
>
img2simg
> img2simg.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File img2simg.spec of Package img2simg
Summary: Split raw image files into as many sparse files as needed Name: img2simg Version: 1.0 Release: 1 License: Apache License, Version 2.0 URL: https://android.googlesource.com/platform/system/extras/+/jb-release/ext4_utils Group: Applications/System Source0: %{name}-%{version}.zip BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Splits The raw image file into as many sparse files as needed. Each sparse file will contain a single DON'T CARE chunk to offset to the correct block and then a single RAW chunk containing a portion of the data from the raw image file. The sparse files will be named by appending a number to the name of the raw image file. %prep %setup -q -n %{name}-%{version} %build %install mkdir -p %{buildroot}/usr/bin gcc %{name}.c -o %{buildroot}/usr/bin/%{name} %files %defattr(-,root,root) %{_bindir}/%{name} %changelog