1
Fork 0
copr/unshield.spec
2023-09-18 17:47:20 -04:00

56 lines
1.3 KiB
RPMSpec

Name: unshield
Version: 1.5.1
Release: %autorelease
Summary: Install InstallShield applications on a Pocket PC
License: MIT
URL: https://github.com/twogood/unshield
Source0: https://github.com/twogood/unshield/archive/refs/tags/1.5.1.zip
BuildRequires: zlib-devel
BuildRequires: cmake
BuildRequires: gcc
%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 -n %{name}-%{version}
%build
%cmake
%cmake_build
%install
%cmake_install
%ldconfig_scriptlets
%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