Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:p_conrad:java
BrowserLauncher2
BrowserLauncher2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File BrowserLauncher2.spec of Package BrowserLauncher2
# # spec file for package BrowserLauncher2 # # Copyright (c) 2013-2015 Peter Conrad # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: BrowserLauncher2 Version: 1.3 Release: 1 License: LGPL-2.1 Summary: Open web browser from within a Java application Url: http://browserlaunch2.sourceforge.net/ Group: Development/Libraries/Java Source: http://downloads.sourceforge.net/project/browserlaunch2/browserlauncher2/%{version}/%{name}-all-1_3.jar BuildRequires: java-devel ant unzip %if 0%{?fedora} > 0 && 0%{?fedora} < 21 BuildRequires: java-1.5.0-gcj-devel %endif BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description BrowserLauncher2, a continuation of the BrowserLauncher project, is a library that facilitates opening a browser from a Java application and directing the browser to a supplied url. In most cases the browser opened will be the user's default browser. %package javadoc Summary: API documentation of %{name} Group: Development/Libraries/Java %description javadoc This package contains the API documentation of the %{name} library. %prep %setup -c -q %build %__sed -i 's/javac/javac source="1.5" target="1.5"/' build.xml LANG=en_US@euro ant clean build api %install %__install -dm 755 "%{buildroot}%{_javadir}" %__install -m 0644 "deployment/%{name}-1_3.jar" "%{buildroot}%{_javadir}/" %__ln_s "%{name}-1_3.jar" "%{buildroot}%{_javadir}/%{name}.jar" %__install -dm 755 "%{buildroot}/%{_javadocdir}/%{name}-%{version}" cp -pr api "%{buildroot}/%{_javadocdir}/%{name}-%{version}/" %files %defattr(-,root,root,-) %doc *.txt %{_javadir}/%{name}-1_3.jar %{_javadir}/%{name}.jar %files javadoc %defattr(-,root,root,-) %{_javadocdir}/%{name}-%{version}/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor