Репозиторий Sisyphus
Последнее обновление: 21 марта 2019 | Пакетов: 17651 | Посещений: 13248042
en ru br
Репозитории ALT
5.1: 1.0-alt1_0.b5.1jpp5
4.1: 1.0-alt1_0.b4.1jpp1.7
4.0: 1.0-alt1_0.b4.1jpp1.7

Группа :: Разработка/Java
Пакет: cpptasks

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

Epoch: 0
Group: Development/Java
# BEGIN SourceDeps(oneline):
BuildRequires: rpm-build-java
# END SourceDeps(oneline)
BuildRequires: /proc
BuildRequires: jpackage-generic-compat
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: cpptasks
Version: 1.0b5
Release: alt2_21jpp8
Summary: Compile and link task for ant

License: ASL 2.0
URL: http://ant-contrib.sourceforge.net/
Source0: http://downloads.sourceforge.net/ant-contrib/cpptasks-1.0b5.tar.gz
Source1: %{name}-README.fedora

BuildRequires:  maven-local
BuildRequires:  mvn(junit:junit)
BuildRequires:  mvn(org.apache.ant:ant)
BuildRequires:  mvn(xerces:xercesImpl)

BuildArch: noarch
Source44: import.info

This ant task can compile various source languages and produce
executables, shared libraries (aka DLL's) and static libraries. Compiler
adaptors are currently available for several C/C++ compilers, FORTRAN,
MIDL and Windows Resource files.

%package        javadoc
Group: Development/Java
Summary: Javadoc for %{name}
BuildArch: noarch

%description javadoc
Javadoc documentation for %{summary}.

%setup -q

find . -name "*.jar" -exec rm -f {} \;
find . -name "*.class" -exec rm -f {} \;

sed -i 's/\r//' NOTICE

cp -p %{SOURCE1} ./README.fedora

# Use default compiler configuration

%pom_remove_plugin :maven-compiler-plugin

# Let xmvn generate javadocs

%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin :maven-source-plugin

# No need to assemble distribution tarballs

%pom_remove_plugin :maven-assembly-plugin

# Fix dependency on ant

%pom_change_dep ant:ant org.apache.ant:ant
%pom_remove_dep ant:ant-nodeps
%pom_remove_dep ant:ant-trax

%mvn_file :%{name} ant/%{name}



# Place a file into ant's config dir

mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ant.d/
echo "ant/%{name}" > $RPM_BUILD_ROOT/%{_sysconfdir}/ant.d/%{name}

%files -f .mfiles
%doc --no-dereference LICENSE NOTICE
%doc README.fedora

%files javadoc -f .mfiles-javadoc
%doc --no-dereference LICENSE NOTICE


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

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