Package aries-proxy-impl: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | 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 org.apache.aries.proxy.impl Name: aries-proxy-impl Version: 1.0.5 Release: alt2_7jpp8 Summary: Apache Aries Proxy Service 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/proxy/%{bundle}/%{version}/%{bundle}-%{version}-source-release.zip BuildRequires: maven-local BuildRequires: mvn(org.apache.aries.proxy:org.apache.aries.proxy.api) >= 1.0.1 BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) BuildRequires: mvn(org.eclipse.osgi:org.eclipse.osgi) BuildRequires: mvn(org.ow2.asm:asm-debug-all) BuildRequires: mvn(org.slf4j:slf4j-api) BuildRequires: mvn(org.osgi:org.osgi.compendium) BuildRequires: mvn(org.eclipse:osgi) Obsoletes: aries-proxy < %{version} Provides: aries-proxy = %{version}-%{release} BuildArch: noarch Source44: import.info %description This bundle contains the proxy service implementation for Apache Aries. %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_add_plugin org.apache.felix:maven-bundle-plugin . ' <extensions>true</extensions> <configuration> <excludeDependencies>true</excludeDependencies> <instructions> <Bundle-Activator>${aries.osgi.activator}</Bundle-Activator> <Bundle-Name>${project.name}</Bundle-Name> <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> <!--Export-Package>${aries.osgi.export.pkg}</Export-Package--> <Export-Service>${aries.osgi.export.service}</Export-Service> <Import-Package>${aries.osgi.import.pkg}</Import-Package> <Implementation-Title>Apache Aries</Implementation-Title> <Implementation-Version>${project.version}</Implementation-Version> <Private-Package>${aries.osgi.private.pkg}</Private-Package> </instructions> </configuration> <executions> <execution> <id>bundle-manifest</id> <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions>' # Cannot load implementation hint 'org.codehaus.mojo.animal_sniffer.enforcer.CheckSignatureRule' %pom_remove_plugin :maven-enforcer-plugin %pom_remove_plugin org.apache.aries.versioning:org.apache.aries.versioning.plugin # Use eclipse apis %pom_change_dep org.osgi:org.osgi.core org.eclipse.osgi:org.eclipse.osgi:3.10.102.v20160416-2200 # antrun plugin fails to process classes sed -i '/delete dir/d' pom.xml %build # tests disabled because of # missing dependency on org.apache.aries.testsupport.unit %mvn_build -f -- -Dproject.build.sourceEncoding=UTF-8 %install %mvn_install %files -f .mfiles %doc --no-dereference LICENSE NOTICE %files javadoc -f .mfiles-javadoc %doc --no-dereference LICENSE NOTICE %changelog * Sat May 25 2019 Igor Vlasenko <viy@altlinux.ru> 1.0.5-alt2_7jpp8 - new version * Mon Feb 04 2019 Igor Vlasenko <viy@altlinux.ru> 1.0.5-alt2_6jpp8 - java update * Tue May 08 2018 Igor Vlasenko <viy@altlinux.ru> 1.0.5-alt2_5jpp8 - java update * Fri Nov 17 2017 Igor Vlasenko <viy@altlinux.ru> 1.0.5-alt2_2jpp8 - fixed build with new felix-utils * Sun Oct 22 2017 Igor Vlasenko <viy@altlinux.ru> 1.0.5-alt1_2jpp8 - new jpp release * Tue Dec 20 2016 Igor Vlasenko <viy@altlinux.ru> 1.0.5-alt1_1jpp8 - new version |