Группа :: Разработка/Прочее
Пакет: jdeparser
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Group: Development/Other
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-1.8-compat
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
# %%version is ahead of its definition. Predefining for rpm 4.0 compatibility.
%define version 2.0.3
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jdeparser
Version: 2.0.3
Release: alt1_2jpp8
Summary: Source generator library for Java
License: ASL 2.0
URL: https://github.com/jdeparser/jdeparser2
# old repos https://github.com/jdeparser/jdeparser
Source0: %{url}/archive/%{namedversion}/%{name}-%{namedversion}.tar.gz
BuildArch: noarch
BuildRequires: maven-local
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
Source44: import.info
%description
This project is a fork of Sun's (now Oracle's) com.sun.codemodel project. We
decided to fork the project because by all evidence, the upstream project is
dead and not actively accepting outside contribution. All JBoss projects are
urged to use this project instead for source code generation.
%package javadoc
Group: Development/Java
Summary: Javadoc for %{name}
BuildArch: noarch
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n jdeparser2-%{namedversion}
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc --no-dereference LICENSE.txt
%files javadoc -f .mfiles-javadoc
%doc --no-dereference LICENSE.txt
%changelog
…
Полный changelog можно просмотреть здесь
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-1.8-compat
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
# %%version is ahead of its definition. Predefining for rpm 4.0 compatibility.
%define version 2.0.3
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jdeparser
Version: 2.0.3
Release: alt1_2jpp8
Summary: Source generator library for Java
License: ASL 2.0
URL: https://github.com/jdeparser/jdeparser2
# old repos https://github.com/jdeparser/jdeparser
Source0: %{url}/archive/%{namedversion}/%{name}-%{namedversion}.tar.gz
BuildArch: noarch
BuildRequires: maven-local
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
Source44: import.info
%description
This project is a fork of Sun's (now Oracle's) com.sun.codemodel project. We
decided to fork the project because by all evidence, the upstream project is
dead and not actively accepting outside contribution. All JBoss projects are
urged to use this project instead for source code generation.
%package javadoc
Group: Development/Java
Summary: Javadoc for %{name}
BuildArch: noarch
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n jdeparser2-%{namedversion}
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc --no-dereference LICENSE.txt
%files javadoc -f .mfiles-javadoc
%doc --no-dereference LICENSE.txt
%changelog
…
Полный changelog можно просмотреть здесь