packages: xcalib/xcalib.spec - mv fglrx_xcalib xcalib_fglrx, %ix86 only (sh...

gotar gotar at pld-linux.org
Wed Jul 7 13:05:05 CEST 2010


Author: gotar                        Date: Wed Jul  7 11:05:05 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- mv fglrx_xcalib xcalib_fglrx, %ix86 only (shipped fglrx_gamma library)

---- Files affected:
packages/xcalib:
   xcalib.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/xcalib/xcalib.spec
diff -u packages/xcalib/xcalib.spec:1.6 packages/xcalib/xcalib.spec:1.7
--- packages/xcalib/xcalib.spec:1.6	Thu Aug 28 23:08:14 2008
+++ packages/xcalib/xcalib.spec	Wed Jul  7 13:04:57 2010
@@ -26,22 +26,26 @@
 %setup -q
 
 %build
+%ifnrch %{x86}
 %{__make} fglrx_xcalib \
 	CC="%{__cc}" \
 	CFLAGS="%{rpmcflags}"
-mv xcalib fglrx_xcalib
+mv xcalib xcalib_fglrx
+%endif
 
 %{__make} clean
 %{__make} xcalib \
 	CC="%{__cc}" \
 	CFLAGS="%{rpmcflags}"
 
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_iccdir}}
 
-install xcalib fglrx_xcalib $RPM_BUILD_ROOT%{_bindir}
+%ifarch %{ix86}
+install xcalib_fglrx $RPM_BUILD_ROOT%{_bindir}
+%endif
+install xcalib $RPM_BUILD_ROOT%{_bindir}
 install *.icc $RPM_BUILD_ROOT%{_iccdir}
 
 %clean
@@ -50,8 +54,7 @@
 %files
 %defattr(644,root,root,755)
 %doc COPYING README*
-%attr(755,root,root) %{_bindir}/xcalib
-%attr(755,root,root) %{_bindir}/fglrx_xcalib
+%attr(755,root,root) %{_bindir}/xcalib*
 %{_iccdir}/*.icc
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -60,6 +63,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2010/07/07 11:04:57  gotar
+- mv fglrx_xcalib xcalib_fglrx, %ix86 only (shipped fglrx_gamma library)
+
 Revision 1.6  2008/08/28 21:08:14  blues
 - rel.2 - build fglrx version, package icc profiles into proper dir.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xcalib/xcalib.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list