Группа :: Разработка/Java
Пакет: jpackage-generic-compat
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_disable java14compat
Name: jpackage-generic-compat
Version: 0.15
Release: alt4
Summary: ALT to JPackage build compatibility adaptor.
Group: Development/Java
License: GPL2+ or Apache
Url: http://www.sisyphus.ru/packages/viy/srpms
BuildArch: noarch
BuildPreReq: rpm-build-java /proc
Requires: docbook-style-xsl
%add_findreq_skiplist /usr/share/sgml/docbook/xsl-stylesheets
# sun java requires it
Requires: /proc
Requires(pre): rpm-build-java
Requires: jpackage-utils
# as in jdepend; should be detected by peering in SOURCEDIR
Requires: unzip
# as in fedora biarch packages; could be detected by peering in SPEC
Requires: zip
# bea-stax...
Requires: ant
Requires: java-devel java
# around nultiple hooks and ant compatibility
Requires: ant-junit ant-antlr ant-nodeps
# xmlunit
Requires: ant-trax
Requires: java-javadoc
%description
JPackage compatibility package. The main goal is to provide all nessssary
symlinks, Requires and BuildRequires for ALTLinux to create a build environment
compatible with JPackage.org.
%package -n jpackage-1.4.2-compat
Summary: JPackage build environment with java-1.4.2.
Group: Development/Java
Requires(pre): java-devel = 1.4.2 java = 1.4.2 gnu-crypto-sasl-jdk1.4
# hack
Conflicts: java-devel > 1.4.99 java > 1.4.99
Requires: jpackage-generic-compat
%description -n jpackage-1.4.2-compat
JPackage compatibility package. the main goal is to provide all nessssary symlinks,
Requires and BuildRequires for ALT to be build compatible with JPackage.
Provides JPackage build environment with java-1.4.2.
%package -n jpackage-1.5-compat
Summary: JPackage build environment with java-1.5.0.
Group: Development/Java
Requires(pre): java-devel = 1.5.0 java = 1.5.0
# hack
Conflicts: java-devel > 1.5.99 java > 1.5.99
Requires: jpackage-generic-compat
%if_disabled java14compat
Provides: jpackage-1.4-compat = %version-%release
Provides: jpackage-compat = %version-%release
Obsoletes: jpackage-1.4-compat < %version
%endif
%description -n jpackage-1.5-compat
JPackage compatibility package. the main goal is to provide all nessssary symlinks,
Requires and BuildRequires for ALT to be build compatible with JPackage.
Provides JPackage build environment with java-1.5.0.
%package -n jpackage-1.6-compat
Summary: JPackage build environment with java-1.5.0.
Group: Development/Java
Requires(pre): java-devel = 1.6.0 java = 1.6.0
# hack
Conflicts: java-devel > 1.6.99 java > 1.6.99
Requires: jpackage-generic-compat
#Provides: jpackage-compat = %version-%release
%description -n jpackage-1.6-compat
JPackage compatibility package. the main goal is to provide all nessssary symlinks,
Requires and BuildRequires for ALT to be build compatible with JPackage.
Provides JPackage build environment with java-1.6.0.
%prep
%build
%install
install -d $RPM_BUILD_ROOT%_javadir
install -d $RPM_BUILD_ROOT/usr/share/sgml/docbook/
ln -s /usr/share/xml/docbook/xsl-stylesheets $RPM_BUILD_ROOT/usr/share/sgml/docbook/xsl-stylesheets
#%post
%files
/usr/share/sgml/docbook/xsl-stylesheets
%files -n jpackage-1.4.2-compat
%files -n jpackage-1.5-compat
%files -n jpackage-1.6-compat
%changelog
…
Полный changelog можно просмотреть здесь
Name: jpackage-generic-compat
Version: 0.15
Release: alt4
Summary: ALT to JPackage build compatibility adaptor.
Group: Development/Java
License: GPL2+ or Apache
Url: http://www.sisyphus.ru/packages/viy/srpms
BuildArch: noarch
BuildPreReq: rpm-build-java /proc
Requires: docbook-style-xsl
%add_findreq_skiplist /usr/share/sgml/docbook/xsl-stylesheets
# sun java requires it
Requires: /proc
Requires(pre): rpm-build-java
Requires: jpackage-utils
# as in jdepend; should be detected by peering in SOURCEDIR
Requires: unzip
# as in fedora biarch packages; could be detected by peering in SPEC
Requires: zip
# bea-stax...
Requires: ant
Requires: java-devel java
# around nultiple hooks and ant compatibility
Requires: ant-junit ant-antlr ant-nodeps
# xmlunit
Requires: ant-trax
Requires: java-javadoc
%description
JPackage compatibility package. The main goal is to provide all nessssary
symlinks, Requires and BuildRequires for ALTLinux to create a build environment
compatible with JPackage.org.
%package -n jpackage-1.4.2-compat
Summary: JPackage build environment with java-1.4.2.
Group: Development/Java
Requires(pre): java-devel = 1.4.2 java = 1.4.2 gnu-crypto-sasl-jdk1.4
# hack
Conflicts: java-devel > 1.4.99 java > 1.4.99
Requires: jpackage-generic-compat
%description -n jpackage-1.4.2-compat
JPackage compatibility package. the main goal is to provide all nessssary symlinks,
Requires and BuildRequires for ALT to be build compatible with JPackage.
Provides JPackage build environment with java-1.4.2.
%package -n jpackage-1.5-compat
Summary: JPackage build environment with java-1.5.0.
Group: Development/Java
Requires(pre): java-devel = 1.5.0 java = 1.5.0
# hack
Conflicts: java-devel > 1.5.99 java > 1.5.99
Requires: jpackage-generic-compat
%if_disabled java14compat
Provides: jpackage-1.4-compat = %version-%release
Provides: jpackage-compat = %version-%release
Obsoletes: jpackage-1.4-compat < %version
%endif
%description -n jpackage-1.5-compat
JPackage compatibility package. the main goal is to provide all nessssary symlinks,
Requires and BuildRequires for ALT to be build compatible with JPackage.
Provides JPackage build environment with java-1.5.0.
%package -n jpackage-1.6-compat
Summary: JPackage build environment with java-1.5.0.
Group: Development/Java
Requires(pre): java-devel = 1.6.0 java = 1.6.0
# hack
Conflicts: java-devel > 1.6.99 java > 1.6.99
Requires: jpackage-generic-compat
#Provides: jpackage-compat = %version-%release
%description -n jpackage-1.6-compat
JPackage compatibility package. the main goal is to provide all nessssary symlinks,
Requires and BuildRequires for ALT to be build compatible with JPackage.
Provides JPackage build environment with java-1.6.0.
%prep
%build
%install
install -d $RPM_BUILD_ROOT%_javadir
install -d $RPM_BUILD_ROOT/usr/share/sgml/docbook/
ln -s /usr/share/xml/docbook/xsl-stylesheets $RPM_BUILD_ROOT/usr/share/sgml/docbook/xsl-stylesheets
#%post
%files
/usr/share/sgml/docbook/xsl-stylesheets
%files -n jpackage-1.4.2-compat
%files -n jpackage-1.5-compat
%files -n jpackage-1.6-compat
%changelog
…
Полный changelog можно просмотреть здесь