rpms/pilot-link/F-8 60-pilot.perms, NONE, 1.1 60-pilot.rules, NONE, 1.1 pilot-link.spec, 1.63, 1.64

Alex Lancaster (alexlan) fedora-extras-commits at redhat.com
Thu Nov 29 10:44:57 UTC 2007


Author: alexlan

Update of /cvs/pkgs/rpms/pilot-link/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9082

Modified Files:
	pilot-link.spec 
Added Files:
	60-pilot.perms 60-pilot.rules 
Log Message:
Install udev and console permission rules for visor module (#280251)



--- NEW FILE 60-pilot.perms ---
<ttyUSB>=/dev/ttyUSB*
<console>  0660 <ttyUSB> 0660 root.uucp


--- NEW FILE 60-pilot.rules ---
BUS=="usb", SYSFS{product}=="Palm Handheld*|Handspring*",KERNEL=="ttyUSB[13579]", SYMLINK="pilot", GROUP="uucp", MODE="0660"


Index: pilot-link.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pilot-link/F-8/pilot-link.spec,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- pilot-link.spec	23 Nov 2007 07:46:50 -0000	1.63
+++ pilot-link.spec	29 Nov 2007 10:44:24 -0000	1.64
@@ -3,14 +3,17 @@
 
 Name: pilot-link
 Version: 0.12.2
-Release: 8%{?dist}
+Release: 9%{?dist}
 Epoch: 2
 License: GPLv2 and GPLv2+ and LGPLv2+ and TCL
 Group: Applications/Communications
 Summary: File transfer utilities between Linux and PalmPilots
 URL: http://www.pilot-link.org/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source: pilot-link-%{version}.tar.bz2
+Source0: pilot-link-%{version}.tar.bz2
+Source1: 60-pilot.rules
+Source2: 60-pilot.perms
+
 ExcludeArch: s390 s390x
 #Patch1: pilot-link-0.11.0-perlmd5.patch  # May be still applied
 #Patch2: pilot-link-0.11.0-perlpollute.patch  # May be still applied
@@ -128,6 +131,14 @@
 # remove broken prog
 rm -f %{buildroot}%{_bindir}/pilot-prc
 
+# Install udev rules file.
+mkdir -p %{buildroot}%{_sysconfdir}/udev/rules.d
+install -p -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/udev/rules.d/60-pilot.rules
+
+# Install device permissions
+mkdir -p %{buildroot}%{_sysconfdir}/security/console.perms.d/
+install -p -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/security/console.perms.d/60-pilot.perms
+
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
@@ -146,6 +157,8 @@
 %{_bindir}/*
 %{_datadir}/pilot-link
 %{_mandir}/man?/*
+%config(noreplace) %{_sysconfdir}/udev/rules.d/*
+%config(noreplace) %{_sysconfdir}/security/console.perms.d/*
 
 %files devel
 %defattr(-,root,root)
@@ -156,13 +169,16 @@
 %{_datadir}/aclocal/*.m4
 
 %changelog
+* Tue Nov 27 2007 Alex Lancaster <alexlan at fedoraproject.org> - 2:0.12.2-9
+- Install udev and console permission rules for visor module (#280251)
+ 
 * Fri Nov 23 2007 Ivana Varekova <varekova at redhat.com> - 2:0.12.2-8
 - add SonyClie NR70 patch (#372821)
  
-* Mon Nov 12 2007 Alex Lancaster <alexl at users.sourceforge.net> - 2:0.12.2-7
+* Mon Nov 12 2007 Alex Lancaster <alexlan at fedoraproject.org> - 2:0.12.2-7
 - Perl bindings need to be compiled after libpisock is installed
 
-* Mon Nov 12 2007 Alex Lancaster <alexl at users.sourceforge.net> - 2:0.12.2-6
+* Mon Nov 12 2007 Alex Lancaster <alexlan at fedoraproject.org> - 2:0.12.2-6
 - Enable Perl bindings
 - Include important docs such as README.usb
 




More information about the fedora-extras-commits mailing list