Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mantarimay:apps
ruffle
ruffle.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ruffle.spec of Package ruffle
# # spec file for package ruffle # # Copyright (c) 2024 mantarimay # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %bcond_without test %define _ver nightly-2024-07-02 Name: ruffle Version: 0.1.0~20240702 Release: 0 Summary: Adobe Flash Player emulator written in Rust License: Apache-2.0 OR MIT URL: https://github.com/ruffle-rs/ruffle Source0: %{url}/archive/%{_ver}/%{name}-%{_ver}.tar.gz Source1: vendor.tar.zst BuildRequires: cargo-packaging BuildRequires: desktop-file-utils BuildRequires: hicolor-icon-theme BuildRequires: java BuildRequires: pkgconfig BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(libudev) %description Ruffle is an Adobe Flash Player emulator written in the Rust programming language. Ruffle targets both the desktop and the web using WebAssembly. %prep %autosetup -n %{name}-%{_ver} -a1 -p1 %build %{cargo_build} %install install -Dm0755 target/release/ruffle_desktop \ %{buildroot}%{_bindir}/%{name} install -Dm0644 desktop/assets/logo.svg \ %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ruffle.svg install -d "%{buildroot}%{_datadir}/applications/" cat > "%{buildroot}%{_datadir}/applications/ruffle.desktop" << _EOD [Desktop Entry] Type=Application Name=Ruffle GenericName=Ruffle Comment=Player for using content created on the Adobe Flash platform Exec=ruffle Icon=ruffle Terminal=false StartupNotify=false Categories=Utility; MimeType=application/x-shockwave-flash;application/vnd.adobe.flash.movie; _EOD %check %if %{with test} %{cargo_test} %endif desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %files %license LICENSE.md %doc README.md %{_bindir}/%{name} %{_datadir}/applications %{_datadir}/icons/hicolor %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor