Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
lomoco
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 4
[-]
[+]
Changed
lomoco.spec
@@ -1,6 +1,6 @@ %define name lomoco %define version 1.0 -%define release 1 +%define release 2 Summary: Logitech Mouse Control Name: %{name} @@ -11,35 +11,48 @@ License: GPL Group: Applications/System Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root +%if 0%{?sles_version} != 11 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 ./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.lomoco -find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.lomoco -find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.lomoco -cat $RPM_BUILD_DIR/file.list.lomoco | sed -e s/lomoco.1$/lomoco.1.gz/g > $RPM_BUILD_DIR/file.list.lomoco.fix - -%files -f ../file.list.lomoco.fix +%files +%defattr(-,root,root) +%{_bindir}/lomoco +%{_mandir}/man1/lomoco.1* %clean rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_DIR/file.list.lomoco %changelog +* Sat Feb 05 2011 Carsten Schoene <cs@linux-administrator.com> - 1.0-2 +- spec file cleanup + * Sun Jul 13 2008 Carsten Schoene <cs@linux-administrator.com> - buildservice import