packages: xmind/xmind.spec - fix i686 packaging

glen glen at pld-linux.org
Fri May 25 12:56:41 CEST 2012


Author: glen                         Date: Fri May 25 10:56:41 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix i686 packaging

---- Files affected:
packages/xmind:
   xmind.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/xmind/xmind.spec
diff -u packages/xmind/xmind.spec:1.2 packages/xmind/xmind.spec:1.3
--- packages/xmind/xmind.spec:1.2	Tue May 22 14:27:24 2012
+++ packages/xmind/xmind.spec	Fri May 25 12:56:36 2012
@@ -2,16 +2,17 @@
 # TODO
 # - build from source: https://code.google.com/p/xmind3/
 # - use system eclipse files not bundled copy
+# - cleanup at least wrong os/arch files
 
 Summary:	Brainstorming and Mind Mapping
 Name:		xmind
 Version:	3.2.1
-Release:	0.6
+Release:	0.7
 License:	EPL v1.0 / GPL v3
 Group:		Applications/Engineering
 URL:		http://www.xmind.net/
 Source0:	http://dl2.xmind.net/xmind-downloads/%{name}-portable-%{version}.201011212218.zip
-# Source0-md5:	-
+# Source0-md5:	c1036d42b044aa81f65cdba745a7c44b
 Source1:	%{name}.desktop
 Source2:	%{name}.png
 Source3:	%{name}.xml
@@ -43,6 +44,7 @@
 mv XMind_Linux{_64bit,}
 %else
 %{__rm} -r XMind_Linux_64bit XMind_Windows XMind_Mac_OS_X
+find -name *x86*64* | xargs rm -rf
 %endif
 
 %install
@@ -50,6 +52,7 @@
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_appdir}}
 cp -af * $RPM_BUILD_ROOT%{_appdir}
 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_bindir}/%{name}
+sed -i -e 's, at appdir@,%{_appdir},' $RPM_BUILD_ROOT%{_bindir}/%{name}
 
 # desktop
 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
@@ -116,6 +119,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2012/05/25 10:56:36  glen
+- fix i686 packaging
+
 Revision 1.2  2012/05/22 12:27:24  glen
 - setup wrapper to use ~/.config/xmind for config and data
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/xmind/xmind.spec?r1=1.2&r2=1.3



More information about the pld-cvs-commit mailing list