From 0fa27b3e7de347e69de087a5edc6f76389ed948d Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 9 Dec 2021 10:57:40 +0100 Subject: [PATCH] Git import and update to 0.8 --- .gitattributes | 1 + .tito/releasers.conf | 1 + .tito/tito.props | 5 ++-- chunkfs_0.8.tar.xz | 3 +++ fuse-chunkfs.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 68 insertions(+), 2 deletions(-) create mode 100644 .gitattributes create mode 120000 .tito/releasers.conf create mode 100644 chunkfs_0.8.tar.xz create mode 100644 fuse-chunkfs.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1177240 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.xz filter=lfs diff=lfs merge=lfs -text diff --git a/.tito/releasers.conf b/.tito/releasers.conf new file mode 120000 index 0000000..867c32f --- /dev/null +++ b/.tito/releasers.conf @@ -0,0 +1 @@ +../../tito_libs/releasers.conf \ No newline at end of file diff --git a/.tito/tito.props b/.tito/tito.props index eab3f19..4c3685b 100644 --- a/.tito/tito.props +++ b/.tito/tito.props @@ -1,5 +1,6 @@ [buildconfig] -builder = tito.builder.Builder -tagger = tito.tagger.VersionTagger +builder = dbd.builder.GitLfsBuilder +tagger = tito.tagger.ReleaseTagger changelog_do_not_remove_cherrypick = 0 changelog_format = %s (%ae) +lib_dir = ../tito_libs diff --git a/chunkfs_0.8.tar.xz b/chunkfs_0.8.tar.xz new file mode 100644 index 0000000..4f5f7e1 --- /dev/null +++ b/chunkfs_0.8.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c5bf9d6d6b678d5bd42df42529da84d3942f0ba707355ca47fb98ccc0df77cf +size 13768 diff --git a/fuse-chunkfs.spec b/fuse-chunkfs.spec new file mode 100644 index 0000000..bc104c4 --- /dev/null +++ b/fuse-chunkfs.spec @@ -0,0 +1,60 @@ +Summary: FUSE based filesystem to mount file or block device as a directory tree +Name: fuse-chunkfs +Version: 0.8 +Release: 0%{?dist} +License: GPLv2 +Group: System Environment/Kernel +Url: http://chunkfs.florz.de/ +Source0: http://chunkfs.florz.de/%{realname}_%{version}.tar.xz + +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: fuse-devel + +%description +ChunkFS is a FUSE based filesystem that allows you to mount an arbitrary +file or block device as a directory tree of files that each represent a chunk +of user-specified size of the mounted file. +The chunk size is global per mount, but at mount time any value can be +specified. (If the file size isn't a multiple of the specified chunk +size, the last file in the tree simply will be smaller than the chunk size.) +Only read access is supported at the moment. +UnChunkFS is the inversion of ChunkFS—it allows you to mount a ChunkFS tree +(or a copy of it, of course), and gives you a single file named image +that has the same contents as the file or device you created the tree from +by mounting it as a ChunkFS. + +%prep +%setup -q -n %{realname}-%{version} + +%build +%{__make} %{?_smp_mflags} + +%install +rm -rf %{buildroot} +%{__install} -d %{buildroot}%{_bindir} +%{__install} -m 755 chunkfs %{buildroot}%{_bindir} +%{__install} -m 755 unchunkfs %{buildroot}%{_bindir} +%{__install} -d %{buildroot}%{_mandir}/man1 +%{__install} -m 644 chunkfs.1.gz %{buildroot}%{_mandir}/man1 +%{__ln_s} chunkfs.1.gz %{buildroot}%{_mandir}/man1/unchunkfs.1.gz + +%files +%defattr(-, root, root, -) +%doc COPYING INSTALL README writeoverlay.sh +%{_bindir}/* +%{_mandir}/man1/* + +%clean +rm -rf %{buildroot} + +%changelog +* Wed Feb 4 2015 Daniel Berteaud - 0.7-1 +- Update to 0.7 + +* Fri Nov 15 2013 Daniel Berteaud - 0.6-2 +- Spec file cleanup + +* Mon Aug 01 2011 Daniel Berteaud - 0.6-1 +- Initial release +