Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
hardware
ratslap
ratslap.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ratslap.spec of Package ratslap
# # spec file for package ratslap # # Copyright (c) 2023 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: ratslap Version: 0.4.1 Release: 0 Summary: Linux configuration tool for Logitech mice License: GPL-2.0-only Group: Hardware/Other URL: https://gitlab.com/krayon/ratslap Source: https://gitlab.com/krayon/ratslap/-/archive/%{version}/%{name}-%{version}.tar.bz2 BuildRequires: gcc BuildRequires: libusb-1_0-devel %description RatSlap provides a way to configure configurable Logitech mice from within Linux. Currently, only G300/G300S is supported. %prep %autosetup -p1 %build CREATION=`stat -c '%%Y' %{SOURCE0}` DATE=`date --date="@$CREATION" '+%%F %T%z'` MONTH=`date --date="@$CREATION" '+%m'` YEAR=`date --date="@$CREATION" '+%Y'` make manpage.1 ratslap \ CARCH_FLAG=' ' \ OPT_FLAGS="%{optflags}" \ MAJVER="%{version}" \ APPBRANCH="release" \ APPVER="%{version}" \ BUILD_DATE="$DATE" \ BUILD_MONTH="$MONTH" \ BUILD_YEAR="$YEAR" \ BUILD_COMMIT="n/a" %install install -m 0755 -d %{buildroot}/%{_bindir} install -m 0755 -d %{buildroot}/%{_mandir}/man1 install -m 0755 ratslap %{buildroot}/%{_bindir} install -m 0644 manpage.1 %{buildroot}/%{_mandir}/man1/ratslap.1 %files %doc AUTHORS.md CONTRIBUTING.md README.md %license LICENSE %{_bindir}/%{name} %{_mandir}/man1/%{name}.1.gz %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