Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:p_conrad:java
bdb-je
bdb-je.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bdb-je.spec of Package bdb-je
# # spec file for package bdb-je # # Copyright (c) 2013 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: bdb-je Version: 5.0.73 Release: 1 License: BSD-3-Clause Summary: Oracle Berkeley DB Java Edition Url: http://www.oracle.com/technetwork/products/berkeleydb/overview/index.html Group: Development/Libraries/Java Source: http://download.oracle.com/otn/berkeley-db/je-5.0.73.tar.gz BuildArch: noarch BuildRequires: java-devel >= 1.6.0 ant junit4 fdupes %if 0%{?fedora} > 0 BuildRequires: jboss-connector-1.6-api %else BuildRequires: geronimo-j2ee-1_4-apis %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Berkeley DB enables the development of custom data management solutions, without the overhead traditionally associated with such custom projects. Berkeley DB provides a collection of well-proven building-block technologies that can be configured to address any application need from the hand-held device to the datacenter, from a local storage solution to a world-wide distributed one, from kilobytes to petabytes. %package javadoc Summary: API documentation of Berkeley DB Java Edition Group: Development/Libraries/Java %description javadoc This package contains the API documentation of bdb-je. %prep %setup -q -n je-%{version} %__sed -i 's/^ *update-version/init/' build.xml %__mv docs docs_src %__mv docs_src/java/style.css docs_src/ %build %if 0%{?fedora} > 0 J2EE=/usr/share/java/jboss-connector-1.6-api.jar %else J2EE=/etc/alternatives/j2ee_deployment_api %endif ant -lib /usr/share/java/junit4.jar -Dj2ee.jarfile=$J2EE -propertyfile dist/build.properties clean jar javadoc %install %__install -dm 755 "%{buildroot}%{_javadir}" %__install -m 0644 build/lib/je.jar "%{buildroot}%{_javadir}/%{name}-%{version}.jar" %__ln_s "%{name}-%{version}.jar" "%{buildroot}%{_javadir}/%{name}.jar" %__install -dm 755 "%{buildroot}/%{_javadocdir}/%{name}-%{version}" cp -pr docs/* "%{buildroot}/%{_javadocdir}/%{name}-%{version}/" fdupes -q1r "%{buildroot}" | while read one rest; do for i in $rest; do ln -f "$one" "$i"; done; done %files %defattr(-,root,root,-) %doc LICENSE README %{_javadir}/%{name}.jar %{_javadir}/%{name}-%{version}.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