Группа :: Система/Основа
Пакет: java-common
Главная Изменения Спек Патчи Загрузить Bugs and FR
Name: java-common
Version: 1.2
Release: alt0.M24.1
Packager: Mikhail Zabaluev <mhz at altlinux.ru>
Summary: Common files for Java runtimes
Group: System/Base
License: GPL
Provides: %_bindir/java
Source0: java.sh
Source1: java-functions
BuildArch: noarch
BuildPreReq: rpm-build-java
%description
This package contains the Java wrapper that selects a Java runtime
environment available in the system to execute Java applications,
as well as common routines to set up Java application launcher
scripts.
The package also provides the system-wide installation directory
for Java packages.
%install
%__mkdir_p %buildroot%_bindir
%__install -p -m 755 %SOURCE0 %buildroot%_bindir/java
%__subst -p 's, at LIBDIR at ,%_libdir,g' %buildroot%_bindir/java
%__install -d -m 755 %buildroot%_libdir/%name
%__install -p -m 644 %SOURCE1 %buildroot%_libdir/%name/java-functions
%__subst -p 's, at LIBDIR at ,%_libdir,g' \
%buildroot%_libdir/%name/java-functions
%__subst -p 's, at JAVADIR at ,%_javadir,g' \
%buildroot%_libdir/%name/java-functions
%__install -d -m 755 %buildroot%_javadir
%__install -d -m 755 %buildroot%_javadocdir
%files
%_bindir/java
%_libdir/%name
%dir %_javadir
%dir %_javadocdir
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.2
Release: alt0.M24.1
Packager: Mikhail Zabaluev <mhz at altlinux.ru>
Summary: Common files for Java runtimes
Group: System/Base
License: GPL
Provides: %_bindir/java
Source0: java.sh
Source1: java-functions
BuildArch: noarch
BuildPreReq: rpm-build-java
%description
This package contains the Java wrapper that selects a Java runtime
environment available in the system to execute Java applications,
as well as common routines to set up Java application launcher
scripts.
The package also provides the system-wide installation directory
for Java packages.
%install
%__mkdir_p %buildroot%_bindir
%__install -p -m 755 %SOURCE0 %buildroot%_bindir/java
%__subst -p 's, at LIBDIR at ,%_libdir,g' %buildroot%_bindir/java
%__install -d -m 755 %buildroot%_libdir/%name
%__install -p -m 644 %SOURCE1 %buildroot%_libdir/%name/java-functions
%__subst -p 's, at LIBDIR at ,%_libdir,g' \
%buildroot%_libdir/%name/java-functions
%__subst -p 's, at JAVADIR at ,%_javadir,g' \
%buildroot%_libdir/%name/java-functions
%__install -d -m 755 %buildroot%_javadir
%__install -d -m 755 %buildroot%_javadocdir
%files
%_bindir/java
%_libdir/%name
%dir %_javadir
%dir %_javadocdir
%changelog
…
Полный changelog можно просмотреть здесь