plexus-interpolation/plexus-interpolation.spec

99 lines
3.0 KiB
RPMSpec
Raw Normal View History

2009-12-23 21:17:23 +00:00
Name: plexus-interpolation
2012-04-18 07:33:55 +00:00
Version: 1.15
Release: 1%{?dist}
2009-12-23 21:17:23 +00:00
Summary: Plexus Interpolation API
Group: Development/Libraries
License: ASL 2.0 and ASL 1.1 and MIT
URL: http://plexus.codehaus.org/plexus-components/plexus-interpolation
2012-04-18 07:33:55 +00:00
#fetched from https://github.com/sonatype/plexus-interpolation/tarball/plexus-interpolation-1.15
Source0: sonatype-plexus-interpolation-plexus-interpolation-1.15-0-g9690e65.tar.gz
2009-12-23 21:17:23 +00:00
BuildArch: noarch
BuildRequires: java-devel
BuildRequires: junit
BuildRequires: maven
BuildRequires: maven-resources-plugin
BuildRequires: maven-compiler-plugin
BuildRequires: maven-jar-plugin
BuildRequires: maven-install-plugin
BuildRequires: maven-javadoc-plugin
BuildRequires: maven-surefire-plugin
2009-12-23 21:17:23 +00:00
BuildRequires: maven-surefire-provider-junit
BuildRequires: maven-shared-reporting-impl
BuildRequires: maven-doxia-sitetools
%description
Plexus interpolator is the outgrowth of multiple iterations of development
focused on providing a more modular, flexible interpolation framework for
the expression language style commonly seen in Maven, Plexus, and other
2009-12-23 21:17:23 +00:00
related projects.
%package javadoc
Group: Documentation
Summary: Javadoc for %{name}
Requires: jpackage-utils
2009-12-23 21:17:23 +00:00
%description javadoc
API documentation for %{name}.
%prep
2012-04-18 07:33:55 +00:00
%setup -q -n sonatype-plexus-interpolation-cf017ec
2009-12-23 21:17:23 +00:00
%build
mvn-rpmbuild install javadoc:javadoc
2009-12-23 21:17:23 +00:00
%install
# jars
install -d -m 0755 %{buildroot}%{_javadir}/plexus
install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/plexus/interpolation.jar
2009-12-23 21:17:23 +00:00
# poms
install -d -m 755 %{buildroot}%{_mavenpomdir}
2009-12-23 21:17:23 +00:00
install -pm 644 pom.xml \
%{buildroot}%{_mavenpomdir}/JPP.%{name}.pom
2009-12-23 21:17:23 +00:00
%add_maven_depmap JPP.%{name}.pom plexus/interpolation.jar
2009-12-23 21:17:23 +00:00
# javadoc
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
2009-12-23 21:17:23 +00:00
%files
%{_javadir}/plexus/interpolation.jar
%{_mavenpomdir}/JPP.%{name}.pom
%{_mavendepmapfragdir}/%{name}
2009-12-23 21:17:23 +00:00
%files javadoc
%{_javadocdir}/%{name}
%changelog
2012-04-18 07:33:55 +00:00
* Wed Apr 18 2012 Alexander Kurtakov <akurtako@redhat.com> 1.15-1
- Update to latest upstream.
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Jul 27 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.14-2
- Use add_maven_depmap macro
- Use more precise specification of files
2011-07-26 17:47:55 +00:00
* Tue Jul 26 2011 Jaromir Capik <jcapik@redhat.com> - 1.14-2
- Removal of plexus-maven-plugin dependency (not needed)
- Minor spec file changes according to the latest guidelines
* Tue May 17 2011 Alexander Kurtakov <akurtako@redhat.com> 1.14-1
- Update to upstream 1.14 version.
- Adapt to current guidelines.
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2009-12-23 21:17:23 +00:00
* Tue Dec 22 2009 Alexander Kurtakov <akurtako@redhat.com> 1.13-2
- Fix review comments.
* Tue Dec 22 2009 Alexander Kurtakov <akurtako@redhat.com> 1.13-1
- Initial package.