diff options
author | Giacomo Catenazzi <cate@debian.org> | 2019-04-29 15:39:27 +0200 |
---|---|---|
committer | Giacomo Catenazzi <cate@debian.org> | 2019-04-29 15:39:27 +0200 |
commit | 6fc3786b7a182362df17cf9ba85334474523fb2a (patch) | |
tree | 9329bb0821caa7b339936ec08af44433f60d1c02 /rpm |
Import Upstream version 1.2.2
Diffstat (limited to 'rpm')
-rw-r--r-- | rpm/libg15.spec | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/rpm/libg15.spec b/rpm/libg15.spec new file mode 100644 index 0000000..6951742 --- /dev/null +++ b/rpm/libg15.spec @@ -0,0 +1,65 @@ +# libg15 rpm spec file +# +%define prefix /usr +Summary: library to control logitech G15 keyboards +Name: libg15 +Version: 1.2.2 +Release: 1 +Copyright: GPL +Group: Applications/System +Source: http://prdownloads.sourceforge.net/g15tools/libg15-1.2.2.tar.bz2 +URL: http://sourceforge.net/projects/g15tools +Distribution: Linux +Vendor: NONE +Packager: Mike Lampard <mlampard@users.sourceforge.net> +Buildroot: /var/tmp/libg15-%{PACKAGE_VERSION}-root +Requires: libusb +BuildRequires: libusb-devel +Provides: libg15 + +%description +libg15 controls the G15 keyboard, providing applications access +to the keyboard's LCD display, and the additional keys available +on this keyboard. Logitech Z-10 speakers and G11 keyboards are also supported. + +%package devel +Summary: libg15 controls the G15 keyboard and LCD. +Group: System Environment/Libraries +Requires: libusb +Requires: libg15 +Provides: libg15-devel + +%description devel +libg15 controls the G15 keyboard, providing applications access +to the keyboard's LCD display, and the additional keys available +on this keyboard. Logitech Z-10 speakers and G11 keyboards are also supported. + +%prep +%setup + +%build +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} +make + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install + +%clean +rm -rf $RPM_BUILD_ROOT +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-, root, root) + +%doc AUTHORS COPYING NEWS README +%{prefix}/lib/lib*.la +%{prefix}/lib/libg15.so* + +%files devel +%defattr(-, root, root) + +%doc AUTHORS COPYING NEWS README +%{prefix}/lib/lib*.a +%{prefix}/include/* |