Blame SPECS/apache-commons-jexl.spec

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