From e783729b89ad116bb7383d004c3d1a88815f10d9 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 26 May 2019 12:48:08 +0200 Subject: [PATCH] - new --- tarlz-info.patch | 14 ++++++++++ tarlz.spec | 71 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 tarlz-info.patch create mode 100644 tarlz.spec diff --git a/tarlz-info.patch b/tarlz-info.patch new file mode 100644 index 0000000..d0b31ae --- /dev/null +++ b/tarlz-info.patch @@ -0,0 +1,14 @@ +--- tarlz-0.15/doc/tarlz.texi.orig 2019-04-11 15:40:47.000000000 +0200 ++++ tarlz-0.15/doc/tarlz.texi 2019-05-26 11:58:38.120625988 +0200 +@@ -9,9 +9,9 @@ + @set UPDATED 11 April 2019 + @set VERSION 0.15 + +-@dircategory Data Compression ++@dircategory File utilities: + @direntry +-* Tarlz: (tarlz). Archiver with multimember lzip compression ++* Tarlz: (tarlz). Archiver with multimember lzip compression + @end direntry + + diff --git a/tarlz.spec b/tarlz.spec new file mode 100644 index 0000000..d23bc2f --- /dev/null +++ b/tarlz.spec @@ -0,0 +1,71 @@ +Summary: Parallel combined implementation of tar archiver and lzip compressor +Summary(pl.UTF-8): Równoległa, połączona implementacha archiwizera tar oraz kompresora lzip +Name: tarlz +Version: 0.15 +Release: 1 +License: GPL v3+ +Group: Applications/Archiving +Source0: http://download.savannah.gnu.org/releases/lzip/tarlz/%{name}-%{version}.tar.lz +# Source0-md5: 8b2ba09c63c0621e930f92413bbd619c +Patch0: %{name}-info.patch +URL: http://savannah.nongnu.org/projects/lzip/ +BuildRequires: libstdc++-devel +BuildRequires: lzip +BuildRequires: lzlib-devel +BuildRequires: tar >= 1:1.22 +BuildRequires: texinfo +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Tarlz is a massively parallel (multi-threaded) combined implementation +of the tar archiver and the lzip compressor. Tarlz creates, lists and +extracts archives in a simplified posix pax format compressed with +lzip, keeping the alignment between tar members and lzip members. This +method adds an indexed lzip layer on top of the tar archive, making it +possible to decode the archive safely in parallel. The resulting +multimember tar.lz archive is fully backward compatible with standard +tar tools like GNU tar, which treat it like any other tar.lz archive. +Tarlz can append files to the end of such compressed archives. + +%description -l pl.UTF-8 +Tarlz to intensywnie zrównoleglona (wielowątkowa) połączona +implementacja archiwizera tar oraz kompresora lzip. Tarlz tworzy, +wypisuje zawartość oraz rozpakowuje archiwa w uproszczonym formacie +posix pax, skompresowane przy użyciu lzipa, z zachowaniem wyrównań +pomiędzy elementami archiwum tar oraz elementami lzipa. Ta metoda +dodaje indeksowaną warstwę lzip powyżej archiwum tar, dzięki czemu +można bezpiecznie dekodować równolegle archiwum. Wynikowe archiwum +tar.lz z wieloma plikami jest w pełni wstecznie kompatybilne ze +standardowymi narzędziami tar, takimi jak GNU tar, traktującymi +takie archiwa identycznie, jak inne archiwa tar.lz. Tarlz potrafi +dołączać pliki na końcu takich skompresowanych archiwów. + +%prep +%setup -q +%patch0 -p1 + +%build +%configure +%{__make} all info + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/postshell +-/usr/sbin/fix-info-dir -c %{_infodir} + +%postun -p /sbin/postshell +-/usr/sbin/fix-info-dir -c %{_infodir} + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README +%attr(755,root,root) %{_bindir}/tarlz +%{_mandir}/man1/tarlz.1* +%{_infodir}/tarlz.info* -- 2.44.0