Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37402044
en ru br
ALT Linux repos
S:1.3.1-alt1

Group :: System/Libraries
RPM: libg15

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define major 1
%define libname libg15_%{major}
%define libname_devel libg15-devel
%define libname_static_devel libg15-devel-static

Name:           libg15
Version:        1.3.1
Release:        alt1
Summary:        Library to control logitech G15 keyboards
License:        GPL-2.0+
Group:          System/Libraries
URL:            https://github.com/vividnightmare/libg15
Source:         libg15-%{version}.tar.gz
BuildRequires:  pkgconfig(libusb)

%description
Controls the G15 keyboard, providing applications access
to the keyboard's LCD display, and the additional keys available
on this keyboard.

%package -n %{libname}
Summary:        Controls the G15 keyboard and LCD
Group:          System/Libraries
Provides:       g15 = %{version}-%{release}

%description -n %{libname}
Controls the G15 keyboard, providing applications access
to the keyboard's LCD display, and the additional keys available
on this keyboard.

%package -n %{libname_devel}
Summary:        Controls the G15 keyboard and LCD
Group:          Development/C
Provides:       g15-devel = %{version}-%{release}
Requires:       g15 = %{version}-%{release}

%description -n %{libname_devel}
Controls the G15 keyboard, providing applications access
to the keyboard's LCD display, and the additional keys available
on this keyboard.

%prep
%setup
mv configure.{in,ac}

%build
# fix build on aarch64
autoreconf -vfi
chmod +x configure
%configure --disable-static
%make_build

%install
%makeinstall_std
rm -f %{buildroot}%{_libdir}/*.la

%files -n %{libname}
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
%{_libdir}/libg15.so.%{major}
%{_libdir}/libg15.so.%{major}.*

%files -n %{libname_devel}
%{_includedir}/*
%{_libdir}/libg15.so

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin