Created
April 11, 2015 08:16
-
-
Save vaites/57a83faff7e6dc824c44 to your computer and use it in GitHub Desktop.
Fixed g15daemon spec files by Thomas Pifer (Fedora 21 compatible)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: g15daemon | |
Version: 1.9.5.3 | |
Release: 1%{?dist} | |
Summary: A daemon that allows use of the G15 keyboard's keys and LCD | |
License: GPLv2 | |
URL: http://www.g15tools.com/node/180 | |
Source0: http://downloads.sourceforge.net/project/g15daemon/G15Daemon%201.9x/%{version}/%{name}-%{version}.tar.bz2 | |
Group: Applications/System | |
#Uses a patch derived from the g15daemon-wip folder in trunk: | |
#https://g15daemon.svn.sourceforge.net/svnroot/g15daemon/trunk/g15daemon-wip/g15daemon/utility_funcs.c | |
Patch0: g15daemon-config_fd-fix.patch | |
#COPYING needs patched to reflect the updated address of the FSF and GPLv2 license | |
Patch1: g15daemon-copying.patch | |
#Remove beginning ellipses on line 58 to correct display error | |
Patch2: g15daemon_client_devel-man-page-fix.patch | |
#Backported fix for uinput support from Rev 527: | |
#https://g15daemon.svn.sourceforge.net/svnroot/g15daemon/trunk/g15daemon-wip/plugins/g15_plugin_uinput.c | |
Patch3: g15daemon-uinput.patch | |
#Backported fix for libg15daemon_net.c from Rev 463: | |
#This fixes a buffer overflow when running g15macro | |
#https://g15daemon.svn.sourceforge.net/svnroot/g15daemon/trunk/g15daemon-wip/libg15daemon_client/g15daemon_net.c | |
Patch4: g15daemon_net-fix.patch | |
BuildRequires: libg15-devel | |
BuildRequires: libg15render-devel | |
%description | |
G15daemon takes control of the G15 keyboard, allowing the use of | |
all keys through the Linux kernel uinput device driver. It also | |
controls the use of the keyboard's LCD display, allows multiple, | |
simultaneous client applications to connect, and gives the user | |
the ability to switch between client apps at the press of a | |
button. | |
%package devel | |
Summary: Development files for g15daemon | |
Requires: %{name} = %{version} | |
Group: Development/Libraries | |
%description devel | |
This package contains development files for programs | |
that use %{name} | |
%prep | |
%setup -q | |
%patch0 -p1 | |
%patch1 -p1 | |
%patch2 -p0 | |
%patch3 -p1 | |
%patch4 -p0 | |
%build | |
%configure --disable-static | |
make %{?_smp_mflags} | |
%install | |
rm -rf $RPM_BUILD_ROOT | |
make install DESTDIR=$RPM_BUILD_ROOT | |
%files | |
%defattr(-,root,root,-) | |
%doc AUTHORS ChangeLog COPYING FAQ LICENSE NEWS README README.Linux | |
/usr/share/doc/g15daemon-1.9.5.3/AUTHORS | |
/usr/share/doc/g15daemon-1.9.5.3/ChangeLog | |
/usr/share/doc/g15daemon-1.9.5.3/FAQ | |
/usr/share/doc/g15daemon-1.9.5.3/LICENSE | |
/usr/share/doc/g15daemon-1.9.5.3/NEWS | |
/usr/share/doc/g15daemon-1.9.5.3/README | |
/usr/share/doc/g15daemon-1.9.5.3/README.FreeBSD | |
/usr/share/doc/g15daemon-1.9.5.3/README.Linux | |
/usr/share/doc/g15daemon-1.9.5.3/README.Solaris | |
/usr/share/doc/g15daemon-1.9.5.3/README.usage | |
/usr/share/doc/g15daemon-1.9.5.3/TODO | |
%exclude %{_libdir}/%{name}/%{version}/plugins/g15plugin*.la | |
%{_libdir}/%{name}/%{version}/plugins/g15plugin*.so | |
%{_sbindir}/%{name} | |
%{_datarootdir}/%{name}/splash/g15logo2.wbmp | |
%{_mandir}/man1/%{name}.1* | |
%files devel | |
%{_includedir}/* | |
%exclude %{_libdir}/*.la | |
%{_libdir}/libg15daemon_client.so* | |
%{_mandir}/man3/g15daemon_client_devel.3* | |
%post -p /sbin/ldconfig | |
%postun -p /sbin/ldconfig | |
%post devel -p /sbin/ldconfig | |
%postun devel -p /sbin/ldconfig | |
%changelog | |
* Tue Feb 07 2012 Thomas Pifer <zero456@gmail.com> - 1.9.5.3-1 | |
- Initial package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: libg15 | |
Version: 1.2.7 | |
Release: 1%{?dist} | |
Summary: Library to handle the LCD and extra keys on the Logitech G15 Gaming Keyboard | |
License: GPLv2 | |
URL: http://www.g15tools.com/ | |
Source0: http://downloads.sourceforge.net/project/g15tools/%{name}/%{version}/%{name}-%{version}.tar.bz2 | |
Group: System Environment/Libraries | |
#COPYING needs patched to reflect the updated address of the FSF and GPLv2 license | |
patch0: libg15-copying.patch | |
BuildRequires: libusb-devel | |
%description | |
This is a library to handle the LCD and extra keys on the Logitech G15 Gaming | |
Keyboard and similar devices. | |
LibG15 currently supports LCD & keys on the following devices: | |
- Original G15 keyboard | |
- G11 keyboard | |
- Z10 speakers | |
- 2nd revision of the G15 (amber backlight, 6 'G' keys, LCD) | |
- Gamepanel available on some laptops | |
%package devel | |
Summary: Development files for libg15 | |
Group: Development/Libraries | |
Requires: %{name} = %{version} | |
%description devel | |
This package contains development files for programs | |
that use %{name} | |
%prep | |
%setup -q | |
%patch0 -p1 | |
%build | |
%configure --disable-static | |
make %{?_smp_mflags} | |
%install | |
rm -rf $RPM_BUILD_ROOT | |
make install DESTDIR=$RPM_BUILD_ROOT | |
%files | |
%defattr(-,root,root,-) | |
%doc AUTHORS ChangeLog COPYING NEWS README | |
%exclude %{_libdir}/lib*.la | |
%{_libdir}/libg15.so.1* | |
%files devel | |
%{_includedir}/* | |
%{_libdir}/libg15.so | |
%post -p /sbin/ldconfig | |
%postun -p /sbin/ldconfig | |
%changelog | |
* Tue Feb 07 2012 Thomas Pifer <zero456@gmail.com> - 1.2.7-1 | |
- Initial package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: libg15render | |
Version: 1.2 | |
Release: 1%{?dist} | |
Summary: Library to render text and shapes on a Logitech G15 Gaming Keyboard | |
License: GPLv2 | |
URL: http://www.g15tools.com/ | |
Source0: http://downloads.sourceforge.net/project/g15tools/%{name}/%{version}/%{name}-%{version}.tar.bz2 | |
Group: System Environment/Libraries | |
#COPYING needs patched to reflect the updated address of the FSF and GPLv2 license | |
patch0: libg15render-copying.patch | |
BuildRequires: libg15-devel | |
%description | |
This is a library to render text and shapes into a buffer usable by the | |
Logitech G15 Gaming Keyboard. | |
%package devel | |
Summary: Development files for libg15render | |
Group: Development/Libraries | |
Requires: %{name} = %{version} | |
%description devel | |
This package contains development files for programs | |
that use %{name} | |
%prep | |
%setup -q | |
%patch0 -p0 | |
%build | |
%configure --disable-static | |
make %{?_smp_mflags} | |
%install | |
rm -rf $RPM_BUILD_ROOT | |
make install DESTDIR=$RPM_BUILD_ROOT | |
%files | |
%defattr(-,root,root,-) | |
%doc AUTHORS ChangeLog COPYING NEWS README | |
/usr/share/doc/libg15render-1.2/AUTHORS | |
/usr/share/doc/libg15render-1.2/COPYING | |
/usr/share/doc/libg15render-1.2/ChangeLog | |
/usr/share/doc/libg15render-1.2/NEWS | |
/usr/share/doc/libg15render-1.2/README | |
%exclude %{_libdir}/lib*.la | |
%{_libdir}/libg15render.so.1* | |
%{_mandir}/man3/libg15render.3* | |
%files devel | |
%{_includedir}/* | |
%{_libdir}/libg15render.so | |
%post -p /sbin/ldconfig | |
%postun -p /sbin/ldconfig | |
%changelog | |
* Tue Feb 07 2012 Thomas Pifer <zero456@gmail.com> - 1.2-1 | |
- Initial package. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment