- 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.1.0.CR1.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}
|
||||
|
||||
Name: jboss-logging
|
||||
Version: 3.1.0
|
||||
Release: 6%{?dist}
|
||||
Version: 3.1.2
|
||||
Release: 1%{?dist}
|
||||
Summary: The JBoss Logging Framework
|
||||
Group: Development/Libraries
|
||||
License: LGPLv2+
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/jboss-logging/jboss-logging
|
||||
|
||||
# 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
|
||||
Source0: %{name}-%{namedversion}.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: jboss-logging-%{namedversion}.tar.xz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
@ -52,36 +52,26 @@ Requires: jpackage-utils
|
||||
This package contains the API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{namedversion}
|
||||
%setup -q -n jboss-logging-%{namedversion}
|
||||
|
||||
%build
|
||||
mvn-rpmbuild install javadoc:aggregate
|
||||
%mvn_build -f
|
||||
|
||||
%install
|
||||
# JAR
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
||||
cp -p target/%{name}-%{namedversion}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
||||
%mvn_install
|
||||
|
||||
# APIDOCS
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
cp -rp target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
%files -f .mfiles
|
||||
%doc src/main/resources/META-INF/LICENSE.txt
|
||||
|
||||
#POM
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
|
||||
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}
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%doc src/main/resources/META-INF/LICENSE.txt
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user