- Drop support for Building on Leap-42

- Modernise spec file with spec-clener
- Use more of cmake macros
- Trim unused build dependency on doxygen

OBS-URL: https://build.opensuse.org/package/show/Archiving/innoextract?expand=0&rev=17
This commit is contained in:
Martin Pluskal 2018-03-14 08:53:39 +00:00 committed by Git OBS Bridge
parent 47172e52d3
commit e4f3338d4b
2 changed files with 22 additions and 19 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Mar 14 08:49:36 UTC 2018 - mpluskal@suse.com
- Drop support for Building on Leap-42
- Modernise spec file with spec-clener
- Use more of cmake macros
- Trim unused build dependency on doxygen
-------------------------------------------------------------------
Wed Feb 1 11:29:48 UTC 2017 - adam.majer@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package innoextract
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@ -23,44 +23,39 @@ Release: 0
Summary: A tool to extract Inno Setup installers under non-windows systems
License: Zlib
Group: Productivity/Archiving/Backup
Url: http://constexpr.org/innoextract/
URL: http://constexpr.org/innoextract/
Source: http://constexpr.org/innoextract/files/%{name}-%{version}.tar.gz
%if 0%{?suse_version} > 1325
BuildRequires: cmake >= 2.8.0
BuildRequires: gcc-c++
BuildRequires: libboost_date_time-devel
BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_iostreams-devel
BuildRequires: libboost_program_options-devel
%else
BuildRequires: boost-devel
%endif
BuildRequires: cmake >= 2.8.0
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: pkgconfig
BuildRequires: python-devel
BuildRequires: pkgconfig(liblzma)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Inno Setup is a tool to create installers for Microsoft Windows applications.
Inno Extracts allows to extract such installers under non-windows systems
without running the actual installer using wine. Inno Extract currently
supports installers created by Inno Setup 1.2.10 to 5.4.3.
Inno Setup is a tool to create installers for Microsoft Windows
applications. Inno Extracts allows to extract such installers under
non-windows systems without running the actual installer using wine. Inno
Extract currently supports installers created by Inno Setup 1.2.10 to
5.4.3.
%prep
%setup -q
%build
%cmake
make %{?_smp_mflags}
%make_jobs
%install
%cmake_install
%files
%defattr(-,root,root)
%doc CHANGELOG LICENSE README.md
%license LICENSE
%doc CHANGELOG README.md
%{_bindir}/innoextract
%{_mandir}/man1/innoextract.1%{ext_man}
%{_mandir}/man1/innoextract.1%{?ext_man}
%changelog