commit b4788b57b2a32d51d97ccb2a62b26119753c948b
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sun Feb 25 13:25:21 2024 +0000
Update to 1.2
.gitignore | 1 +
sources | 2 +-
torrentzip-0.9-format-secure.patch | 21 ------
torrentzip.spec | 47 +++++---------
trrntzip-0.2-help.patch | 36 ----------
trrntzip-0.2-warningfixes.patch | 130 -------------------------------------
6 files changed, 20 insertions(+), 217 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 174aad7..1b265ef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
trrntzip_v02_src.tar.gz
/trrntzip-code-r9.zip
+/trrntzip-1.2.tar.gz
diff --git a/sources b/sources
index 0d5eed4..dfe6211 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-815262b72a4575496f33fada89ed6802 trrntzip-code-r9.zip
+SHA512 (trrntzip-1.2.tar.gz) =
90c853efde1d077c741206362bc14fe779627f1b20571246e99ed29980840e78c0377110431c59c35596a0d209e612f6fe77b385707eb4bdb1ea47bb797c9272
diff --git a/torrentzip.spec b/torrentzip.spec
index 6b6c0ea..0f99ddd 100644
--- a/torrentzip.spec
+++ b/torrentzip.spec
@@ -1,52 +1,41 @@
-# We patch the same files multiple times, so we have slight differences
-%define _default_patch_fuzz 2
-
Summary: Create identical zip files over multiple systems
-Name: torrentzip
-Version: 0.9
-Release: 10%{?dist}
+Name: torrentzip
+Version: 1.2
+Release: 1%{?dist}
License: GPLv2+
-Group: Applications/File
-URL:
http://sourceforge.net/projects/trrntzip
-Source:
https://sourceforge.net/code-snapshots/svn/t/tr/trrntzip/code/trrntzip-co...
-Patch0: torrentzip-0.9-format-secure.patch
-Patch1: trrntzip-0.2-warningfixes.patch
-Patch2: trrntzip-0.2-help.patch
+URL:
https://github.com/0-wiz-0/trrntzip
+Source: %url/archive/v%{version}/trrntzip-%{version}.tar.gz
+
+BuildRequires: cmake
+BuildRequires: gcc
+BuildRequires: ninja-build
BuildRequires: zlib-devel
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: libtool
%description
TorrentZip is a replacement for MameZip. The goal of the program is to use
standard values when creating zips to create identical files over multiple
systems.
-
%prep
-%setup -q -n trrntzip-code-r9
-%patch0 -p1 -b .format_secure
-#patch1 -p1 -b .warningfixes
-#patch2 -p1 -b .help
-
+%setup -q -n trrntzip-%{version}
%build
-# No configure, we need to generate it from configure.in
-sh ./autogen.sh
-%configure
-%make_build
-
+%cmake -GNinja
+%cmake_build
%install
-%make_install
-
+%cmake_install
%files
-%doc AUTHORS COPYING README
+%doc AUTHORS NEWS.md README.md
+%license COPYING GPL2.txt
%{_bindir}/trrntzip
%changelog
+* Sun Feb 25 2024 Leigh Scott <leigh123linux(a)gmail.com> - 1.2-1
+- Update to 1.2
+
* Sun Feb 04 2024 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> - 0.9-10
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild