Blame SPECS/apache-commons-jexl.spec

d0ef84
%global jarname commons-jexl
d0ef84
d0ef84
Name:           apache-%{jarname}
d0ef84
Version:        2.1.1
d0ef84
Release:        9%{?dist}
d0ef84
Summary:        Java Expression Language (JEXL)
d0ef84
d0ef84
Group:          Development/Libraries
d0ef84
License:        ASL 2.0
d0ef84
URL:            http://commons.apache.org/jexl
d0ef84
Source0:        http://www.apache.org/dist/commons/jexl/source/%{jarname}-%{version}-src.tar.gz
d0ef84
# Patch to fix test failure with junit 4.11
d0ef84
Patch0:         001-Fix-tests.patch
d0ef84
d0ef84
BuildRequires:  maven-local
d0ef84
BuildRequires:  apache-commons-parent >= 26-7
d0ef84
BuildRequires:  javacc-maven-plugin
d0ef84
d0ef84
BuildArch:      noarch
d0ef84
d0ef84
Provides:       %{jarname} = %{version}-%{release}
d0ef84
d0ef84
%description
d0ef84
Java Expression Language (JEXL) is an expression language engine which can be
d0ef84
embedded in applications and frameworks.  JEXL is inspired by Jakarta Velocity
d0ef84
and the Expression Language defined in the JavaServer Pages Standard Tag
d0ef84
Library version 1.1 (JSTL) and JavaServer Pages version 2.0 (JSP).  While
d0ef84
inspired by JSTL EL, it must be noted that JEXL is not a compatible
d0ef84
implementation of EL as defined in JSTL 1.1 (JSR-052) or JSP 2.0 (JSR-152).
d0ef84
For a compatible implementation of these specifications, see the Commons EL
d0ef84
project.
d0ef84
d0ef84
JEXL attempts to bring some of the lessons learned by the Velocity community
d0ef84
about expression languages in templating to a wider audience.  Commons Jelly
d0ef84
needed Velocity-ish method access, it just had to have it.
d0ef84
d0ef84
d0ef84
%package javadoc
d0ef84
Summary:        Javadocs for %{name}
d0ef84
Group:          Documentation
d0ef84
Requires:       jpackage-utils
d0ef84
Provides:       %{jarname}-javadoc = %{version}-%{release}
d0ef84
d0ef84
%description javadoc
d0ef84
This package contains the API documentation for %{name}.
d0ef84
d0ef84
d0ef84
%prep
d0ef84
%setup -q -n %{jarname}-%{version}-src
d0ef84
%patch0 -p1 -b .test
d0ef84
# Java 1.6 contains bsf 3.0, so we don't need the dependency in the pom.xml file
d0ef84
%pom_remove_dep org.apache.bsf:bsf-api
d0ef84
find \( -name '*.jar' -o -name '*.class' \) -delete
d0ef84
# Fix line endings
d0ef84
find -name '*.txt' -exec sed -i 's/\r//' '{}' +
d0ef84
d0ef84
d0ef84
%build
d0ef84
%mvn_build
d0ef84
d0ef84
d0ef84
%install
d0ef84
%mvn_install
d0ef84
d0ef84
d0ef84
%files -f .mfiles
d0ef84
%doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
d0ef84
d0ef84
%files javadoc -f .mfiles-javadoc
d0ef84
%doc LICENSE.txt NOTICE.txt
d0ef84
%{_javadocdir}/%{name}
d0ef84
d0ef84
d0ef84
%changelog
d0ef84
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.1.1-9
d0ef84
- Mass rebuild 2013-12-27
d0ef84
d0ef84
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.1-8
d0ef84
- Add BuildRequires on apache-commons-parent >= 26-7
d0ef84
d0ef84
* Mon Jul  1 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.1-7
d0ef84
- Install NOTICE file with javadoc package
d0ef84
d0ef84
* Thu Jun 28 2013 Orion Poplawski <orion@cora.nwra.com> - 2.1.1-6
d0ef84
- Update to current maven spec guidelines to fix build (bug 979497)
d0ef84
- Add patch to fix test with junit 4.11
d0ef84
d0ef84
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.1-6
d0ef84
- Rebuild to regenerate API documentation
d0ef84
- Resolves: CVE-2013-1571
d0ef84
d0ef84
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-5
d0ef84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d0ef84
d0ef84
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.1.1-4
d0ef84
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
d0ef84
- Replace maven BuildRequires with maven-local
d0ef84
d0ef84
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-3
d0ef84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d0ef84
d0ef84
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-2
d0ef84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d0ef84
d0ef84
* Sat Dec 24 2011 Orion Poplawski <orion@cora.nwra.com> - 2.1.1-1
d0ef84
- Update to 2.1.1
d0ef84
d0ef84
* Mon Dec 12 2011 Orion Poplawski <orion@cora.nwra.com> - 2.1-1
d0ef84
- Update to 2.1
d0ef84
- Update bsf patch
d0ef84
- Add needed BRs
d0ef84
d0ef84
* Tue Oct 11 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0.1-4
d0ef84
- Packaging fixes
d0ef84
- New maven macro for depmaps (include a compat depmap) #745118
d0ef84
d0ef84
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-4
d0ef84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d0ef84
d0ef84
* Mon Dec 6 2010 Orion Poplawski <orion@cora.nwra.com> - 2.0.1-3
d0ef84
- Use BR apache-commons-parent
d0ef84
d0ef84
* Tue Jul 13 2010 Orion Poplawski <orion@cora.nwra.com> - 2.0.1-2
d0ef84
- Add license to javadoc package
d0ef84
d0ef84
* Wed May 26 2010 Orion Poplawski <orion@cora.nwra.com> - 2.0.1-1
d0ef84
- Update to 2.0.1
d0ef84
- Require Java 1.6 or greater
d0ef84
- Drop language level patch
d0ef84
- Add patch to remove bsf-api 3.0 dependency from pom.xml as this is provided
d0ef84
  by Java 1.6
d0ef84
- Fix depmap group id
d0ef84
d0ef84
* Sat Jan 9 2010 Orion Poplawski <orion@cora.nwra.com> - 1.1-3
d0ef84
- Drop gcj support
d0ef84
- Fix javadoc group
d0ef84
- Bump java levels in pom.xml
d0ef84
d0ef84
* Thu Jan 7 2010 Orion Poplawski <orion@cora.nwra.com> - 1.1-2
d0ef84
- Rename to apache-commons-jexl
d0ef84
d0ef84
* Tue Oct 27 2009 Orion Poplawski <orion@cora.nwra.com> - 1.1-1
d0ef84
- Initial Fedora Package