Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:enzokiel
solaar
solaar.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File solaar.spec of Package solaar
# # spec file for package solaar # # 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/ # %{?!python_module:%define python_module() python3-%{**}} %define pythons python3 Name: solaar Summary: Linux devices manager for the Logitech Unifying Receiver Version: 1.1.12 Release: 0 URL: https://pwr-solaar.github.io/Solaar Source0: https://github.com/pwr-Solaar/Solaar/archive/refs/tags/%{version}.tar.gz#/Solaar-%{version}.tar.gz Patch0: solaar-fix-desktop-categories.patch License: GPL-2.0-or-later Group: Hardware/Other BuildRequires: fdupes BuildRequires: hicolor-icon-theme BuildRequires: update-desktop-files BuildRequires: python-rpm-macros BuildRequires: %{python_module PyYAML >= 3.12} BuildRequires: %{python_module evdev >= 1.1.2} BuildRequires: %{python_module gobject >= 2.0} BuildRequires: %{python_module gobject-Gdk >= 2.0} BuildRequires: %{python_module hid-parser} BuildRequires: %{python_module psutil >= 5.4.3} BuildRequires: %{python_module python-xlib >= 0.27} BuildRequires: %{python_module pyudev >= 0.13} BuildRequires: %{python_module setuptools} %if 0%{?sle_version} == 150400 && 0%{?is_opensuse} BuildRequires: typelib(AppIndicator3) %else BuildRequires: typelib(AyatanaAppIndicator3) %endif BuildRequires: typelib(GdkX11) >= 3.0 Requires: python3-PyYAML >= 3.12 Requires: python3-evdev >= 1.1.2 Requires: python3-gobject >= 2.0 Requires: python3-gobject-Gdk >= 2.0 Requires: python3-hid-parser Requires: python3-psutil >= 5.4.3 Requires: python3-python-xlib >= 0.27 Requires: python3-pyudev >= 0.13 %if 0%{?sle_version} == 150400 && 0%{?is_opensuse} Requires: typelib(AppIndicator3) %else Requires: typelib(AyatanaAppIndicator3) %endif Requires: typelib(GdkX11) >= 3.0 Requires: %{name}-udev = %{version} Recommends: %{name}-lang = %{version} BuildArch: noarch %description Solaar will detect all devices paired with your Unifying Receiver, and at the very least display some basic information about them. For some devices, extra settings (usually not available through the standard Linux system configuration) are supported. For a full list of supported devices and their features, see docs/devices.md. %package doc Summary: Documentation for %{name} Group: Documentation/Other %description doc Solaar will detect all devices paired with your Unifying Receiver, and at the very least display some basic information about them. For some devices, extra settings (usually not available through the standard Linux system configuration) are supported. For a full list of supported devices and their features, see docs/devices.md. %package udev Summary: Udev rules for accessing Logitech Unifying Receiver Group: Hardware/Other Requires: udev %description udev Rules that users are able to access Logitech Unifying Receiver. %lang_package %prep %autosetup -p0 -n Solaar-%{version} %build sh ./tools/po-compile.sh sed -i 's#/usr/bin/env python##' lib/solaar/gtk.py lib/solaar/tasks.py lib/keysyms/generate.py %python3_build %install %python3_install %fdupes %{buildroot}%{python3_sitelib} %fdupes -s %{buildroot}%{_datadir} %suse_update_desktop_file %{buildroot}%{_datadir}/applications/%{name}.desktop ln -s solaar %{buildroot}%{_bindir}/solaar-cli %find_lang %{name} %posttrans udev # This is needed to apply permissions to existing devices # when the package is installed. /usr/bin/udevadm trigger --subsystem-match=hidraw --action=add %files %doc CHANGELOG.md COPYRIGHT README.md RELEASE.md %license LICENSE.txt %{_bindir}/%{name} %{_bindir}/%{name}-cli %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}-light_*.png %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/icons/hicolor/scalable/apps/%{name}-*.svg %{_datadir}/metainfo/io.github.pwr_%{name}.%{name}.metainfo.xml %{python3_sitelib}/hidapi %{python3_sitelib}/hid_parser/ %{python3_sitelib}/logitech_receiver %{python3_sitelib}/%{name} %{python3_sitelib}/%{name}-* %{python3_sitelib}/keysyms/ %files udev %{_udevrulesdir}/42-logitech-unify-permissions.rules %files doc %doc docs/* %files lang -f %{name}.lang %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