Initial commit

This commit is contained in:
Stanislav Ochotnicky 2010-12-21 09:40:58 +01:00
parent a05050c2e6
commit 0212636485
4 changed files with 135 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/httpcomponents-project-4.1.1.tar.xz

60
0001-Clean-pom.patch Normal file
View File

@ -0,0 +1,60 @@
From ce430c0efe010c788f526a9285d7ac6d749d16b7 Mon Sep 17 00:00:00 2001
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
Date: Mon, 20 Dec 2010 12:40:34 +0100
Subject: [PATCH] Clean pom
---
pom.xml | 33 +--------------------------------
1 files changed, 1 insertions(+), 32 deletions(-)
diff --git a/pom.xml b/pom.xml
index 733b214..73d6a15 100644
--- a/pom.xml
+++ b/pom.xml
@@ -411,42 +411,11 @@
</plugin>
<!-- Other plugins, alpha order by groupId and artifactId -->
<plugin>
- <groupId>com.agilejava.docbkx</groupId>
- <artifactId>docbkx-maven-plugin</artifactId>
- <version>2.0.10</version>
- </plugin>
- <plugin>
- <groupId>com.atlassian.maven.plugins</groupId>
- <artifactId>maven-clover2-plugin</artifactId>
- <version>2.6.3</version>
- </plugin>
- <plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.1.0</version>
</plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>clirr-maven-plugin</artifactId>
- <version>2.2.3</version>
- </plugin>
- <plugin>
- <artifactId>maven-notice-plugin</artifactId>
- <groupId>org.apache.httpcomponents</groupId>
- <version>0.0.2</version>
- <executions>
- <execution>
- <id>attach-notice-license</id>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <projectTitle>Apache HttpComponents</projectTitle>
- </configuration>
- </plugin>
- </plugins>
+ </plugins>
</pluginManagement>
</build>
--
1.7.3.3

View File

@ -0,0 +1,73 @@
Name: httpcomponents-project
Summary: Common POM file for HttpComponents
Version: 4.1.1
Release: 1%{?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
* Fri Dec 17 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 4.1.1-1
- Initial version

View File

@ -0,0 +1 @@
9ae37b64ca1149013a5d8e34b0efa07e httpcomponents-project-4.1.1.tar.xz