SPECS: unicorn.spec - userspace files fixes

qboosh qboosh at pld-linux.org
Sun Jan 22 17:06:43 CET 2006


Author: qboosh                       Date: Sun Jan 22 16:06:43 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- userspace files fixes

---- Files affected:
SPECS:
   unicorn.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/unicorn.spec
diff -u SPECS/unicorn.spec:1.2 SPECS/unicorn.spec:1.3
--- SPECS/unicorn.spec:1.2	Sun Jan 22 17:03:29 2006
+++ SPECS/unicorn.spec	Sun Jan 22 17:06:38 2006
@@ -124,10 +124,14 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
+%if %{with userspace}
 %{__make} applis_install \
 	prefix=%{_prefix} \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang bewan_adsl_status
+%endif
+
 %if %{with kernel}
 install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}{,smp}/misc
 for mods in atm eth ; do
@@ -156,12 +160,11 @@
 %depmod %{_kernel_ver}smp
 
 %if %{with userspace}
-%files
+%files -f bewan_adsl_status.lang
 %defattr(644,root,root,755)
 %doc COPYING README scripts
 %attr(755,root,root) %{_bindir}/*
-/usr/share/bewan_adsl_status/pixmaps/*
-/usr/share/locale/*/LC_MESSAGES/*
+%{_datadir}/bewan_adsl_status
 %endif
 
 %if %{with kernel}
@@ -182,6 +185,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/01/22 16:06:38  qboosh
+- userspace files fixes
+
 Revision 1.2  2006/01/22 16:03:29  qboosh
 - pl, cleanups
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/unicorn.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list