- unified preamble in %changelog
[packages/SweetHome3D.git] / SweetHome3D.spec
CommitLineData
23c91702
ZU
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.
12Summary: An interior design application
13Name: SweetHome3D
14Version: 3.0
15Release: 0.1
16License: GPL
17Group: Applications
18Source0: http://downloads.sourceforge.net/sweethome3d/%{name}-%{version}-linux-x86.tgz
19# Source0-md5: 75d12e5972053ace7583a33c03afccc3
20Source1: http://downloads.sourceforge.net/sweethome3d/%{name}-%{version}-linux-x64.tgz
21# Source1-md5: 21fbfcd53c71b2f730f4bba5f5082092
22URL: http://www.sweethome3d.com/
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26An 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
41rm -rf $RPM_BUILD_ROOT
42
43install -d $RPM_BUILD_ROOT%{_bindir}
44install %{name} $RPM_BUILD_ROOT%{_bindir}
45
46install -d $RPM_BUILD_ROOT%{_javadir}/%{name}/lib
47install lib/* $RPM_BUILD_ROOT%{_javadir}/%{name}/lib
48
49%clean
50rm -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.052454 seconds and 4 git commands to generate.