From 7f54eb9031c2a3ed1df8aafff28b7cb8a602e6ce Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 29 Aug 2007 19:59:44 +0000 Subject: [PATCH 1/5] Initialize branch FC-6 for wdaemon --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..d5b6362 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +FC-6 From f4123dae91c9f74aacc7d1b816e05057741360e8 Mon Sep 17 00:00:00 2001 From: Aristeu Sergio Rozanski Filho Date: Tue, 11 Sep 2007 12:56:25 +0000 Subject: [PATCH 2/5] 0.11-1 --- .cvsignore | 1 + sources | 1 + wdaemon.spec | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 wdaemon.spec diff --git a/.cvsignore b/.cvsignore index e69de29..4dc9f8b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +wdaemon-0.11.tar.bz2 diff --git a/sources b/sources index e69de29..83aa4f1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ccf216d77a096613aa7ddc9da7976102 wdaemon-0.11.tar.bz2 diff --git a/wdaemon.spec b/wdaemon.spec new file mode 100644 index 0000000..08c8469 --- /dev/null +++ b/wdaemon.spec @@ -0,0 +1,88 @@ +Name: wdaemon +Version: 0.11 +Release: 1%{?dist} +Summary: Hotplug helper for Wacom X.org driver + +Group: User Interface/X Hardware Support +License: GPL +URL: http://jake.ruivo.org/~aris/wdaemon/ +Source0: http://jake.ruivo.org/~aris/wdaemon/wdaemon-%{version}.tar.bz2 + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} +BuildRequires: glibc-devel +Requires: udev >= 030-21 + +%description +Helper application which emulates persistent input devices for Wacom tablets +so they can be plugged and unplugged while X.org server is running. This should +go away as soon X.org properly supports hotplugging. + +%prep +%setup -q + +%build +export CFLAGS="$RPM_OPT_FLAGS" +make + +%install +rm -rf $RPM_BUILD_ROOT + +make DESTDIR=$RPM_BUILD_ROOT bindir=%{_bindir} sysconfdir=%{_sysconfdir} install; +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/scripts/ +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/ +install -m 0755 udev/is_uinput.sh $RPM_BUILD_ROOT%{_sysconfdir}/udev/scripts/ +install -m 0644 udev/61-uinput-wacom.rules $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/ +install -m 0644 udev/61-uinput-stddev.rules $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/ + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +if [ $1 = 1 ]; then + /sbin/chkconfig --add %{name} +fi + +%preun +if [ $1 = 0 ]; then + /sbin/service %{name} stop > /dev/null 2>&1 + /sbin/chkconfig --del %{name} +fi + +%postun +if [ $1 -ge 1 ]; then + /sbin/service %{name} condrestart >/dev/null 2>&1 +fi + +%files +%defattr(-,root,root,-) +%doc AUTHORS LICENSE Changelog README simple.conf +%{_bindir}/wdaemon +%config(noreplace) %{_sysconfdir}/udev/rules.d/61-uinput-wacom.rules +%config(noreplace) %{_sysconfdir}/udev/rules.d/61-uinput-stddev.rules +%{_sysconfdir}/rc.d/init.d/wdaemon +%{_sysconfdir}/udev/scripts/is_uinput.sh + +%changelog +* Wed Aug 01 2007 Aristeu Rozanski 0.11-1 +- Updated to version 0.11 + +* Tue Jul 24 2007 Aristeu S. Rozanski F. 0.10-3 +- More problems found by Jarod Wilson fixed: +- Removing exclusive architectures, it used to be in sync with linuxwacom + package +- marking udev rules as non-replaceable config files +- using install on makefile + +* Mon Jul 23 2007 Aristeu S. Rozanski F. 0.10-2 +- Fixing the problems found by Jarod Wilson: +- Fixing make install target +- Fixing Makefile so it honors the provided CFLAGS +- not using makeinstall macro +- installing is_uinput.sh as 755 instead of changing later with attr + +* Fri Jul 20 2007 Aristeu S. Rozanski F. 0.10-1 +* upgrading to version 0.10 + +* Thu Jul 19 2007 Aristeu S. Rozanski F. 0.09-1 +- first release + From 886a528b5a84f0c347113152a1a80dda244f85af Mon Sep 17 00:00:00 2001 From: Aristeu Sergio Rozanski Filho Date: Mon, 28 Jan 2008 20:52:48 +0000 Subject: [PATCH 3/5] updating to version 0.13 --- .cvsignore | 2 +- sources | 2 +- wdaemon.spec | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index 4dc9f8b..65ed3e1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -wdaemon-0.11.tar.bz2 +wdaemon-0.13.tar.bz2 diff --git a/sources b/sources index 83aa4f1..8542cae 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ccf216d77a096613aa7ddc9da7976102 wdaemon-0.11.tar.bz2 +4061282edd35cc80291323c4225e4e93 wdaemon-0.13.tar.bz2 diff --git a/wdaemon.spec b/wdaemon.spec index 08c8469..d9e0f71 100644 --- a/wdaemon.spec +++ b/wdaemon.spec @@ -1,5 +1,5 @@ Name: wdaemon -Version: 0.11 +Version: 0.13 Release: 1%{?dist} Summary: Hotplug helper for Wacom X.org driver @@ -63,6 +63,9 @@ fi %{_sysconfdir}/udev/scripts/is_uinput.sh %changelog +* Mon Jan 28 2008 Aristeu Rozanski 0.13-1 +- Updated to version 0.13 + * Wed Aug 01 2007 Aristeu Rozanski 0.11-1 - Updated to version 0.11 From 860c3e9a8c6c0c340e71fd189cff374fb0bb3bad Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:15:46 +0000 Subject: [PATCH 4/5] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 029ac21..ca5ba3c 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := wdaemon 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 +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From d2e266897490ac5bcd4e4227409556dbb2bb62d2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 15:13:52 +0000 Subject: [PATCH 5/5] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index ca5ba3c..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: wdaemon -# $Id$ -NAME := wdaemon -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 $$d/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) diff --git a/branch b/branch deleted file mode 100644 index d5b6362..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -FC-6