- Upstream release 3.1.2.GA
- Move to mvn_build and mvn_install macros - License change to ASL 2.0
This commit is contained in:
parent
060f4c6426
commit
c71aa7b949
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
/jboss-logging-3.0.1.GA.tar.xz
|
/jboss-logging-3.0.1.GA.tar.xz
|
||||||
/jboss-logging-3.1.0.CR1.tar.xz
|
/jboss-logging-3.1.0.CR1.tar.xz
|
||||||
/jboss-logging-3.1.0.GA.tar.xz
|
/jboss-logging-3.1.0.GA.tar.xz
|
||||||
|
/jboss-logging-3.1.2.GA.tar.xz
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
%global namedversion %{version}%{?namedreltag}
|
%global namedversion %{version}%{?namedreltag}
|
||||||
|
|
||||||
Name: jboss-logging
|
Name: jboss-logging
|
||||||
Version: 3.1.0
|
Version: 3.1.2
|
||||||
Release: 6%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: The JBoss Logging Framework
|
Summary: The JBoss Logging Framework
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: LGPLv2+
|
License: ASL 2.0
|
||||||
URL: https://github.com/jboss-logging/jboss-logging
|
URL: https://github.com/jboss-logging/jboss-logging
|
||||||
|
|
||||||
# git clone git://github.com/jboss-logging/jboss-logging.git
|
# git clone git://github.com/jboss-logging/jboss-logging.git
|
||||||
# cd jboss-logging/ && git archive --format=tar --prefix=jboss-logging-3.1.0.GA/ 3.1.0.GA | xz > jboss-logging-3.1.0.GA.tar.xz
|
# cd jboss-logging/ && git archive --format=tar --prefix=jboss-logging-3.1.2.GA/ 3.1.2.GA | xz > jboss-logging-3.1.2.GA.tar.xz
|
||||||
Source0: %{name}-%{namedversion}.tar.xz
|
Source0: jboss-logging-%{namedversion}.tar.xz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -52,36 +52,26 @@ Requires: jpackage-utils
|
|||||||
This package contains the API documentation for %{name}.
|
This package contains the API documentation for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{namedversion}
|
%setup -q -n jboss-logging-%{namedversion}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mvn-rpmbuild install javadoc:aggregate
|
%mvn_build -f
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# JAR
|
%mvn_install
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
|
||||||
cp -p target/%{name}-%{namedversion}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
|
||||||
|
|
||||||
# APIDOCS
|
%files -f .mfiles
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
%doc src/main/resources/META-INF/LICENSE.txt
|
||||||
cp -rp target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
||||||
|
|
||||||
#POM
|
%files javadoc -f .mfiles-javadoc
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
|
%doc src/main/resources/META-INF/LICENSE.txt
|
||||||
install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
|
|
||||||
|
|
||||||
# DEPMAP
|
|
||||||
%add_maven_depmap JPP-%{name}.pom %{name}.jar
|
|
||||||
|
|
||||||
%files
|
|
||||||
%{_mavenpomdir}/*
|
|
||||||
%{_mavendepmapfragdir}/*
|
|
||||||
%{_javadir}/*
|
|
||||||
|
|
||||||
%files javadoc
|
|
||||||
%{_javadocdir}/%{name}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 26 2013 Marek Goldmann <mgoldman@redhat.com> - 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 <rel-eng@lists.fedoraproject.org> - 3.1.0-6
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user