]> git.pld-linux.org Git - packages/SweetHome3D.git/blob - SweetHome3D.spec
- initial
[packages/SweetHome3D.git] / SweetHome3D.spec
1 # TODO
2 #$ SweetHome3D 
3 # Exception in thread "main" java.lang.NoClassDefFoundError: javax/jnlp/UnavailableServiceException
4 # Caused by: java.lang.ClassNotFoundException: javax.jnlp.UnavailableServiceException
5 #       at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
6 #       at java.security.AccessController.doPrivileged(Native Method)
7 #       at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
8 #       at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
9 #       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
10 #       at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
11 # Could not find the main class: com.eteks.sweethome3d.SweetHome3D.  Program will exit.
12 Summary:        An interior design application
13 Name:           SweetHome3D
14 Version:        3.0
15 Release:        0.1
16 License:        GPL
17 Group:          Applications
18 Source0:        http://downloads.sourceforge.net/sweethome3d/%{name}-%{version}-linux-x86.tgz
19 # Source0-md5:  75d12e5972053ace7583a33c03afccc3
20 Source1:        http://downloads.sourceforge.net/sweethome3d/%{name}-%{version}-linux-x64.tgz
21 # Source1-md5:  21fbfcd53c71b2f730f4bba5f5082092
22 URL:            http://www.sweethome3d.com/
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 An interior design application.
27
28 %prep
29 %ifarch %{ix86}
30 %setup -q -T -b0
31 %endif
32 %ifarch %{x8664}
33 %setup -q -T -b1
34 %endif
35
36 %{__sed} -i 's#exec "$PROGRAM_DIR"/jre1.6.0_22/bin/java#env java#g; 3,8 c\PROGRAM_DIR=%{_javadir}/SweetHome3D' SweetHome3D
37
38 %build
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 install -d $RPM_BUILD_ROOT%{_bindir}
44 install %{name} $RPM_BUILD_ROOT%{_bindir}
45
46 install -d $RPM_BUILD_ROOT%{_javadir}/%{name}/lib
47 install lib/* $RPM_BUILD_ROOT%{_javadir}/%{name}/lib
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_bindir}/%{name}
55 %{_javadir}/%{name}
This page took 0.086383 seconds and 4 git commands to generate.