.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

36 lines
1.3 KiB

# Built by BuildTools/package-linux.ps1, which stages the complete payload tree
# (/opt/ilspy + launcher symlink + desktop integration) and passes it in via
# rpmbuild -bb ilspy.spec --target x86_64
# --define "_topdir <tmp>" --define "_version <version>" --define "_payload_dir <staged tree>"
# The payload is a prebuilt self-contained .NET publish; skip post-install processing
# (stripping the bundled native libraries breaks them) and debuginfo extraction.
%global __os_install_post %{nil}
%global debug_package %{nil}
%global _build_id_links none
Name: ilspy
Version: %{_version}
Release: 1
Summary: .NET assembly browser and decompiler
License: MIT
URL: https://github.com/icsharpcode/ILSpy
# The self-contained payload bundles its own .NET runtime; automatic dependency scanning
# would generate requires for every bundled shared object, so dependencies are listed
# manually instead.
AutoReqProv: no
Requires: libX11, libSM, libICE, fontconfig, libicu
%description
ILSpy is the open-source .NET assembly browser and decompiler,
built on Avalonia and the ICSharpCode.Decompiler engine.
%install
mkdir -p %{buildroot}
cp -a %{_payload_dir}/. %{buildroot}/
%files
/opt/ilspy
/usr/bin/ilspy
/usr/share/applications/ilspy.desktop
/usr/share/icons/hicolor/256x256/apps/ilspy.png