Репозиторий Sisyphus
Последнее обновление: 22 ноября 2017 | Пакетов: 17883 | Посещений: 10422788
en ru br
Репозитории ALT
S:3.0.2-alt2_13.20120313svn1102435jpp8
www.altlinux.org/Changes

Группа :: Разработка/Java
Пакет: apache-commons-ognl

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Group: Development/Java
# BEGIN SourceDeps(oneline):
BuildRequires: rpm-build-java
# END SourceDeps(oneline)
BuildRequires: /proc
BuildRequires: jpackage-generic-compat
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%global short_name commons-ognl

Name:          apache-%{short_name}
Version:       3.0.2
Release:       alt2_13.20120313svn1102435jpp8
Summary:       Object Graph Navigation Library
License:       ASL 2.0
URL:           http://commons.apache.org/ognl/
# svn export -r1102435 http://svn.apache.org/repos/asf/commons/proper/ognl/trunk/ apache-commons-ognl-3.0.2
# tar caf apache-commons-ognl-3.0.2.tar.xz apache-commons-ognl-3.0.2
Source0:       %{name}-%{version}.tar.xz
BuildArch:     noarch

BuildRequires: jna
BuildRequires: maven-local
BuildRequires: mvn(javassist:javassist)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
BuildRequires: mvn(org.easymock:easymock)
Source44: import.info

%description
OGNL is an expression language for getting and setting properties of
Java objects, plus other extras such as list projection and selection
and lambda expressions.

%package javadoc
Group: Development/Java
Summary:      API documentation for %{name}
BuildArch: noarch

%description javadoc
This package contains the API documentation for %{name}.

%prep
%setup -q

%pom_remove_plugin com.mycila.maven-license-plugin:maven-license-plugin
%pom_remove_plugin org.apache.maven.plugins:maven-clean-plugin

rm -r src/test/java/org/apache/commons/ognl/test/ArithmeticAndLogicalOperatorsTest.java \
 src/test/java/org/apache/commons/ognl/test/ArrayElementsTest.java \
 src/test/java/org/apache/commons/ognl/test/ASTPropertyTest.java \
 src/test/java/org/apache/commons/ognl/test/CollectionDirectPropertyTest.java \
 src/test/java/org/apache/commons/ognl/test/ConstantTest.java \
 src/test/java/org/apache/commons/ognl/test/MethodTest.java \
 src/test/java/org/apache/commons/ognl/test/PropertyArithmeticAndLogicalOperatorsTest.java \
 src/test/java/org/apache/commons/ognl/test/PropertyTest.java \
 src/test/java/org/apache/commons/ognl/test/enhance/TestExpressionCompiler.java

%mvn_file :%{short_name} %{short_name} %{name}

%build
%mvn_build

%install
%mvn_install

%files -f .mfiles
%doc LICENSE.txt NOTICE.txt

%files javadoc -f .mfiles-javadoc
%doc LICENSE.txt NOTICE.txt

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin