Name: unshield Version: 1.5.1 Release: %autorelease Summary: Extract CAB files from InstallShield installers License: MIT URL: https://github.com/twogood/unshield VCS: git:%{url}.git Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz Patch1: unshield-0001-Rewrite-problematic-code.patch BuildRequires: cmake BuildRequires: gcc BuildRequires: openssl-devel BuildRequires: zlib-devel %description This tool allows the extraction of InstallShield format cabinet files (which are different from Microsoft cabinet files). It was initially developed as a part of the SynCE project to aid with installing applications for Pocket PC devices, which were often contained in InstallShield installers, but these days that is rather less likely to be the primary use case. %package devel Summary: Files needed for software development with %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains the files needed for development with %{name}. %prep %autosetup -p1 %build %cmake -DUSE_OUR_OWN_MD5=OFF %cmake_build %install %cmake_install %files %license LICENSE %doc README.md %{_bindir}/unshield %{_mandir}/man1/unshield.1.* %{_libdir}/libunshield.so.0 %{_libdir}/libunshield.so.0.0.0 %files devel %{_libdir}/libunshield.so %{_includedir}/libunshield.h %{_libdir}/pkgconfig/libunshield.pc %changelog %autochangelog