Репозиторий Sisyphus
Последнее обновление: 28 мая 2022 | Пакетов: 17607 | Посещений: 23716799
en ru br
Репозитории ALT
S:0.5.7-alt8
5.1: 0.5.7-alt4
www.altlinux.org/Changes

Группа :: Науки/Математика
Пакет: cca-spec-classic

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

%define _ver 0_5_7
Name: cca-spec-classic
Version: 0.5.7
Release: alt8
Summary: Classic Common Component Architecture Specification
License: LGPL
Group: Sciences/Mathematics
Url: http://www.cca-forum.org/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

Source: http://www.cca-forum.org/download/cca-tools/cca-tools-0.7.0/cca-spec-classic-0.5.7.tar.gz

Requires: lib%name = %version-%release
Requires: lib%name-devel = %version-%release
Requires: %name-common = %version-%release
Requires: lib%name-j = %version-%release

BuildRequires(pre): rpm-build-java
BuildPreReq: java-devel-default /proc doxygen gcc-c++ graphviz
BuildPreReq: libgraphviz-devel babel tcl-devel

%description
The Classic Common Component Architecture Specification.

%package -n lib%name
Summary: Shared libraries of Classic CCA Specification
Group: System/Libraries

%description -n lib%name
The Classic Common Component Architecture Specification.

This package contains shared libraries of Classic CCA Specification.

%package -n lib%name-devel
Summary: Development files of Classic CCA Specification
Group: Development/Other
Requires: lib%name = %version-%release
Requires: %name-common = %version-%release
Requires: lib%name-j = %version-%release

%description -n lib%name-devel
The Classic Common Component Architecture Specification.

This package contains development files of Classic CCA Specification.

%package -n lib%name-j
Summary: Java library of Classic CCA Specification
Group: Development/Java
BuildArch: noarch
Requires: java
Requires: %name-common = %version-%release

%description -n lib%name-j
The Classic Common Component Architecture Specification.

This package contains java library of Classic CCA Specification.

%package common
Summary: Architecture independent files of Classic CCA Specification
Group: Development/Other
BuildArch: noarch

%description common
The Classic Common Component Architecture Specification.

This package contains architecture independent files of Classic CCA
Specification.

%package doc
Summary: Documentation for Classic CCA Specification
Group: Development/Documentation
BuildArch: noarch

%description doc
The Classic Common Component Architecture Specification.

This package contains development documentation for Classic CCA Specification.

%package javadoc
Summary: Javadoc for Classic CCA Specification
Group: Development/Documentation
BuildArch: noarch

%description javadoc
The Classic Common Component Architecture Specification.

This package contains javadoc for Classic CCA Specification.


%prep
%setup

%build
%autoreconf
%configure \
%ifarch x86_64
--enable-64bit \
%endif
--enable-showcompile \
--enable-showlibtool \
--enable-gcc \
--enable-shared \
--with-babel-libtool=%_bindir/babel-libtool \
--with-jdk12=%_libexecdir/jvm/java \
--with-gmake=%_bindir/make \
--with-tclsh=%_bindir/tclsh \
--with-doxygen=%_bindir/doxygen
%make_build

%install
%makeinstall_std

pushd %buildroot%_libdir/%name-%version
rm -f libclassic.so libclassic.a
ln -s %_libdir/libclassic_%_ver.so libclassic.so
ln -s %_libdir/libclassic_%_ver.a libclassic.a
popd

install -d %buildroot%_man3dir
install -d %buildroot%_javadir
install -d %buildroot%_javadocdir/%name-%version

install -m644 java/*.jar %buildroot%_javadir
rm -f java/doc/Makefile java/doc/README
rm -fR %buildroot%_docdir/%name-%version/java
cp -fR java/doc/* %buildroot%_javadocdir/%name-%version/
mv %buildroot%_docdir/%name-%version/c++/man/man3/* %buildroot%_man3dir/
rm -fR %buildroot%_docdir/%name-%version/c++/man

%files
%_bindir/*

%files -n lib%name
%_libdir/*.so.*

%files -n lib%name-devel
%_libdir/*.so
%dir %_libdir/%name-%version
%_libdir/%name-%version/*.so
%_includedir/*

%files -n lib%name-j
%_javadir/*.jar

%files common
%_datadir/%name-%version

%files doc
%_docdir/%name-%version
%_man3dir/*

%files javadoc
%_javadocdir/%name-%version

%changelog

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

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