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