Package felix-bundlerepository: 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 # END SourceDeps(oneline) BuildRequires: /proc BuildRequires: jpackage-generic-compat # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: felix-bundlerepository Version: 2.0.10 Release: alt1_4jpp8 Summary: Bundle repository service License: ASL 2.0 and MIT URL: http://felix.apache.org/documentation/subprojects/apache-felix-osgi-bundle-repository.html BuildArch: noarch Source0: https://archive.apache.org/dist/felix/org.apache.felix.bundlerepository-%{version}-source-release.tar.gz Patch1: 0001-Unbundle-libraries.patch Patch2: 0002-Compatibility-with-osgi-r6.patch BuildRequires: maven-local BuildRequires: mvn(net.sf.kxml:kxml2) BuildRequires: mvn(org.apache.felix:felix-parent:pom:) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.felix:org.apache.felix.gogo.runtime) BuildRequires: mvn(org.apache.felix:org.apache.felix.shell) BuildRequires: mvn(org.apache.felix:org.apache.felix.utils) BuildRequires: mvn(org.apache.felix:org.osgi.service.obr) BuildRequires: mvn(org.codehaus.woodstox:woodstox-core-asl) BuildRequires: mvn(org.easymock:easymock) BuildRequires: mvn(org.osgi:osgi.cmpn) BuildRequires: mvn(org.osgi:osgi.core) BuildRequires: mvn(xpp3:xpp3) Source44: import.info %description Bundle repository service %package javadoc Group: Development/Java Summary: API documentation for %{name} BuildArch: noarch %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n org.apache.felix.bundlerepository-%{version} %patch1 -p1 %patch2 -p1 %pom_remove_plugin :maven-source-plugin # Unbundle xpp3 %pom_add_dep "xpp3:xpp3:1.1.3.4.O" pom.xml "<optional>true</optional>" # Make felix utils mandatory dep %pom_xpath_remove "pom:dependency[pom:artifactId[text()='org.apache.felix.utils']]/pom:optional" %pom_change_dep :easymock :::test # Removing and adding is necessary (order matters) %pom_remove_dep :org.osgi.core %pom_add_dep org.osgi:osgi.core %pom_remove_dep :org.osgi.compendium %pom_add_dep org.osgi:osgi.cmpn # For compatibility reasons %mvn_file : felix/%{name} %build %mvn_build %install %mvn_install %files -f .mfiles %doc --no-dereference LICENSE LICENSE.kxml2 NOTICE %doc DEPENDENCIES %files javadoc -f .mfiles-javadoc %doc --no-dereference LICENSE LICENSE.kxml2 NOTICE %changelog * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 2.0.10-alt1_4jpp8 - fc29 update * Thu Apr 19 2018 Igor Vlasenko <viy@altlinux.ru> 2.0.10-alt1_3jpp8 - java update * Fri Nov 10 2017 Igor Vlasenko <viy@altlinux.ru> 2.0.10-alt1_2jpp8 - new version * Wed Nov 01 2017 Igor Vlasenko <viy@altlinux.ru> 2.0.8-alt1_2jpp8 - new jpp release * Fri Dec 16 2016 Igor Vlasenko <viy@altlinux.ru> 1.6.6-alt4_20jpp8 - new fc release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 1.6.6-alt4_19jpp8 - new fc release * Wed Feb 03 2016 Igor Vlasenko <viy@altlinux.ru> 1.6.6-alt4_18jpp8 - new version * Fri Jan 22 2016 Igor Vlasenko <viy@altlinux.ru> 1.6.6-alt3jpp - bootstrap pack of jars created with jppbootstrap script - temporary package to satisfy circular dependencies * Mon Sep 08 2014 Igor Vlasenko <viy@altlinux.ru> 1.6.6-alt2_15jpp7 - new release * Mon Jul 28 2014 Igor Vlasenko <viy@altlinux.ru> 1.6.6-alt2_9jpp7 - new release * Mon Jul 14 2014 Igor Vlasenko <viy@altlinux.ru> 1.6.6-alt2_7jpp7 - NMU rebuild to move poms and fragments * Thu Aug 23 2012 Igor Vlasenko <viy@altlinux.ru> 1.6.6-alt1_7jpp7 - new release |