Compare commits
27 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
38eab5ebb3 | ||
|
|
1c2d3b2f94 | ||
|
|
2163d480c3 | ||
|
|
8472b9c6d0 | ||
|
|
0b4f8f8fe6 | ||
|
|
8f8f6defd4 | ||
|
|
9da05085e3 | ||
|
|
254ab4c4b3 | ||
|
|
c5c945d31b | ||
|
|
44ec5b07c7 | ||
|
|
2e06ff26c6 | ||
|
|
d321f999d7 | ||
|
|
ff20e50d0c | ||
|
|
4fa2279f0d | ||
|
|
fcd37d9bb8 | ||
|
|
fb8e8f66a7 | ||
|
|
8185a91d8a | ||
|
|
259bee0748 | ||
|
|
dc51818b40 | ||
|
|
ade1882da5 | ||
|
|
bd0ec70777 | ||
|
|
c89b0ddb10 | ||
|
|
f0c8c47382 | ||
|
|
fc3d0b1db1 | ||
|
|
fb22e8e528 | ||
|
|
9ff82cf316 | ||
|
|
e735dc366d |
5 changed files with 1 additions and 139 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
commons-discovery-0.4-src.tar.gz
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
--- src/conf/MANIFEST.MF.orig 2006-11-30 00:15:55.000000000 +0100
|
||||
+++ src/conf/MANIFEST.MF 2009-05-27 23:35:42.000000000 +0200
|
||||
@@ -6,4 +6,22 @@ Specification-Vendor: The Apache Softwar
|
||||
Implementation-Title: @package@
|
||||
Implementation-Vendor: The Apache Software Foundation
|
||||
Implementation-Version: @version@
|
||||
+Bundle-ManifestVersion: 2
|
||||
+Bundle-Name: Jakarta-Commons Discovery
|
||||
+Specification-Version: 1.0
|
||||
+Bundle-SymbolicName: org.apache.commons.discovery
|
||||
+Bundle-Version: 0.2.0.qualifier
|
||||
+Bundle-Vendor: Eclipse.org
|
||||
+Bundle-Localization: plugin
|
||||
+Bundle-RequiredExecutionEnvironment: J2SE-1.4
|
||||
+Export-Package: org.apache.commons.discovery,
|
||||
+ org.apache.commons.discovery.ant,
|
||||
+ org.apache.commons.discovery.jdk,
|
||||
+ org.apache.commons.discovery.log,
|
||||
+ org.apache.commons.discovery.resource,
|
||||
+ org.apache.commons.discovery.resource.classes,
|
||||
+ org.apache.commons.discovery.resource.names,
|
||||
+ org.apache.commons.discovery.tools
|
||||
+Require-Bundle: org.junit;bundle-version="[3.8.0,4.0.0)";resolution:=optional
|
||||
+Import-Package: org.apache.commons.logging;version="[1.0.4,2.0.0)"
|
||||
|
||||
|
|
@ -1,112 +0,0 @@
|
|||
|
||||
%global base_name discovery
|
||||
%global short_name commons-%{base_name}
|
||||
|
||||
Name: apache-%{short_name}
|
||||
Version: 0.4
|
||||
Release: 6%{?dist}
|
||||
Epoch: 2
|
||||
Summary: Apache Commons Discovery
|
||||
License: ASL 2.0
|
||||
Group: Development/Libraries
|
||||
URL: http://commons.apache.org/%{base_name}
|
||||
Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
||||
Patch0: %{name}-addosgimanifest.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: java-devel >= 1:1.6.0
|
||||
BuildRequires: jpackage-utils >= 0:1.6
|
||||
BuildRequires: ant
|
||||
BuildRequires: ant-nodeps
|
||||
BuildRequires: junit >= 0:3.7
|
||||
BuildRequires: apache-commons-logging >= 1.1.1
|
||||
Requires: apache-commons-logging >= 1.1.1
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
# This should go away with F-17
|
||||
Provides: jakarta-%{short_name} = %{epoch}:%{version}-%{release}
|
||||
Obsoletes: jakarta-%{short_name} <= 1:0.4
|
||||
|
||||
%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
|
||||
Group: Documentation
|
||||
Summary: API documentation for %{name}
|
||||
Requires: jpackage-utils
|
||||
|
||||
Obsoletes: jakarta-%{short_name}-javadoc <= 1:0.4
|
||||
|
||||
%description javadoc
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{short_name}-%{version}-src
|
||||
%patch0
|
||||
|
||||
%build
|
||||
ant \
|
||||
-Djunit.jar=%(find-jar junit) \
|
||||
-Dlogger.jar=%(find-jar commons-logging) \
|
||||
test.discovery dist
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
# jar
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
||||
install -p -m 644 dist/%{short_name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
||||
|
||||
pushd $RPM_BUILD_ROOT%{_javadir}
|
||||
for jar in *-%{version}.jar; do
|
||||
ln -sf ${jar} `echo $jar| sed "s|apache-||g"`
|
||||
ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
|
||||
ln -sf ${jar} `echo $jar| sed "s|apache-\(.*\)-%{version}|\1|g"`
|
||||
done
|
||||
popd # come back from javadir
|
||||
|
||||
# javadoc
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||
cp -pr dist/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
|
||||
%{_javadir}/*
|
||||
|
||||
%files javadoc
|
||||
%defattr(-,root,root,-)
|
||||
%doc %{_javadocdir}/%{name}-%{version}
|
||||
%doc %{_javadocdir}/%{name}
|
||||
%doc LICENSE.txt NOTICE.txt
|
||||
|
||||
%changelog
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.4-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Thu Jul 8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2:0.4-5
|
||||
- Add license to javadoc subpackage
|
||||
- Fix jar symlink installation
|
||||
|
||||
* Wed May 12 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2:0.4-4
|
||||
- Add obsoletes to javadoc subpackage
|
||||
- Add proper symlinks for unversioned jar files
|
||||
|
||||
* Fri May 7 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2:0.4-3
|
||||
- Add jpackage-utils as dep for -javadoc subpackage
|
||||
|
||||
* Fri May 7 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2:0.4-2
|
||||
- Fix provides
|
||||
|
||||
* Thu May 6 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.4-1
|
||||
- Rename and cleanup of jakarta-commons-discovery
|
||||
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Orphaned for 6+ weeks
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
1275ad4c6ce54b9323269e30dc42dd0e commons-discovery-0.4-src.tar.gz
|
||||
Reference in a new issue