77 lines
2.5 KiB
RPMSpec
77 lines
2.5 KiB
RPMSpec
Name: httpcomponents-project
|
|
Summary: Common POM file for HttpComponents
|
|
Version: 4.1.1
|
|
Release: 2%{?dist}
|
|
Group: Development/Libraries
|
|
License: ASL 2.0
|
|
URL: http://hc.apache.org/
|
|
# svn export -r 1050387 http://svn.apache.org/repos/asf/httpcomponents/project httpcomponents-project-4.1.1
|
|
# tar cJvf httpcomponents-project-4.1.1.tar.xz httpcomponents-project-4.1.1
|
|
Source0: httpcomponents-project-%{version}.tar.xz
|
|
Patch0: 0001-Clean-pom.patch
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: java-devel >= 1:1.6.0
|
|
BuildRequires: jpackage-utils
|
|
|
|
# Requires are dependencies from pom.xml. This project should only be required for building with maven.
|
|
Requires: java >= 1:1.6.0
|
|
Requires: jpackage-utils
|
|
Requires: maven2 >= 2.0.9
|
|
Requires: maven-antrun-plugin
|
|
Requires: maven-assembly-plugin
|
|
Requires: maven-clean-plugin
|
|
Requires: maven-compiler-plugin
|
|
Requires: maven-deploy-plugin
|
|
Requires: maven-gpg-plugin
|
|
Requires: maven-install-plugin
|
|
Requires: maven-jar-plugin
|
|
Requires: maven-javadoc-plugin
|
|
Requires: maven-plugin-jxr
|
|
Requires: maven-project-info-reports-plugin
|
|
Requires: maven-release-plugin
|
|
Requires: maven-resources-plugin
|
|
Requires: maven-site-plugin
|
|
Requires: maven-source-plugin
|
|
Requires: maven-surefire-plugin
|
|
Requires: maven-surefire-report-plugin
|
|
Requires: maven-release-plugin
|
|
Requires: maven-plugin-jxr
|
|
Requires: maven-plugin-bundle
|
|
|
|
Requires(post): jpackage-utils
|
|
Requires(postun): jpackage-utils
|
|
|
|
%description
|
|
Common Maven POM file for HttpComponents. This project should be
|
|
required only for building dependant packages with Maven. Please don't
|
|
use it as runtime requirement.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
%install
|
|
%{__install} -D -m 0644 pom.xml %{buildroot}/%{_mavenpomdir}/JPP.httpcomponents-project.pom
|
|
%add_to_maven_depmap org.apache.httpcomponents project %{version} JPP/httpcomponents project
|
|
|
|
%post
|
|
%update_maven_depmap
|
|
|
|
%postun
|
|
%update_maven_depmap
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc LICENSE.txt
|
|
%{_mavendepmapfragdir}/%{name}
|
|
%{_mavenpomdir}/JPP.%{name}.pom
|
|
|
|
%changelog
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Fri Dec 17 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 4.1.1-1
|
|
- Initial version
|
|
|