diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..32b4963 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jboss-parent-6.tar.xz diff --git a/.rh-maven33-jboss-parent.metadata b/.rh-maven33-jboss-parent.metadata new file mode 100644 index 0000000..ae92811 --- /dev/null +++ b/.rh-maven33-jboss-parent.metadata @@ -0,0 +1 @@ +d487f055132cda7aa339a73ab1b25967791840ae SOURCES/jboss-parent-6.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/jboss-parent-6-deps.patch b/SOURCES/jboss-parent-6-deps.patch new file mode 100644 index 0000000..6899d95 --- /dev/null +++ b/SOURCES/jboss-parent-6-deps.patch @@ -0,0 +1,134 @@ +diff -Naur jboss-parent-6/pom.xml jboss-parent-6-work/pom.xml +--- jboss-parent-6/pom.xml 2011-06-27 19:15:18.000000000 -0400 ++++ jboss-parent-6-work/pom.xml 2011-09-20 14:43:31.950257733 -0400 +@@ -94,7 +94,6 @@ + 2.4.1 + 2.5 + 2.4 +- 3.0.2 + 2.3.1 + 2.1 + 2.5 +@@ -102,14 +101,10 @@ + 2.4.2 + 2.2.1 + 1.0 +- 2.2 + 2.2 +- 1.0.2 + 2.3.1 + 2.3.1 + 2.8 +- 2.0 +- 2.0-beta-2 + 2.2 + 1.0-beta-2 + 2.2 +@@ -119,7 +114,6 @@ + 2.1 + 2.5 + 3.0-beta-3 +- 1.0-beta-1 + 2.1.2 + 2.5 + 2.4 +@@ -224,11 +218,6 @@ + ${version.clean.plugin} + + +- com.atlassian.maven.plugins +- maven-clover2-plugin +- ${version.clover2.plugin} +- +- + org.codehaus.mojo + cobertura-maven-plugin + ${version.cobertura.plugin} +@@ -273,29 +262,11 @@ + ${version.enforcer.plugin} + + +- org.codehaus.mojo +- findbugs-maven-plugin +- ${version.findbugs.plugin} +- +- + org.apache.maven.plugins + maven-idea-plugin + ${version.idea.plugin} + + +- org.jboss.maven.plugins +- maven-injection-plugin +- ${version.injection.plugin} +- +- +- compile +- +- bytecode +- +- +- +- +- + org.apache.maven.plugins + maven-install-plugin + ${version.install.plugin} +@@ -344,16 +315,6 @@ + + + +- org.codehaus.mojo +- javancss-maven-plugin +- ${version.javancss.plugin} +- +- +- org.codehaus.mojo +- jdepend-maven-plugin +- ${version.jdepend.plugin} +- +- + org.apache.maven.plugins + maven-jxr-plugin + ${version.jxr.plugin} +@@ -394,11 +355,6 @@ + ${version.site.plugin} + + +- org.codehaus.mojo +- sonar-maven-plugin +- ${version.sonar.plugin} +- +- + org.apache.maven.plugins + maven-source-plugin + ${version.source.plugin} +@@ -518,11 +474,6 @@ + + + +- org.codehaus.mojo +- findbugs-maven-plugin +- ${version.findbugs.plugin} +- +- + org.apache.maven.plugins + maven-pmd-plugin + ${version.pmd.plugin} +@@ -533,16 +484,6 @@ + ${version.checkstyle.plugin} + + +- org.codehaus.mojo +- jdepend-maven-plugin +- ${version.jdepend.plugin} +- +- +- org.codehaus.mojo +- javancss-maven-plugin +- ${version.javancss.plugin} +- +- + org.apache.maven.plugins + maven-jxr-plugin + ${version.jxr.plugin} diff --git a/SPECS/jboss-parent.spec b/SPECS/jboss-parent.spec new file mode 100644 index 0000000..c19e50d --- /dev/null +++ b/SPECS/jboss-parent.spec @@ -0,0 +1,130 @@ +%global pkg_name jboss-parent +%{?scl:%scl_package %{pkg_name}} +%{?maven_find_provides_and_requires} + +Name: %{?scl_prefix}%{pkg_name} +Version: 6 +Release: 12.12%{?dist} +Summary: JBoss Parent POM +License: LGPLv2+ +URL: http://www.jboss.org/ + +# git clone git://github.com/jboss/jboss-parent-pom.git +# cd jboss-parent-pom/ && git archive --format=tar --prefix=jboss-parent-6/ 6 | xz > jboss-parent-6.tar.xz +Source0: %{pkg_name}-%{version}.tar.xz +# Removing unavailable deps +Patch0: %{pkg_name}-%{version}-deps.patch +BuildArch: noarch + +BuildRequires: %{?scl_prefix_java_common}javapackages-tools +BuildRequires: %{?scl_prefix}maven-local +BuildRequires: %{?scl_prefix}maven-install-plugin +BuildRequires: %{?scl_prefix}maven-javadoc-plugin +BuildRequires: %{?scl_prefix}maven-release-plugin +BuildRequires: %{?scl_prefix}maven-resources-plugin +BuildRequires: %{?scl_prefix}maven-enforcer-plugin + + +%description +The Project Object Model files for JBoss packages. + +%prep +%setup -q -n %{pkg_name}-%{version} +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x +%patch0 -p1 +%{?scl:EOF} + +%build +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x +%mvn_build +%{?scl:EOF} + +%install +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x +%mvn_install +%{?scl:EOF} + +%files -f .mfiles +%dir %{_mavenpomdir}/%{pkg_name} +%doc README.md + +%changelog +* Mon Feb 08 2016 Michal Srb - 6-12.12 +- Fix BR on maven-local & co. + +* Mon Jan 11 2016 Michal Srb - 6-12.11 +- maven33 rebuild #2 + +* Sat Jan 09 2016 Michal Srb - 6-12.10 +- maven33 rebuild + +* Thu Jan 15 2015 Michal Srb - 6-12.9 +- Fix directory ownership + +* Tue Jan 13 2015 Michael Simacek - 6-12.8 +- Mass rebuild 2015-01-13 + +* Tue Jan 06 2015 Michael Simacek - 6-12.7 +- Mass rebuild 2015-01-06 + +* Mon May 26 2014 Mikolaj Izdebski - 6-12.6 +- Mass rebuild 2014-05-26 + +* Wed Feb 19 2014 Mikolaj Izdebski - 6-12.5 +- Mass rebuild 2014-02-19 + +* Tue Feb 18 2014 Mikolaj Izdebski - 6-12.4 +- Mass rebuild 2014-02-18 + +* Fri Feb 14 2014 Mikolaj Izdebski - 6-12.3 +- SCL-ize requires and build-requires + +* Thu Feb 13 2014 Mikolaj Izdebski - 6-12.2 +- Rebuild to regenerate auto-requires + +* Tue Feb 11 2014 Mikolaj Izdebski - 6-12.1 +- First maven30 software collection build + +* Fri Dec 27 2013 Daniel Mach - 6-12 +- Mass rebuild 2013-12-27 + +* Mon Aug 26 2013 Michal Srb - 6-11 +- Migrate away from mvn-rpmbuild (Resolves: #997506) + +* Thu Feb 14 2013 Fedora Release Engineering - 6-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 6-9 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Thu Jul 19 2012 Fedora Release Engineering - 6-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Apr 19 2012 Stanislav Ochotnicky - 6-7 +- Simplify requires since they are only in depManagement + +* Fri Jan 13 2012 Fedora Release Engineering - 6-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Dec 12 2011 Alexander Kurtakov 6-5 +- Add missing BR. + +* Tue Sep 20 2011 Marek Goldmann 6-4 +- Removed unavailable deps from POM + +* Mon Aug 29 2011 Marek Goldmann 6-3 +- Added maven-surefire-provider-junit requires + +* Thu Jul 28 2011 Marek Goldmann 6-2 +- Added build section +- Removed unnecessary sections and BR's + +* Mon Jul 18 2011 Marek Goldmann 6-1 +- Upstream release: 6. + +* Tue Jun 07 2011 Marek Goldmann 6-0.1.beta2 +- Initial packaging