Группа :: Система/Библиотеки
Пакет: libg15
Главная Изменения Спек Патчи Sources Загрузить 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
…
Полный changelog можно просмотреть здесь
%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
…
Полный changelog можно просмотреть здесь