Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > media > contrib-src > by-pkgid > 0b1d35b3675abc9f7635ac1d9c402fab > files > 3

sjog-0.5-1mdk.src.rpm

%define version 0.5
%define release 1mdk

Summary: A program to use the "Jog Dial" on Sony Vaio Laptops
Name: sjog
Version: %{version}
Release: %{release}
License: GPL
Group: System/Configuration/Other
Source0: http://prdownloads.sourceforge.net/sjog/sjog-%{version}.tar.bz2
Patch0: sjog-debian.patch.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-root
URL: http://sjog.sourceforge.net/
Requires: libgtk+1.2 >= 1.2, spicctrl

%description 
The aim of S-Jog is to give Linux a nice graphical application to
manage Jog-Dial wheel on Sony Vaio laptops. It utilizes the Sony
Programmable I/O driver in recent 2.4.x kernels or the legacy SPIC
driver provided in S-Jog distribution (only available from source
package).

Currently, S-Jog is able to launch applications defined in the sjogrc
file, adjust the screen brightness level and also the master volume of
the sound card. Also S-Jog makes the Jog-Dial work like a mousewheel
and it runs in background.

%prep
%setup -q
%patch0 -p1

%build
%configure
%make

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
%makeinstall
install -m 644 debian/sjog.1 $RPM_BUILD_ROOT%{_mandir}/man1

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-,root,root)
%doc README TODO AUTHORS COPYING ChangeLog NEWS debian/changelog
%config(noreplace) %{_sysconfdir}/sjogrc
%{_datadir}/sjog/pixmaps/*
%{_bindir}/sjog
%{_mandir}/man1/sjog*

%changelog
* Thu Aug 01 2001 Giuseppe Ghibò <ghibo@mandrakesoft.com> 0.5-1mdk
- adaptation to Linux Mandrake RPM specs.
- added debian patches.

* Sat Jul 21 2000 Sylvain GIL <sjog at tootella.org> 0.5-1
- Very small typos corrections.

* Sat Jul 21 2000 Mike Bremford <mike at big.faceless.org> 0.4-1
- Created first cut of RPM for sjog-0.4.