Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
jakarta-commons-discovery
jakarta-commons-discovery.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jakarta-commons-discovery.spec of Package jakarta-commons-discovery
# # spec file for package jakarta-commons-discovery # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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/ # %define short_name commons-discovery Name: jakarta-commons-discovery Version: 0.4 Release: 0 Summary: Jakarta Commons Discovery License: Apache-2.0 Group: Development/Libraries/Java Url: http://jakarta.apache.org/commons/discovery.html Source0: http://www.apache.org/dist/jakarta/commons/discovery/source/commons-discovery-0.4-src.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch BuildRequires: ant BuildRequires: commons-logging >= 1.0.4 BuildRequires: java-devel BuildRequires: jpackage-utils >= 1.6 BuildRequires: junit >= 3.7 Requires: commons-logging >= 1.0.4 Provides: %{short_name} = %{version}-%{release} %description The Discovery component is about discovering, or finding, implementations for pluggable interfaces. Pluggable interfaces are specified with the intent that multiple implementations are, or will be, available to provide the service described by the interface. Discovery provides facilities for finding and instantiating classes and for lifecycle management of singleton (factory) classes. %package javadoc PreReq: coreutils Summary: Javadoc for jakarta-commons-discovery Group: Development/Libraries/Java %description javadoc The Discovery component is about discovering, or finding, implementations for pluggable interfaces. Pluggable interfaces are specified with the intent that multiple implementations are, or will be, available to provide the service described by the interface. Discovery provides facilities for finding and instantiating classes, and for lifecycle management of singleton (factory) classes. This package contains the javadoc documentation for the Jakarta Commons Discovery Package. %prep %setup -q -n commons-discovery-%{version}-src chmod u+w . # ----------------------------------------------------------------------------- %build ant \ -Djunit.jar=%(find-jar junit) \ -Dlogger.jar=%(find-jar commons-logging) \ test.discovery dist # ----------------------------------------------------------------------------- %install # jar mkdir -p $RPM_BUILD_ROOT%{_javadir} cp -p dist/%{short_name}.jar $RPM_BUILD_ROOT%{_javadir}/%{short_name}.jar (cd $RPM_BUILD_ROOT%{_javadir} && ln -s %{short_name}.jar %{name}.jar) # javadoc mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name} cp -pr dist/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(0644,root,root,0755) %doc LICENSE.txt %{_javadir}/* %files javadoc %defattr(0644,root,root,0755) %doc %{_javadocdir}/%{name} %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