diff --git a/unshield.spec b/unshield.spec index ab27f0c..97e2434 100644 --- a/unshield.spec +++ b/unshield.spec @@ -2,16 +2,14 @@ Name: unshield Version: 1.6.2 Release: %autorelease Summary: Extract CAB files from InstallShield installers -SourceLicense: MIT and LicenseRef-RSA License: MIT URL: https://github.com/twogood/unshield VCS: git:%{url}.git Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz +BuildRequires: cmake BuildRequires: gcc BuildRequires: openssl-devel BuildRequires: zlib-devel -BuildSystem: cmake -BuildOption(conf): -DUSE_OUR_OWN_MD5=OFF %description This tool allows the extraction of InstallShield format cabinet files (which @@ -28,6 +26,16 @@ Requires: %{name}%{?_isa} = %{version}-%{release} The %{name}-devel package contains the files needed for development with %{name}. +%prep +%autosetup -p1 -n %{name}-%{version} + +%build +%cmake -DUSE_OUR_OWN_MD5=OFF +%cmake_build + +%install +%cmake_install + %files %license LICENSE %doc README.md