rpms/spicctrl/FC-6 .cvsignore, 1.3, 1.4 Makefile, 1.2, 1.3 sources, 1.3, 1.4 spicctrl.spec, 1.4, 1.5 dead.package, 1.1, NONE

Michel Alexandre Salim (salimma) fedora-extras-commits at redhat.com
Mon Nov 13 22:34:55 UTC 2006


Author: salimma

Update of /cvs/extras/rpms/spicctrl/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21355/FC-6

Added Files:
	.cvsignore Makefile sources spicctrl.spec 
Removed Files:
	dead.package 
Log Message:
Resurrect spicctrl for FC-6 and devel



Index: .cvsignore
===================================================================
RCS file: .cvsignore
diff -N .cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ .cvsignore	13 Nov 2006 22:34:25 -0000	1.4
@@ -0,0 +1 @@
+spicctrl-1.9.tar.bz2


Index: Makefile
===================================================================
RCS file: Makefile
diff -N Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Makefile	13 Nov 2006 22:34:25 -0000	1.3
@@ -0,0 +1,21 @@
+# Makefile for source rpm: spicctrl
+# $Id$
+NAME := spicctrl
+SPECFILE = $(firstword $(wildcard *.spec))
+
+define find-makefile-common
+for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
+endef
+
+MAKEFILE_COMMON := $(shell $(find-makefile-common))
+
+ifeq ($(MAKEFILE_COMMON),)
+# attept a checkout
+define checkout-makefile-common
+test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
+endef
+
+MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
+endif
+
+include $(MAKEFILE_COMMON)


Index: sources
===================================================================
RCS file: sources
diff -N sources
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ sources	13 Nov 2006 22:34:25 -0000	1.4
@@ -0,0 +1 @@
+775a1959c03e59830303b8320ca379d2  spicctrl-1.9.tar.bz2


Index: spicctrl.spec
===================================================================
RCS file: spicctrl.spec
diff -N spicctrl.spec
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ spicctrl.spec	13 Nov 2006 22:34:25 -0000	1.5
@@ -0,0 +1,84 @@
+Name:           spicctrl
+Version:        1.9
+Release:        4%{?dist}
+Summary:        Sony Vaio laptop SPIC control program
+
+Group:          Applications/System
+License:        GPL
+URL:            http://popies.net/sonypi/
+Source0:        http://popies.net/sonypi/spicctrl-%{version}.tar.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+ExclusiveArch:	%{ix86}
+
+%description
+spicctrl queries and sets a variety of parameters on Sony Vaio laptop
+computers, including AC Power status, battery status, screen brightness,
+and bluetooth device power status
+
+
+%prep
+%setup -q
+%{__sed} -i 's/ -O2 / $(RPM_OPT_FLAGS) /' Makefile
+
+
+%build
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{_sbindir}
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
+install -p -m755 spicctrl $RPM_BUILD_ROOT%{_sbindir}
+install -p -m644 spicctrl.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post
+if [ ! -c /dev/sonypi ]; then
+	rm -f /dev/sonypi
+	mknod /dev/sonypi c 10 250
+fi
+if [ -e /etc/modprobe.conf ]; then
+	grep 'alias char-major-10-250 sonypi' /etc/modprobe.conf > /dev/null
+	RETVAL=$?
+	if [ $RETVAL -ne 0 ]; then
+		echo 'alias char-major-10-250 sonypi' >> /etc/modprobe.conf
+		echo 'options sonypi minor=250' >> /etc/modprobe.conf
+	fi
+fi
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS CHANGES LICENSE
+%{_sbindir}/spicctrl
+%{_mandir}/man1/spicctrl.1.gz
+
+
+%changelog
+* Sat May 20 2006 Roozbeh Pournader <roozbeh at farsiweb.info> 1.9-4
+- Respect $RPM_OPT_FLAGS (also fixes debuginfo), use correct
+  man page permissions (Ville Skyttä)
+
+* Tue Feb 14 2006 Roozbeh Pournader <roozbeh at farsiweb.info> 1.9-3
+- Rebuild for Fedora Extras 5
+
+* Tue Jan 31 2006 Roozbeh Pournader <roozbeh at farsiweb.info> 1.9-2
+- Bumped release to a proper integer
+
+* Sun Jan 08 2006 Roozbeh Pournader <roozbeh at farsiweb.info> 1.9-1.4
+- Add %%{?dist} tag
+
+* Mon Dec 26 2005 Roozbeh Pournader <roozbeh at farsiweb.info> 1.9-1.3
+- Change ExclusiveArch to %%{ix86}
+
+* Mon Dec 26 2005 Roozbeh Pournader <roozbeh at farsiweb.info> 1.9-1.2
+- Add ExclusiveArch
+
+* Thu Dec 22 2005 Roozbeh Pournader <roozbeh at farsiweb.info> 1.9-1.1
+- First revision, based on upstream spec file


--- dead.package DELETED ---




More information about the scm-commits mailing list