Re: FC1 on a VAIO

"Jonathan C. Sitte" <[email protected]> Mon, 17 Nov 2003 20:27:55 -0500
Newsgroups gmane.linux.redhat.rhl.beta,gmane.linux.redhat.fedora.testers
Organization Staticnull
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------070703070304090707070707
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Taylor, ForrestX wrote:
| I have been using a modified sjog rpm that I can post if anyone is
| interested.  It uses the SJog wheel to scroll, and when pressed, you can
| change the brightness, volume, etc.

Right now I am using spicctrl which I have the spec file for FC1. Just
download the source and use this spec to build it for your boxen. Here
is the link to the source and my spec file:
http://spop.free.fr/sonypi/spicctrl-1.6.tar.bz2
- --
Jonathan C. Sitte <[email protected]>
Digital Arts & Computer Technology
http://www.staticnull.org/jcsitte/
917.414.2559 M-F 8AM-10PM

Public Key: http://www.staticnull.org/jcsitte/0x40E69A47-pubkey.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/uXWbbzreREDmmkcRAmvkAKCaYq0Dtf9+YzRsHT9aTDZyyOInrACghWIn
IcQKJxp4N8z/y/Dg3wiXRA8=
=TyF/
-----END PGP SIGNATURE-----

--------------070703070304090707070707
Content-Type: text/plain;
 name="spicctrl.spec"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="spicctrl.spec"

Name: spicctrl
Summary: Sony Vaio SPIC Control Program
Version: 1.6
Release: 3
License: GPL
Group: Applications/System
URL: http://popies.net/sonypi/
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_builddir}/%{name}-root

%description
This utility allows one to query and set a variety of parameters on your
Sony Vaio laptop computer, including:

 * AC Power status
 * Battery status 
 * Screen brightness
 * Bluetooth device power status

%prep
%setup -q

%build
make

%clean
rm -fr %{buildroot}

%install
rm -fr %{buildroot}
mkdir -p %{buildroot}/usr/sbin
install %{_builddir}/%{name}-%{version}/spicctrl %{buildroot}/usr/sbin

%post
if [ ! -c /dev/sonypi ]; then
	rm -f /dev/sonypi
	mknod /dev/sonypi c 10 250
fi
grep 'alias char-major-10-250 sonypi' /etc/modules.conf > /dev/null
RETVAL=$?
if [ $RETVAL -ne 0 ]; then
	echo 'alias char-major-10-250 sonypi' >> /etc/modules.conf
	echo 'options sonypi minor=250' >> /etc/modules.conf
fi

%files
%defattr(-,root,root)
/usr/sbin/spicctrl
%doc AUTHORS LICENSE CHANGES

%changelog
* Sun Nov 16 2003 Jonathan C. Sitte <[email protected]>
- Spec file cleanup

* Sat Nov 15 2003 Jonathan C. Sitte <[email protected]>
- Initial spec file

--------------070703070304090707070707--


--
fedora-test-list mailing list
[email protected]
http://www.redhat.com/mailman/listinfo/fedora-test-list