Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
sniffnet
sniffnet.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sniffnet.spec of Package sniffnet
# # spec file for package sniffnet # # Copyright (c) 2024 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/ # Name: sniffnet Version: 1.3.0 Release: 0 Summary: Application to monitor Internet traffic License: Apache-2.0 AND MIT URL: https://github.com/GyulyVGC/sniffnet Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: vendor.tar.zst BuildRequires: desktop-file-utils BuildRequires: extra-cmake-modules BuildRequires: cargo-packaging BuildRequires: rust >= 1.70 BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(libpcap) Recommends: libcap-progs ExclusiveArch: x86_64 aarch64 %description Sniffnet is a network monitoring tool to help you keep track of your Internet traffic. %prep %autosetup -a1 %build %{cargo_build} %install install -Dm755 target/release/%{name} -t %{buildroot}%{_bindir} install -Dm644 "resources/packaging/linux/%{name}.desktop" -t "%{buildroot}%{_datadir}/applications/" install -Dm644 "resources/packaging/linux/graphics/%{name}_8x8.png" "%{buildroot}%{_datadir}/icons/hicolor/8x8/apps/%{name}.png" install -Dm644 "resources/packaging/linux/graphics/%{name}_16x16.png" "%{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%{name}.png" install -Dm644 "resources/packaging/linux/graphics/%{name}_22x22.png" "%{buildroot}%{_datadir}/icons/hicolor/22x22/apps/%{name}.png" install -Dm644 "resources/packaging/linux/graphics/%{name}_24x24.png" "%{buildroot}%{_datadir}/icons/hicolor/24x24/apps/%{name}.png" install -Dm644 "resources/packaging/linux/graphics/%{name}_32x32.png" "%{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png" install -Dm644 "resources/packaging/linux/graphics/%{name}_36x36.png" "%{buildroot}%{_datadir}/icons/hicolor/36x36/apps/%{name}.png" install -Dm644 "resources/packaging/linux/graphics/%{name}_42x42.png" "%{buildroot}%{_datadir}/icons/hicolor/42x42/apps/%{name}.png" install -Dm644 "resources/packaging/linux/graphics/%{name}_48x48.png" "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png" install -Dm644 "resources/packaging/linux/graphics/%{name}_64x64.png" "%{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{name}.png" install -Dm644 "resources/packaging/linux/graphics/%{name}_72x72.png" "%{buildroot}%{_datadir}/icons/hicolor/72x72/apps/%{name}.png" install -Dm644 "resources/packaging/linux/graphics/%{name}_96x96.png" "%{buildroot}%{_datadir}/icons/hicolor/96x96/apps/%{name}.png" install -Dm644 "resources/packaging/linux/graphics/%{name}_128x128.png" "%{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{name}.png" install -Dm644 "resources/packaging/linux/graphics/%{name}_160x160.png" "%{buildroot}%{_datadir}/icons/hicolor/160x160/apps/%{name}.png" install -Dm644 "resources/packaging/linux/graphics/%{name}_192x192.png" "%{buildroot}%{_datadir}/icons/hicolor/192x192/apps/%{name}.png" install -Dm644 "resources/packaging/linux/graphics/%{name}_256x256.png" "%{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{name}.png" install -Dm644 "resources/packaging/linux/graphics/%{name}_384x384.png" "%{buildroot}%{_datadir}/icons/hicolor/384x384/apps/%{name}.png" install -Dm644 "resources/packaging/linux/graphics/%{name}_512x512.png" "%{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%{name}.png" install -Dm644 "resources/packaging/linux/graphics/%{name}_1024x1024.png" "%{buildroot}%{_datadir}/icons/hicolor/1024x1024/apps/%{name}.png" desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %check %files %license LICENSE-APACHE LICENSE-MIT %doc README.md ROADMAP.md SECURITY.md %{_bindir}/%{name} %{_datadir}/icons/hicolor %{_datadir}/applications/%{name}.desktop %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