Репозиторий Sisyphus
Последнее обновление: 23 ноября 2017 | Пакетов: 17886 | Посещений: 10423450
en ru br
Репозитории ALT
S:1.4.0-alt1_4jpp8
www.altlinux.org/Changes

Группа :: Разработка/Java
Пакет: aries-blueprint-parser

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

Group: Development/Java
# BEGIN SourceDeps(oneline):
BuildRequires: rpm-build-java unzip
# END SourceDeps(oneline)
BuildRequires: /proc
BuildRequires: jpackage-generic-compat
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%global bundle blueprint-parser
Name:          aries-blueprint-parser
Version:       1.4.0
Release:       alt1_4jpp8
Summary:       Apache Aries Blueprint Parser
License:       ASL 2.0
URL:           http://aries.apache.org/
# Source0:       http://www.apache.org/dist/aries/%%{bundle}-%%{version}-source-release.zip
Source0:       http://central.maven.org/maven2/org/apache/aries/blueprint/%{bundle}/%{version}/%{bundle}-%{version}-source-release.zip

BuildRequires: maven-local
BuildRequires: mvn(org.apache.aries.blueprint:org.apache.aries.blueprint.api) >= 1.0.1
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.eclipse.osgi:org.eclipse.osgi)
BuildRequires: xmvn

BuildArch:     noarch
Source44: import.info

%description
This bundle contains the blueprint parser in a plain JAR.

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

%description javadoc
This package contains javadoc for %{name}.

%prep
%setup -q -n %{bundle}-%{version}

%pom_remove_parent
%pom_remove_plugin org.apache.aries.versioning:org.apache.aries.versioning.plugin

%pom_change_dep org.osgi:org.osgi.core org.eclipse.osgi:org.eclipse.osgi:3.10.102.v20160416-2200

%pom_xpath_set pom:properties/pom:blueprint.api.version 1.0.1

# Add OSGi support

%pom_xpath_set "pom:project/pom:packaging" bundle
%pom_add_plugin org.apache.felix:maven-bundle-plugin . '
<extensions>true</extensions>
<configuration>
 <excludeDependencies>true</excludeDependencies>
 <instructions>
   <Bundle-Name>${project.name}</Bundle-Name>
   <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
   <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
   <Implementation-Title>Apache Aries</Implementation-Title>
   <Implementation-Version>${project.version}</Implementation-Version>
 </instructions>
</configuration>
<executions>
 <execution>
   <id>bundle-manifest</id>
   <phase>process-classes</phase>
   <goals>
     <goal>manifest</goal>
   </goals>
 </execution>
</executions>'

%build

%mvn_build -- -Dproject.build.sourceEncoding=UTF-8

%install
%mvn_install

%files -f .mfiles
%doc LICENSE NOTICE

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

%changelog

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

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