Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
lmctl
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 4
[-]
[+]
Changed
lmctl.spec
@@ -1,24 +1,34 @@ %define name lmctl %define version 0.3 -%define release 1 +%define release 2 Summary: Logitech Mouse Control Name: %{name} Version: %{version} Release: %{release} -Vendor: Alexios Chouchoulas -Packager: Carsten Schoene <cs@linux-administrator.com> -Source: %{name}_%{version}.tar.gz +Source: %{name}_%{version}.tar.bz2 Patch: %{name}-%{version}.diff URL: http://bedroomlan.dyndns.org/~alexios/coding_lmctl.html License: GPL Group: Applications/System Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root +%if 0%{?sles_version} != 11 && 0%{?suse_version} <= 1020 BuildRequires: libusb +%endif %if 0%{?suse_version} > 1020 || 0%{?centos_version} || 0%{?fedora_version} BuildRequires: libusb-devel %endif %description +lomoco is a fork of lmctl, since we were not able +to get in contact with the lmctl developer. + +lomoco can configure vendor-specific options on Logitech USB mice +(or dual-personality mice plugged into the USB port). +A number of recent devices are supported. The program is +mostly useful in setting the resolution to 800 cpi or higher +on mice that boot at 400 cpi (such as the MX500, MX510, MX1000 etc.), +and disabling SmartScroll or Cruise Control for those who +would rather use the two extra buttons as ordinary mouse buttons. %prep %setup -n lmctl-0.2 @@ -26,24 +36,24 @@ ./autogen.sh %configure +%build %__make %install make DESTDIR=$RPM_BUILD_ROOT install -cd $RPM_BUILD_ROOT -find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.lmctl -find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.lmctl -find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.lmctl -cat $RPM_BUILD_DIR/file.list.lmctl | sed -e s/lmctl.1$/lmctl.1.gz/g > $RPM_BUILD_DIR/file.list.lmctl.fix - -%files -f ../file.list.lmctl.fix +%files +%defattr(-,root,root) +%{_bindir}/lmctl +%{_mandir}/man1/lmctl.1* %clean rm -rf $RPM_BUILD_ROOT -rm -rf $RPM_BUILD_DIR/file.list.lmctl %changelog +* Sat Feb 05 2011 Carsten Schoene <cs@linux-administrator.com> - 0.3-2 +- spec file cleanup + * Sun Jul 13 2008 Carsten Schoene <cs@linux-administrator.com> - buildservice import * Sat Apr 09 2005 Carsten Schoene <cs@linux-administrator.com>
Renamed
lmctl_0.3.tar.bz2
^