SPECS: synce-hal.spec - install hal scripts in haldir (otherwise hal couldn...

sls sls at pld-linux.org
Sun Oct 19 06:20:14 CEST 2008


Author: sls                          Date: Sun Oct 19 04:20:14 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- install hal scripts in haldir (otherwise hal couldn't run them)
- rel. 2

---- Files affected:
SPECS:
   synce-hal.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/synce-hal.spec
diff -u SPECS/synce-hal.spec:1.5 SPECS/synce-hal.spec:1.6
--- SPECS/synce-hal.spec:1.5	Sun Oct 19 05:43:21 2008
+++ SPECS/synce-hal.spec	Sun Oct 19 06:20:09 2008
@@ -6,7 +6,7 @@
 Summary(pl.UTF-8):	Synce-hal
 Name:		synce-hal
 Version:	0.2
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/synce/%{name}-%{version}.tar.gz
@@ -21,6 +21,8 @@
 BuildRequires:	synce-libsynce-devel >= 0.12
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define	haldir	%{_libdir}/hal
+
 %description
 Synce-hal is a connection framework and dccm-implementation for Windows
 Mobile devices that integrates with HAL.
@@ -42,7 +44,8 @@
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+	DESTDIR=$RPM_BUILD_ROOT \
+	haldir=%{haldir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -53,8 +56,8 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TODO
-%attr(755,root,root) %{_libdir}/hal-synce-rndis
-%attr(755,root,root) %{_libdir}/hal-synce-serial
+%attr(755,root,root) %{haldir}/hal-synce-rndis
+%attr(755,root,root) %{haldir}/hal-synce-serial
 %attr(755,root,root) %{_libdir}/hal-dccm
 %attr(755,root,root) %{_libdir}/synce-serial-chat
 %{_datadir}/hal/fdi/policy/20thirdparty/*synce.fdi
@@ -65,6 +68,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2008/10/19 04:20:09  sls
+- install hal scripts in haldir (otherwise hal couldn't run them)
+- rel. 2
+
 Revision 1.5  2008/10/19 03:43:21  sls
 - added TODO
 - rm bogus BR: libmimedir-vlm-devel
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/synce-hal.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list