Группа :: Разработка/Java
Пакет: sat4j
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Packager: Igor Vlasenko <viy at altlinux.ru>
BuildRequires: /proc
BuildRequires: jpackage-1.6-compat
%define eclipse_base %{_libdir}/eclipse
# We want the version to match that shipped in Eclipse's Orbit project
%define qualifier 20090520
Name: sat4j
Version: 2.1.0
Release: alt1_1jpp6
Summary: A library of SAT solvers written in Java
Group: Development/Java
License: EPL and LGPLv2
URL: http://www.sat4j.org/
# Created by sh %{name}-fetch.sh
Source0: %{name}-%{version}.tar.bz2
Source1: %{name}-fetch.sh
BuildRequires: ant
BuildRequires: ecj
Requires: jpackage-utils
BuildArch: noarch
%description
The aim of the SAT4J library is to provide an efficient library of SAT
solvers in Java. The SAT4J library targets first users of SAT "black
boxes", those willing to embed SAT technologies into their application
without worrying about the details.
%prep
%setup -q
# Only used for the tests
rm lib/commons-cli.jar
%build
ant -Dbuild.compiler=modern -Drelease=%{version} -DBUILD_DATE=%{qualifier} p2
%install
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
cp -rp dist/%{version}/org.sat4j.core.jar \
$RPM_BUILD_ROOT%{_javadir}
cp -rp dist/%{version}/org.sat4j.pb.jar \
$RPM_BUILD_ROOT%{_javadir}
%files
# No %%doc files as the about.html is in the jar
%{_javadir}/org.sat4j*
%changelog
…
Полный changelog можно просмотреть здесь
BuildRequires: /proc
BuildRequires: jpackage-1.6-compat
%define eclipse_base %{_libdir}/eclipse
# We want the version to match that shipped in Eclipse's Orbit project
%define qualifier 20090520
Name: sat4j
Version: 2.1.0
Release: alt1_1jpp6
Summary: A library of SAT solvers written in Java
Group: Development/Java
License: EPL and LGPLv2
URL: http://www.sat4j.org/
# Created by sh %{name}-fetch.sh
Source0: %{name}-%{version}.tar.bz2
Source1: %{name}-fetch.sh
BuildRequires: ant
BuildRequires: ecj
Requires: jpackage-utils
BuildArch: noarch
%description
The aim of the SAT4J library is to provide an efficient library of SAT
solvers in Java. The SAT4J library targets first users of SAT "black
boxes", those willing to embed SAT technologies into their application
without worrying about the details.
%prep
%setup -q
# Only used for the tests
rm lib/commons-cli.jar
%build
ant -Dbuild.compiler=modern -Drelease=%{version} -DBUILD_DATE=%{qualifier} p2
%install
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
cp -rp dist/%{version}/org.sat4j.core.jar \
$RPM_BUILD_ROOT%{_javadir}
cp -rp dist/%{version}/org.sat4j.pb.jar \
$RPM_BUILD_ROOT%{_javadir}
%files
# No %%doc files as the about.html is in the jar
%{_javadir}/org.sat4j*
%changelog
…
Полный changelog можно просмотреть здесь