5 Commits

Author SHA256 Message Date
bd34c05a81 Accepting request 1319558 from Archiving
OBS-URL: https://build.opensuse.org/request/show/1319558
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unshield?expand=0&rev=32
2025-11-24 13:11:53 +00:00
b2353f48a3 - Update to version 1.6.2
* https://github.com/twogood/unshield/compare/1.6.1...1.6.2
  * https://github.com/twogood/unshield/compare/1.6.0...1.6.1

OBS-URL: https://build.opensuse.org/package/show/Archiving/unshield?expand=0&rev=31
2025-11-23 14:27:46 +00:00
c47e6a72ec Accepting request 1255879 from Archiving
OBS-URL: https://build.opensuse.org/request/show/1255879
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unshield?expand=0&rev=31
2025-03-25 21:09:57 +00:00
638a065f77 - Update to version 1.6.0
* Remove endian-dependent logic.
  * Fix copyright notice.
  * Various CMake improvements.
  * Re-implement test execution with CTest.
  * Fix leaking handle in edge cases.
  * Fix possible copy and paste mistake in 'unshield_file_save_old'
  * Fix OpenSSL deprecation warnings.
  * Sync man page and usage output.
  * Add io operation callbacks.
  * cmake: Add install export set.
  * Remove md5 and convert_utf from export set when installing.

OBS-URL: https://build.opensuse.org/package/show/Archiving/unshield?expand=0&rev=29
2025-03-25 09:36:15 +00:00
d1546b0a19 Accepting request 1255163 from home:sfalken:branches:Archiving
- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4
- Add %check section

OBS-URL: https://build.opensuse.org/request/show/1255163
OBS-URL: https://build.opensuse.org/package/show/Archiving/unshield?expand=0&rev=28
2025-03-24 10:08:48 +00:00
5 changed files with 50 additions and 16 deletions

View File

@@ -1,10 +1,10 @@
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -51,6 +51,9 @@ if (${OPENSSL_FOUND})
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d35b658..2f2c977 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,6 +51,9 @@ if(${OPENSSL_FOUND})
else()
option(USE_OUR_OWN_MD5 "Build using own md5 implementation" ON)
option(USE_OUR_OWN_MD5 "Build using own md5 implementation" ON)
endif()
+if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "armv7l")
+ add_definitions(-fPIC)

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:34cd97ff1e6f764436d71676e3d6842dc7bd8e2dd5014068da5c560fe4661f60
size 67454

3
unshield-1.6.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a937ef596ad94d16e7ed2c8553ad7be305798dcdcfd65ae60210b1e54ab51a2f
size 42833

View File

@@ -1,3 +1,32 @@
-------------------------------------------------------------------
Thu Nov 20 12:48:51 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.6.2
* https://github.com/twogood/unshield/compare/1.6.1...1.6.2
* https://github.com/twogood/unshield/compare/1.6.0...1.6.1
-------------------------------------------------------------------
Mon Mar 24 19:36:44 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.6.0
* Remove endian-dependent logic.
* Fix copyright notice.
* Various CMake improvements.
* Re-implement test execution with CTest.
* Fix leaking handle in edge cases.
* Fix possible copy and paste mistake in 'unshield_file_save_old'
* Fix OpenSSL deprecation warnings.
* Sync man page and usage output.
* Add io operation callbacks.
* cmake: Add install export set.
* Remove md5 and convert_utf from export set when installing.
-------------------------------------------------------------------
Sat Mar 22 00:18:47 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4
- Add %check section
-------------------------------------------------------------------
Tue Feb 20 16:02:00 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package unshield
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,10 @@
#
%define sover 0
%define sover 1
%define libname lib%{name}%{sover}
Name: unshield
Version: 1.5.1
Version: 1.6.2
Release: 0
Summary: A Program to Extract InstallShield Cabinet Files
License: MIT
@@ -27,7 +27,7 @@ URL: https://github.com/twogood/unshield
Source0: https://github.com/twogood/unshield/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM armv7l-fpic.patch matwey.kornilov@gmail.com -- fix armv7l build
Patch1: armv7l-fpic.patch
BuildRequires: cmake
BuildRequires: cmake >= 3.5
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(openssl)
@@ -58,7 +58,7 @@ documentation for %{libname}. If you like to develop programs using %{libname},
you will need to install %{name}-devel.
%prep
%autosetup -p0
%autosetup -p1
%build
%cmake
@@ -67,8 +67,12 @@ you will need to install %{name}-devel.
%install
%cmake_install
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%check
# parallel check is broken
cd build
/usr/bin/ctest --output-on-failure --force-new-ctest-process -j1
%ldconfig_scriptlets -n %{libname}
%files
%license LICENSE
@@ -83,5 +87,6 @@ you will need to install %{name}-devel.
%{_includedir}/lib%{name}.h
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/lib%{name}.pc
%{_libdir}/cmake/unshield
%changelog