|
|
f02c5e |
%{?scl:%scl_package spec-version-maven-plugin}
|
|
|
f02c5e |
%{!?scl:%global pkg_name %{name}}
|
|
|
f02c5e |
|
|
|
f02c5e |
Name: %{?scl_prefix}spec-version-maven-plugin
|
|
|
f02c5e |
Version: 1.2
|
|
|
f02c5e |
Release: 9.2%{?dist}
|
|
|
f02c5e |
Summary: Spec Version Maven Plugin
|
|
|
f02c5e |
License: CDDL or GPLv2 with exceptions
|
|
|
f02c5e |
URL: http://glassfish.java.net/
|
|
|
f02c5e |
# svn export https://svn.java.net/svn/glassfish~svn/tags/spec-version-maven-plugin-1.2
|
|
|
f02c5e |
# tar czf spec-version-maven-plugin-1.2-src-svn.tar.gz spec-version-maven-plugin-1.2
|
|
|
f02c5e |
Source0: %{pkg_name}-%{version}-src-svn.tar.gz
|
|
|
f02c5e |
# wget -O glassfish-LICENSE.txt https://svn.java.net/svn/glassfish~svn/tags/legal-1.1/src/main/resources/META-INF/LICENSE.txt
|
|
|
f02c5e |
# spec-version-maven-plugin package don't include the license file
|
|
|
f02c5e |
Source1: glassfish-LICENSE.txt
|
|
|
f02c5e |
|
|
|
f02c5e |
|
|
|
f02c5e |
BuildRequires: %{?scl_prefix}mvn(net.java:jvnet-parent:pom:)
|
|
|
f02c5e |
BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-core)
|
|
|
f02c5e |
BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-model)
|
|
|
f02c5e |
BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-plugin-api)
|
|
|
f02c5e |
BuildRequires: %{?scl_prefix}mvn(org.codehaus.plexus:plexus-resources)
|
|
|
f02c5e |
|
|
|
f02c5e |
# test dep
|
|
|
f02c5e |
BuildRequires: %{?scl_prefix}mvn(junit:junit)
|
|
|
f02c5e |
BuildRequires: %{?scl_prefix}mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
f02c5e |
|
|
|
f02c5e |
BuildRequires: %{?scl_prefix}maven-local
|
|
|
f02c5e |
BuildRequires: %{?scl_prefix}maven-plugin-build-helper
|
|
|
f02c5e |
BuildRequires: %{?scl_prefix}maven-plugin-plugin
|
|
|
f02c5e |
|
|
|
f02c5e |
BuildArch: noarch
|
|
|
f02c5e |
|
|
|
f02c5e |
%description
|
|
|
f02c5e |
Maven Plugin to configure APIs version and
|
|
|
f02c5e |
specs in a MANIFEST.MF file.
|
|
|
f02c5e |
|
|
|
f02c5e |
%package javadoc
|
|
|
f02c5e |
Summary: Javadoc for %{pkg_name}
|
|
|
f02c5e |
|
|
|
f02c5e |
%description javadoc
|
|
|
f02c5e |
This package contains javadoc for %{pkg_name}.
|
|
|
f02c5e |
|
|
|
f02c5e |
%prep
|
|
|
f02c5e |
%setup -n %{pkg_name}-%{version} -q
|
|
|
f02c5e |
|
|
|
f02c5e |
sed -i "s|mvn|mvn-rpmbuild|" src/main/resources/checkVersion.sh
|
|
|
f02c5e |
|
|
|
f02c5e |
cp -p %{SOURCE1} LICENSE.txt
|
|
|
f02c5e |
sed -i 's/\r//' LICENSE.txt
|
|
|
f02c5e |
|
|
|
f02c5e |
%mvn_file :%{pkg_name} %{pkg_name}
|
|
|
f02c5e |
|
|
|
f02c5e |
%build
|
|
|
f02c5e |
|
|
|
f02c5e |
%mvn_build
|
|
|
f02c5e |
|
|
|
f02c5e |
%install
|
|
|
f02c5e |
%mvn_install
|
|
|
f02c5e |
|
|
|
f02c5e |
%files -f .mfiles
|
|
|
f02c5e |
%license LICENSE.txt
|
|
|
f02c5e |
|
|
|
f02c5e |
%files javadoc -f .mfiles-javadoc
|
|
|
f02c5e |
%license LICENSE.txt
|
|
|
f02c5e |
|
|
|
f02c5e |
%changelog
|
|
|
f02c5e |
* Thu Jun 22 2017 Michael Simacek <msimacek@redhat.com> - 1.2-9.2
|
|
|
f02c5e |
- Mass rebuild 2017-06-22
|
|
|
f02c5e |
|
|
|
f02c5e |
* Wed Jun 21 2017 Java Maintainers <java-maint@redhat.com> - 1.2-9.1
|
|
|
f02c5e |
- Automated package import and SCL-ization
|
|
|
f02c5e |
|
|
|
f02c5e |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-9
|
|
|
f02c5e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
f02c5e |
|
|
|
f02c5e |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-8
|
|
|
f02c5e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
f02c5e |
|
|
|
f02c5e |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
|
|
|
f02c5e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
f02c5e |
|
|
|
f02c5e |
* Wed Feb 11 2015 gil cattaneo <puntogil@libero.it> 1.2-6
|
|
|
f02c5e |
- introduce license macro
|
|
|
f02c5e |
|
|
|
f02c5e |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
|
|
|
f02c5e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
f02c5e |
|
|
|
f02c5e |
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.2-4
|
|
|
f02c5e |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
f02c5e |
|
|
|
f02c5e |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
|
|
|
f02c5e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
f02c5e |
|
|
|
f02c5e |
* Tue Jul 02 2013 gil cattaneo <puntogil@libero.it> 1.2-2
|
|
|
f02c5e |
- build with XMvn
|
|
|
f02c5e |
- minor changes to adapt to current guideline
|
|
|
f02c5e |
|
|
|
f02c5e |
* Wed May 22 2013 gil cattaneo <puntogil@libero.it> 1.2-1
|
|
|
f02c5e |
- initial rpm
|