diff --git a/.gitignore b/.gitignore index e69de29..8fa4a37 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,11 @@ +/results_* +/*.src.rpm + +/jboss-logging-3.0.1.GA.tar.xz +/jboss-logging-3.1.0.CR1.tar.xz +/jboss-logging-3.1.0.GA.tar.xz +/jboss-logging-3.1.2.GA.tar.xz +/3.1.3.GA.tar.gz +/3.1.4.GA.tar.gz +/3.3.0.Final.tar.gz +/jboss-logging-3.4.1.Final.tar.gz diff --git a/jboss-logging.spec b/jboss-logging.spec new file mode 100644 index 0000000..837b3a8 --- /dev/null +++ b/jboss-logging.spec @@ -0,0 +1,156 @@ +%global namedreltag .Final +%global namedversion %{version}%{?namedreltag} + +Name: jboss-logging +Version: 3.4.1 +Release: 5%{?dist} +Summary: The JBoss Logging Framework +License: ASL 2.0 + +URL: https://github.com/jboss-logging/jboss-logging +Source0: %{url}/archive/%{namedversion}/%{name}-%{namedversion}.tar.gz + +BuildArch: noarch + +BuildRequires: maven-local +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.apache.logging.log4j:log4j-1.2-api) +BuildRequires: mvn(org.apache.logging.log4j:log4j-api) +BuildRequires: mvn(org.jboss:jboss-parent:pom:) +BuildRequires: mvn(org.jboss.logmanager:jboss-logmanager) +BuildRequires: mvn(org.slf4j:slf4j-api) + +%description +This package contains the JBoss Logging Framework. + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q -n %{name}-%{namedversion} + +# Unneeded task +%pom_remove_plugin :maven-source-plugin + +# switch from log4j 1.2 compat package to log4j 1.2 API shim +%pom_change_dep log4j:log4j org.apache.logging.log4j:log4j-1.2-api + +cp -p src/main/resources/META-INF/LICENSE.txt . +sed -i 's/\r//' LICENSE.txt + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE.txt + +%files javadoc -f .mfiles-javadoc +%license LICENSE.txt + +%changelog +* Wed Sep 09 2020 Fabio Valentini - 3.4.1-5 +- Switch from log4j 1.2 compat package to log4j 1.2 API shim. + +* Tue Jul 28 2020 Fedora Release Engineering - 3.4.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 10 2020 Jiri Vanek - 3.4.1-3 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + +* Wed Jan 29 2020 Fedora Release Engineering - 3.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Oct 05 2019 Fabio Valentini - 3.4.1-1 +- Update to version 3.4.1. + +* Thu Jul 25 2019 Fedora Release Engineering - 3.3.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 3.3.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 3.3.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 3.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 3.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 3.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri May 27 2016 gil cattaneo 3.3.0-1 +- update to 3.3.0.Final + +* Sun Feb 14 2016 gil cattaneo 3.1.4-6 +- fix FTBFS rhbz#1307647 +- fix BR list and use BR mvn()-like +- introduce license macro +- fix some rpmlint problem + +* Thu Feb 04 2016 Fedora Release Engineering - 3.1.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 3.1.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Jul 01 2014 Marek Goldmann - 3.1.4-3 +- Upgrade to SLF4j 1.7 + +* Sat Jun 07 2014 Fedora Release Engineering - 3.1.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Feb 14 2014 Marek Goldmann - 3.1.4-1 +- Upstream release 3.1.4.GA + +* Sat Aug 03 2013 Fedora Release Engineering - 3.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Jun 28 2013 Marek Goldmann - 3.1.3-1 +- Upstream release 3.1.3.GA + +* Tue Feb 26 2013 Marek Goldmann - 3.1.2-1 +- Upstream release 3.1.2.GA +- Move to mvn_build and mvn_install macros +- License change to ASL 2.0 + +* Thu Feb 14 2013 Fedora Release Engineering - 3.1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 3.1.0-5 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Fri Jul 20 2012 Marek Goldmann - 3.1.0-4 +- Fixed BR + +* Thu Jul 19 2012 Fedora Release Engineering - 3.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sun Feb 26 2012 Marek Goldmann 3.1.0-2 +- Release bump + +* Sun Feb 26 2012 Marek Goldmann 3.1.0-1 +- Upstream release 3.1.0.GA +- Relocated jars to _javadir + +* Fri Jan 13 2012 Fedora Release Engineering - 3.1.0-0.2.CR1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Nov 18 2011 Marek Goldmann 3.1.0-0.1.CR1 +- Upstream release 3.1.0.CR1 + +* Mon Sep 19 2011 Marek Goldmann 3.0.1-1 +- Upstream release 3.0.1.GA + +* Thu Jul 28 2011 Marek Goldmann 3.0.0-1 +- Initial packaging + diff --git a/sources b/sources new file mode 100644 index 0000000..c62df9d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (jboss-logging-3.4.1.Final.tar.gz) = 830aa91dd1715e55c1938d3d01f2d6c1200dd2ece74378f38e750c4a2ef27790a232246115fe58452807bec36131f9ee12161a47bb6cbbf585017b7d7d8fab16