/[packages]/cauldron/BareBonesBrowserLaunch/current/SPECS/BareBonesBrowserLaunch.spec
ViewVC logotype

Contents of /cauldron/BareBonesBrowserLaunch/current/SPECS/BareBonesBrowserLaunch.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 496664 - (show annotations) (download)
Sun Oct 13 22:07:09 2013 UTC (6 years, 7 months ago) by dmorgan
File size: 1491 byte(s)
imported package BareBonesBrowserLaunch
1 Name: BareBonesBrowserLaunch
2 Version: 3.1
3 Release: %mkrel 6
4 Summary: Simple library to launch a browser window from Java
5 Group: Development/Java
6 License: Public Domain
7 URL: http://www.centerkey.com/java/browser/
8 Source0: http://www.centerkey.com/java/browser/myapp/real/bare-bones-browser-launch-%{version}.jar
9
10 BuildRequires: java-devel
11 BuildRequires: jpackage-utils
12
13 Requires: java
14 Requires: jpackage-utils
15 BuildArch: noarch
16
17 %description
18 Utility class to open a web page from a Swing application in the user's
19 default browser. Supports: Mac OS X, GNU/Linux, Unix, Windows XP
20
21
22 %package javadoc
23 Summary: Javadocs for %{name}
24 Group: Development Documentation
25 Requires: jpackage-utils
26
27 %description javadoc
28 This package contains the API documentation for %{name}
29
30
31 %prep
32 %setup -q -c
33 find * -name *.class -exec rm -f {} \;
34
35
36 %build
37 %{javac} com/centerkey/utils/BareBonesBrowserLaunch.java
38 %{jar} -cf %{name}-%{version}.jar .
39
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
44 install -m 644 %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
45 pushd .
46 cd $RPM_BUILD_ROOT%{_javadir}
47 ln -s %{name}-%{version}.jar %{name}.jar
48 popd
49 #javadocs
50 mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
51 cp -pR doc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
52
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57
58 %files
59 %defattr(-,root,root,-)
60 %{_javadir}/*
61
62 %files javadoc
63 %defattr(-,root,root,-)
64 %{_javadocdir}/%{name}
65
66

  ViewVC Help
Powered by ViewVC 1.1.28