Name: knopflerfish Version: 3.2.0 Release: 1%{?dist} Summary: OSGI Framework Group: Development/Libraries License: BSD Url: http://www.knopflerfish.org/ # svn export https://www.knopflerfish.org/svn/knopflerfish.org/tags/3.2.0 knopflerfish-3.2.0 # find knopflerfish-3.2.0 -name "*.jar" -type f -delete # find knopflerfish-3.2.0 -name "*.class" -delete # tar czf knopflerfish-3.2.0-src-svn.tar.gz knopflerfish-3.2.0 Source0: knopflerfish-3.2.0-src-svn.tar.gz # http://www.knopflerfish.org/releases/3.2.0/knopflerfish_osgi_sdk_3.2.0.jar Source1: knopflerfish-3.2.0-obr2html.xsl # http://www.knopflerfish.org/maven2/org/knopflerfish Source2: knopflerfish-3.2.0-01-poms.tar.gz Patch0: knopflerfish-3.2.0-crimson-bundle.manifest.patch Patch1: knopflerfish-3.2.0-kxml-bundle.manifest.patch Patch2: knopflerfish-3.2.0-no-bundles_test.patch Patch3: knopflerfish-3.2.0-no-Bundle-Classpath.patch Patch4: knopflerfish-3.2.0-io-use-microemulator.patch Patch5: knopflerfish-3.2.0-io-connectors-use-microemulator.patch Patch6: knopflerfish-3.2.0-osgi-javadoc.patch Patch7: knopflerfish-3.2.0-bundlerepository-kxml2.patch Patch8: knopflerfish-3.2.0-bundlerepository-bundle_manifest.patch Patch9: knopflerfish-3.2.0-jini-bundle_manifest.patch BuildRequires: java-devel BuildRequires: jpackage-utils BuildRequires: ant BuildRequires: apache-river BuildRequires: bindex BuildRequires: junit BuildRequires: kxml BuildRequires: microemulator BuildRequires: nanoxml BuildRequires: objectweb-asm BuildRequires: oscar BuildRequires: xalan-j2 BuildRequires: xerces-j2 BuildRequires: xml-commons-apis BuildRequires: xml-commons-resolver BuildRequires: xpp3 Requires: java Requires: jpackage-utils BuildArch: noarch %description The Knopflerfish OSGi framework is a complete, open source, OSGi R4 framework. %package framework Group: Development/Libraries Summary: Knopflerfish OSGi framework system bundle Requires: java Requires: jpackage-utils %description framework Knopflerfish OSGi framework system bundle. %package bundles Group: Development/Libraries Summary: Knopflerfish Libraries Requires: %{name}-framework = %{version}-%{release} %description bundles Knopflerfish libraries. %package javadoc Group: Documentation Summary: Javadoc for %{name} Requires: jpackage-utils Requires: %{name}-framework = %{version}-%{release} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n knopflerfish-%{version} -a 2 %patch0 -p0 %patch1 -p0 %patch2 -p0 %patch3 -p1 # replace non free javax.microedition.io.jar %patch4 -p0 %patch5 -p0 %patch6 -p0 %patch7 -p0 %patch8 -p0 %patch9 -p0 find -name "*.bat" -exec rm {} \; find -name "*.dll" -exec rm {} \; find -name "*.exe" -exec rm {} \; find -name "*.jar" -exec rm {} \; find -name "*.so" -exec rm {} \; find -name "*.zip" -exec rm {} \; ln -sf $(build-classpath microemulator/microemu-cldc) osgi/bundles/io/io/resources/ ln -sf $(build-classpath microemulator/microemu-midp) osgi/bundles/io/io/resources/ cp -pr %{SOURCE1} ant/lib/obr2html.xsl ln -sf $(build-classpath bindex) ant/lib/bindex.jar ln -sf $(build-classpath objectweb-asm/asm) osgi/framework/libs/asm-3.2.jar ln -sf $(build-classpath xalan-j2-serializer) osgi/bundles/xml/xerces/resources/serializer.jar ln -sf $(build-classpath xml-commons-apis) osgi/bundles/xml/xerces/resources/xml-apis.jar ln -sf $(build-classpath xml-commons-resolver) osgi/bundles/xml/xerces/resources/resolver.jar ln -sf $(build-classpath xerces-j2) osgi/bundles/xml/xerces/resources/xercesImpl.jar ln -sf $(build-classpath kxml) osgi/bundles/bundlerepository/resources/kxml-min.jar ln -sf $(build-classpath kxml) osgi/bundles/bundlerepository/resources/console_api.jar ln -sf $(build-classpath oscar/bundle/shell) osgi/bundles/bundlerepository/libs/oscar-shell_api-1.0.0.jar ln -sf $(build-classpath xpp3) osgi/bundles/xml/kxml/lib/xmlpull_1_1_3_1.jar ln -sf $(build-classpath nanoxml) osgi/bundles/metatype/kf_metatype/resources/nanoxml-2.2.1.jar ln -sf $(build-classpath xalan-j2) osgi/bundles/xml/xalan/resources/xalan.jar ln -sf $(build-classpath xml-commons-apis) osgi/bundles/xml/xalan/resources/xml-apis.jar ln -sf $(build-classpath kxml) osgi/bundles/component/resources/kxml2.jar ln -sf $(build-classpath junit) osgi/bundles_opt/junit/junit/resources/junit.jar ln -sf $(build-classpath apache-river/jini-core) osgi/bundles_opt/jini/jinidriver/resources/lib ln -sf $(build-classpath apache-river/jini-ext) osgi/bundles_opt/jini/jinidriver/resources/lib # osgi/bundles/xml/crimson/resources/crimson.jar sed -i 's|-install @crimson-N.N.N.jar@|#-install @crimson-N.N.N.jar@|' osgi/*.xargs* sed -i 's|-start @crimson-N.N.N.jar@|#-start @crimson-N.N.N.jar@|' osgi/*.xargs* sed -i 's|||' osgi/bundles/xml/build.xml sed -i 's|||' osgi/bundles_opt/build.xml # require rxtx sed -i 's|||' osgi/bundles_opt/build.xml sed -i 's|||' osgi/bundles_opt/build.xml # fix non ASCII chars for s in osgi/framework/src/org/osgi/framework/FrameworkUtil.java\ osgi/bundles_opt/jini/jinidriver/src/org/osgi/service/jini/JiniDriver.java;do native2ascii -encoding UTF8 ${s} ${s} done %build ( cd osgi ant -Dversion=%{version} all javadoc ) %install mkdir -p %{buildroot}%{_javadir}/%{name} install -pm 644 osgi/framework.jar %{buildroot}%{_javadir}/%{name}/ install -pm 644 osgi/jars/applicationadmin/applicationadmin_api-1.0.0.jar \ %{buildroot}%{_javadir}/%{name}/applicationadmin_api.jar install -pm 644 osgi/jars/blueprint/blueprint_api-1.0.0.jar \ %{buildroot}%{_javadir}/%{name}/blueprint_api.jar install -pm 644 osgi/jars/basicdriverlocator/basicdriverlocator-3.0.0.jar \ %{buildroot}%{_javadir}/%{name}/basicdriverlocator.jar install -pm 644 osgi/jars/basicdriverlocator/basicdriverlocator_all-3.0.0.jar \ %{buildroot}%{_javadir}/%{name}/basicdriverlocator_all.jar install -pm 644 osgi/jars/bundlerepository/bundlerepository_all-3.1.2.jar \ %{buildroot}%{_javadir}/%{name}/bundlerepository_all.jar install -pm 644 osgi/jars/cm/cm-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/cm.jar install -pm 644 osgi/jars/cm/cm_all-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/cm_all.jar install -pm 644 osgi/jars/cm/cm_api-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/cm_api.jar install -pm 644 osgi/jars/cm_cmd/cm_cmd-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/cm_cmd.jar install -pm 644 osgi/jars/cm_desktop/cm_desktop-3.0.0.jar \ %{buildroot}%{_javadir}/%{name}/cm_desktop.jar install -pm 644 osgi/jars/cm_desktop/cm_desktop_all-3.0.0.jar \ %{buildroot}%{_javadir}/%{name}/cm_desktop_all.jar install -pm 644 osgi/jars/command/command_all-0.1.jar \ %{buildroot}%{_javadir}/%{name}/command_all.jar install -pm 644 osgi/jars/command/command_api-0.1.jar \ %{buildroot}%{_javadir}/%{name}/command_api.jar install -pm 644 osgi/jars/commandtty/commandtty-2.0.0.jar \ %{buildroot}%{_javadir}/%{name}/commandtty.jar install -pm 644 osgi/jars/commons-logging/commons-logging_all-2.0.0.kf3.jar \ %{buildroot}%{_javadir}/%{name}/commons-logging_all.jar install -pm 644 osgi/jars/component/component_all-3.0.3.jar \ %{buildroot}%{_javadir}/%{name}/component_all.jar install -pm 644 osgi/jars/component/component_api-3.0.3.jar \ %{buildroot}%{_javadir}/%{name}/component_api.jar install -pm 644 osgi/jars/connectors/connectors-2.0.1.jar \ %{buildroot}%{_javadir}/%{name}/connectors.jar install -pm 644 osgi/jars/connectors/connectors_all-2.0.1.jar \ %{buildroot}%{_javadir}/%{name}/connectors_all.jar install -pm 644 osgi/jars/console/console-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/console.jar install -pm 644 osgi/jars/console/console_all-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/console_all.jar install -pm 644 osgi/jars/console/console_api-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/console_api.jar install -pm 644 osgi/jars/console2command/console2command-1.0.0.jar \ %{buildroot}%{_javadir}/%{name}/console2command.jar install -pm 644 osgi/jars/consoletcp/consoletcp-2.0.0.jar \ %{buildroot}%{_javadir}/%{name}/consoletcp.jar install -pm 644 osgi/jars/consoletcp/consoletcp_all-2.0.0.jar \ %{buildroot}%{_javadir}/%{name}/consoletcp_all.jar install -pm 644 osgi/jars/consoletelnet/consoletelnet-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/consoletelnet.jar install -pm 644 osgi/jars/consoletty/consoletty-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/consoletty.jar install -pm 644 osgi/jars/demo1/demo1-2.0.0.jar \ %{buildroot}%{_javadir}/%{name}/demo1.jar install -pm 644 osgi/jars/demo1/demo1_all-2.0.0.jar \ %{buildroot}%{_javadir}/%{name}/demo1_all.jar install -pm 644 osgi/jars/demo1/demo1_api-2.0.0.jar \ %{buildroot}%{_javadir}/%{name}/demo1_api.jar install -pm 644 osgi/jars/demo1client/demo1client-2.0.0.jar \ %{buildroot}%{_javadir}/%{name}/demo1client.jar install -pm 644 osgi/jars/demo1client/demo1client_all-2.0.0.jar \ %{buildroot}%{_javadir}/%{name}/demo1client_all.jar install -pm 644 osgi/jars/deploymentadmin/deploymentadmin_api-1.0.1.jar \ %{buildroot}%{_javadir}/%{name}/deploymentadmin_api.jar install -pm 644 osgi/jars/desktop/desktop-3.1.6.jar \ %{buildroot}%{_javadir}/%{name}/desktop.jar install -pm 644 osgi/jars/desktop/desktop_all-3.1.6.jar \ %{buildroot}%{_javadir}/%{name}/desktop_all.jar install -pm 644 osgi/jars/desktop/desktop_api-3.1.6.jar \ %{buildroot}%{_javadir}/%{name}/desktop_api.jar install -pm 644 osgi/jars/desktop_jvm/desktop_jvm-1.0.0.jar \ %{buildroot}%{_javadir}/%{name}/desktop_jvm.jar install -pm 644 osgi/jars/desktop_jvm/desktop_jvm_all-1.0.0.jar \ %{buildroot}%{_javadir}/%{name}/desktop_jvm_all.jar install -pm 644 osgi/jars/device/device-3.0.0.jar \ %{buildroot}%{_javadir}/%{name}/device.jar install -pm 644 osgi/jars/device/device_all-3.0.0.jar \ %{buildroot}%{_javadir}/%{name}/device_all.jar install -pm 644 osgi/jars/device/device_api-3.0.0.jar \ %{buildroot}%{_javadir}/%{name}/device_api.jar install -pm 644 osgi/jars/dirdeployer/dirdeployer_all-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/dirdeployer_all.jar install -pm 644 osgi/jars/dirdeployer/dirdeployer_api-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/dirdeployer_api.jar install -pm 644 osgi/jars/dmtree/dmtree_api-1.0.1.jar \ %{buildroot}%{_javadir}/%{name}/dmtree_api.jar install -pm 644 osgi/jars/event/event_all-3.0.4.jar \ %{buildroot}%{_javadir}/%{name}/event_all.jar install -pm 644 osgi/jars/event/event_api-3.0.4.jar \ %{buildroot}%{_javadir}/%{name}/event_api.jar install -pm 644 osgi/jars/foreignapplication/foreignapplication_api-1.0.0.jar \ %{buildroot}%{_javadir}/%{name}/foreignapplication_api.jar install -pm 644 osgi/jars/frameworkcommands/frameworkcommands-3.0.3.jar \ %{buildroot}%{_javadir}/%{name}/frameworkcommands.jar install -pm 644 osgi/jars/http/http-3.0.5.jar \ %{buildroot}%{_javadir}/%{name}/http.jar install -pm 644 osgi/jars/http/http_all-3.0.5.jar \ %{buildroot}%{_javadir}/%{name}/http_all.jar install -pm 644 osgi/jars/http/http_api-3.0.5.jar \ %{buildroot}%{_javadir}/%{name}/http_api.jar install -pm 644 osgi/jars/httpconsole/httpconsole-3.0.2.jar \ %{buildroot}%{_javadir}/%{name}/httpconsole.jar install -pm 644 osgi/jars/httpconsole/httpconsole_all-3.0.2.jar \ %{buildroot}%{_javadir}/%{name}/httpconsole_all.jar install -pm 644 osgi/jars/httproot/httproot-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/httproot.jar install -pm 644 osgi/jars/io/io_all-3.0.0.jar \ %{buildroot}%{_javadir}/%{name}/io_all.jar install -pm 644 osgi/jars/io/io_api-3.0.0.jar \ %{buildroot}%{_javadir}/%{name}/io_api.jar install -pm 644 osgi/jars/jinidriver/jinidriver_all-0.1.0.jar \ %{buildroot}%{_javadir}/%{name}/jinidriver_all.jar install -pm 644 osgi/jars/jsdk/jsdk_api-2.5.0.kf3.jar \ %{buildroot}%{_javadir}/%{name}/jsdk_api.jar install -pm 644 osgi/jars/junit/junit_all-3.0.0.jar \ %{buildroot}%{_javadir}/%{name}/junit_all.jar install -pm 644 osgi/jars/junit_runner/junit_runner_all-3.0.0.jar \ %{buildroot}%{_javadir}/%{name}/junit_runner_all.jar install -pm 644 osgi/jars/kf_metatype/kf_metatype-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/kf_metatype.jar install -pm 644 osgi/jars/kf_metatype/kf_metatype_all-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/kf_metatype_all.jar install -pm 644 osgi/jars/kxml/kxml-2.3.0.kf3.jar \ %{buildroot}%{_javadir}/%{name}/kxml.jar install -pm 644 osgi/jars/log/log-3.0.5.jar \ %{buildroot}%{_javadir}/%{name}/log.jar install -pm 644 osgi/jars/log/log_all-3.0.5.jar \ %{buildroot}%{_javadir}/%{name}/log_all.jar install -pm 644 osgi/jars/log/log_api-3.0.5.jar \ %{buildroot}%{_javadir}/%{name}/log_api.jar install -pm 644 osgi/jars/logcommands/logcommands-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/logcommands.jar install -pm 644 osgi/jars/measurement/measurement-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/measurement.jar install -pm 644 osgi/jars/metatype/metatype-3.0.0.jar \ %{buildroot}%{_javadir}/%{name}/metatype.jar install -pm 644 osgi/jars/monitor/monitor_api-1.0.0.jar \ %{buildroot}%{_javadir}/%{name}/monitor_api.jar install -pm 644 osgi/jars/oscar-shell/oscar-shell_all-1.0.1.jar \ %{buildroot}%{_javadir}/%{name}/oscar-shell_all.jar install -pm 644 osgi/jars/oscar-shell/oscar-shell_api-1.0.1.jar \ %{buildroot}%{_javadir}/%{name}/oscar-shell_api.jar install -pm 644 osgi/jars/position/position-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/position.jar install -pm 644 osgi/jars/prefs/prefs_all-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/prefs_all.jar install -pm 644 osgi/jars/prefs/prefs_api-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/prefs_api.jar install -pm 644 osgi/jars/provisioning/provisioning_api-3.0.0.jar \ %{buildroot}%{_javadir}/%{name}/provisioning_api.jar install -pm 644 osgi/jars/remotefw/remotefw_api-2.0.0.jar \ %{buildroot}%{_javadir}/%{name}/remotefw_api.jar install -pm 644 osgi/jars/sslj2sp/sslj2sp-2.0.0.jar \ %{buildroot}%{_javadir}/%{name}/sslj2sp.jar install -pm 644 osgi/jars/threadio/threadio-0.1.0.jar \ %{buildroot}%{_javadir}/%{name}/threadio.jar install -pm 644 osgi/jars/threadio/threadio_all-0.1.0.jar \ %{buildroot}%{_javadir}/%{name}/threadio_all.jar install -pm 644 osgi/jars/threadio/threadio_api-0.1.0.jar \ %{buildroot}%{_javadir}/%{name}/threadio_api.jar install -pm 644 osgi/jars/trayicon_fw/trayicon_fw-3.0.2.jar \ %{buildroot}%{_javadir}/%{name}/trayicon_fw.jar install -pm 644 osgi/jars/upnp/upnp_api-3.0.0.jar \ %{buildroot}%{_javadir}/%{name}/upnp_api.jar install -pm 644 osgi/jars/useradmin/useradmin-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/useradmin.jar install -pm 644 osgi/jars/useradmin/useradmin_all-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/useradmin_all.jar install -pm 644 osgi/jars/useradmin/useradmin_api-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/useradmin_api.jar install -pm 644 osgi/jars/util/util-2.0.1.jar \ %{buildroot}%{_javadir}/%{name}/util.jar install -pm 644 osgi/jars/wireadmin/wireadmin_api-3.0.0.jar \ %{buildroot}%{_javadir}/%{name}/wireadmin_api.jar install -pm 644 osgi/jars/xalan/xalan-2.7.1.kf3_01.jar \ %{buildroot}%{_javadir}/%{name}/xalan.jar install -pm 644 osgi/jars/xerces/xerces-2.10.1.kf3.jar \ %{buildroot}%{_javadir}/%{name}/xerces.jar install -pm 644 osgi/jars/xml/xml-3.0.1.jar \ %{buildroot}%{_javadir}/%{name}/xml.jar mkdir -p %{buildroot}%{_mavenpomdir} install -pm 644 %{name}-%{version}-poms/framework-5.1.14.pom %{buildroot}%{_mavenpomdir}/JPP.%{name}-framework.pom %add_maven_depmap -f framework JPP.%{name}-framework.pom %{name}/framework.jar -a "knopflerfish:framework" install -pm 644 %{name}-%{version}-poms/applicationadmin-API-1.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-applicationadmin_api.pom %add_maven_depmap -f bundles JPP.%{name}-applicationadmin_api.pom %{name}/applicationadmin_api.jar install -pm 644 %{name}-%{version}-poms/basicdriverlocator-3.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-basicdriverlocator_all.pom %add_maven_depmap -f bundles JPP.%{name}-basicdriverlocator_all.pom %{name}/basicdriverlocator_all.jar install -pm 644 %{name}-%{version}-poms/basicdriverlocator-IMPL-3.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-basicdriverlocator.pom %add_maven_depmap -f bundles JPP.%{name}-basicdriverlocator.pom %{name}/basicdriverlocator.jar install -pm 644 %{name}-%{version}-poms/blueprint-API-1.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-blueprint_api.pom %add_maven_depmap -f bundles JPP.%{name}-blueprint_api.pom %{name}/blueprint_api.jar install -pm 644 %{name}-%{version}-poms/blueprint-API-1.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-blueprint_api.pom %add_maven_depmap -f bundles JPP.%{name}-blueprint_api.pom %{name}/blueprint_api.jar # TODO remove internal kxml jar install -pm 644 %{name}-%{version}-poms/bundlerepository-3.1.2.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-bundlerepository_all.pom %add_maven_depmap -f bundles JPP.%{name}-bundlerepository_all.pom %{name}/bundlerepository_all.jar install -pm 644 %{name}-%{version}-poms/cm-IMPL-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-cm.pom %add_maven_depmap -f bundles JPP.%{name}-cm.pom %{name}/cm.jar install -pm 644 %{name}-%{version}-poms/cm-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-cm_all.pom %add_maven_depmap -f bundles JPP.%{name}-cm_all.pom %{name}/cm_all.jar install -pm 644 %{name}-%{version}-poms/cm-API-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-cm_api.pom %add_maven_depmap -f bundles JPP.%{name}-cm_api.pom %{name}/cm_api.jar install -pm 644 %{name}-%{version}-poms/cm_desktop-IMPL-3.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-cm_desktop.pom %add_maven_depmap -f bundles JPP.%{name}-cm_desktop.pom %{name}/cm_desktop.jar install -pm 644 %{name}-%{version}-poms/cm_desktop-3.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-cm_desktop_all.pom %add_maven_depmap -f bundles JPP.%{name}-cm_desktop_all.pom %{name}/cm_desktop_all.jar install -pm 644 %{name}-%{version}-poms/command-0.1.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-command_all.pom %add_maven_depmap -f bundles JPP.%{name}-command_all.pom %{name}/command_all.jar install -pm 644 %{name}-%{version}-poms/command-API-0.1.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-command_api.pom %add_maven_depmap -f bundles JPP.%{name}-command_api.pom %{name}/command_api.jar install -pm 644 %{name}-%{version}-poms/commandtty-IMPL-2.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-commandtty.pom %add_maven_depmap -f bundles JPP.%{name}-commandtty.pom %{name}/commandtty.jar install -pm 644 %{name}-%{version}-poms/commons-logging-2.0.0.kf3.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-commons-logging_all.pom %add_maven_depmap -f bundles JPP.%{name}-commons-logging_all.pom %{name}/commons-logging_all.jar # TODO remove internal kxml jar install -pm 644 %{name}-%{version}-poms/component-3.0.3.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-component_all.pom %add_maven_depmap -f bundles JPP.%{name}-component_all.pom %{name}/component_all.jar install -pm 644 %{name}-%{version}-poms/component-API-3.0.3.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-component_api.pom %add_maven_depmap -f bundles JPP.%{name}-component_api.pom %{name}/component_api.jar install -pm 644 %{name}-%{version}-poms/connectors-2.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-connectors_all.pom %add_maven_depmap -f bundles JPP.%{name}-connectors_all.pom %{name}/connectors_all.jar install -pm 644 %{name}-%{version}-poms/connectors-IMPL-2.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-connectors.pom %add_maven_depmap -f bundles JPP.%{name}-connectors.pom %{name}/connectors.jar install -pm 644 %{name}-%{version}-poms/console-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-console_all.pom %add_maven_depmap -f bundles JPP.%{name}-console_all.pom %{name}/console_all.jar install -pm 644 %{name}-%{version}-poms/console-API-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-console_api.pom %add_maven_depmap -f bundles JPP.%{name}-console_api.pom %{name}/console_api.jar install -pm 644 %{name}-%{version}-poms/console-IMPL-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-console.pom %add_maven_depmap -f bundles JPP.%{name}-console.pom %{name}/console.jar install -pm 644 %{name}-%{version}-poms/console2command-IMPL-1.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-console2command.pom %add_maven_depmap -f bundles JPP.%{name}-console2command.pom %{name}/console2command.jar install -pm 644 %{name}-%{version}-poms/consoletcp-IMPL-2.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-consoletcp.pom %add_maven_depmap -f bundles JPP.%{name}-consoletcp.pom %{name}/consoletcp.jar install -pm 644 %{name}-%{version}-poms/consoletcp-2.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-consoletcp_all.pom %add_maven_depmap -f bundles JPP.%{name}-consoletcp_all.pom %{name}/consoletcp_all.jar install -pm 644 %{name}-%{version}-poms/consoletelnet-IMPL-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-consoletelnet.pom %add_maven_depmap -f bundles JPP.%{name}-consoletelnet.pom %{name}/consoletelnet.jar install -pm 644 %{name}-%{version}-poms/consoletty-IMPL-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-consoletty.pom %add_maven_depmap -f bundles JPP.%{name}-consoletty.pom %{name}/consoletty.jar install -pm 644 %{name}-%{version}-poms/demo1-IMPL-2.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-demo1.pom %add_maven_depmap -f bundles JPP.%{name}-demo1.pom %{name}/demo1.jar install -pm 644 %{name}-%{version}-poms/demo1-2.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-demo1_all.pom %add_maven_depmap -f bundles JPP.%{name}-demo1_all.pom %{name}/demo1_all.jar install -pm 644 %{name}-%{version}-poms/demo1-API-2.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-demo1_api.pom %add_maven_depmap -f bundles JPP.%{name}-demo1_api.pom %{name}/demo1_api.jar install -pm 644 %{name}-%{version}-poms/demo1client-2.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-demo1client_all.pom %add_maven_depmap -f bundles JPP.%{name}-demo1client_all.pom %{name}/demo1client_all.jar install -pm 644 %{name}-%{version}-poms/demo1client-IMPL-2.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-demo1client.pom %add_maven_depmap -f bundles JPP.%{name}-demo1client.pom %{name}/demo1client.jar install -pm 644 %{name}-%{version}-poms/deploymentadmin-API-1.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-deploymentadmin_api.pom %add_maven_depmap -f bundles JPP.%{name}-deploymentadmin_api.pom %{name}/deploymentadmin_api.jar install -pm 644 %{name}-%{version}-poms/desktop-3.1.6.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-desktop_all.pom %add_maven_depmap -f bundles JPP.%{name}-desktop_all.pom %{name}/desktop_all.jar install -pm 644 %{name}-%{version}-poms/desktop-API-3.1.6.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-desktop_api.pom %add_maven_depmap -f bundles JPP.%{name}-desktop_api.pom %{name}/desktop_api.jar install -pm 644 %{name}-%{version}-poms/desktop-IMPL-3.1.6.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-desktop.pom %add_maven_depmap -f bundles JPP.%{name}-desktop.pom %{name}/desktop.jar install -pm 644 %{name}-%{version}-poms/desktop_jvm-1.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-desktop_jvm_all.pom %add_maven_depmap -f bundles JPP.%{name}-desktop_jvm_all.pom %{name}/desktop_jvm_all.jar install -pm 644 %{name}-%{version}-poms/desktop_jvm-IMPL-1.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-desktop_jvm.pom %add_maven_depmap -f bundles JPP.%{name}-desktop_jvm.pom %{name}/desktop_jvm.jar install -pm 644 %{name}-%{version}-poms/device-3.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-device_all.pom %add_maven_depmap -f bundles JPP.%{name}-device_all.pom %{name}/device_all.jar install -pm 644 %{name}-%{version}-poms/device-API-3.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-device_api.pom %add_maven_depmap -f bundles JPP.%{name}-device_api.pom %{name}/device_api.jar install -pm 644 %{name}-%{version}-poms/device-IMPL-3.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-device.pom %add_maven_depmap -f bundles JPP.%{name}-device.pom %{name}/device.jar install -pm 644 %{name}-%{version}-poms/dirdeployer-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-dirdeployer_all.pom %add_maven_depmap -f bundles JPP.%{name}-dirdeployer_all.pom %{name}/dirdeployer_all.jar install -pm 644 %{name}-%{version}-poms/dirdeployer-API-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-dirdeployer_api.pom %add_maven_depmap -f bundles JPP.%{name}-dirdeployer_api.pom %{name}/dirdeployer_api.jar install -pm 644 %{name}-%{version}-poms/dmtree-API-1.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-dmtree_api.pom %add_maven_depmap -f bundles JPP.%{name}-dmtree_api.pom %{name}/dmtree_api.jar install -pm 644 %{name}-%{version}-poms/event-3.0.4.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-event_all.pom %add_maven_depmap -f bundles JPP.%{name}-event_all.pom %{name}/event_all.jar install -pm 644 %{name}-%{version}-poms/event-API-3.0.4.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-event_api.pom %add_maven_depmap -f bundles JPP.%{name}-event_api.pom %{name}/event_api.jar install -pm 644 %{name}-%{version}-poms/foreignapplication-API-1.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-foreignapplication_api.pom %add_maven_depmap -f bundles JPP.%{name}-foreignapplication_api.pom %{name}/foreignapplication_api.jar install -pm 644 %{name}-%{version}-poms/frameworkcommands-IMPL-3.0.3.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-frameworkcommands.pom %add_maven_depmap -f bundles JPP.%{name}-frameworkcommands.pom %{name}/frameworkcommands.jar install -pm 644 %{name}-%{version}-poms/http-3.0.5.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-http_all.pom %add_maven_depmap -f bundles JPP.%{name}-http_all.pom %{name}/http_all.jar install -pm 644 %{name}-%{version}-poms/http-API-3.0.5.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-http_api.pom %add_maven_depmap -f bundles JPP.%{name}-http_api.pom %{name}/http_api.jar install -pm 644 %{name}-%{version}-poms/http-IMPL-3.0.5.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-http.pom %add_maven_depmap -f bundles JPP.%{name}-http.pom %{name}/http.jar install -pm 644 %{name}-%{version}-poms/httpconsole-3.0.2.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-httpconsole_all.pom %add_maven_depmap -f bundles JPP.%{name}-httpconsole_all.pom %{name}/httpconsole_all.jar install -pm 644 %{name}-%{version}-poms/httpconsole-IMPL-3.0.2.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-httpconsole.pom %add_maven_depmap -f bundles JPP.%{name}-httpconsole.pom %{name}/httpconsole.jar install -pm 644 %{name}-%{version}-poms/httproot-IMPL-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-httproot.pom %add_maven_depmap -f bundles JPP.%{name}-httproot.pom %{name}/httproot.jar # TODO remove internal microemulator jars install -pm 644 %{name}-%{version}-poms/io-3.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-io_all.pom %add_maven_depmap -f bundles JPP.%{name}-io_all.pom %{name}/io_all.jar install -pm 644 %{name}-%{version}-poms/io-API-3.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-io_api.pom %add_maven_depmap -f bundles JPP.%{name}-io_api.pom %{name}/io_api.jar # TODO remove internal jini jar install -pm 644 %{name}-%{version}-poms/jinidriver-0.1.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-jinidriver_all.pom %add_maven_depmap -f bundles JPP.%{name}-jinidriver_all.pom %{name}/jinidriver_all.jar install -pm 644 %{name}-%{version}-poms/jsdk-API-2.5.0.kf3.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-jsdk_api.pom %add_maven_depmap -f bundles JPP.%{name}-jsdk_api.pom %{name}/jsdk_api.jar # TODO remove internal junit jar install -pm 644 %{name}-%{version}-poms/junit-3.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-junit_all.pom %add_maven_depmap -f bundles JPP.%{name}-junit_all.pom %{name}/junit_all.jar install -pm 644 %{name}-%{version}-poms/junit_runner-3.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-junit_runner_all.pom %add_maven_depmap -f bundles JPP.%{name}-junit_runner_all.pom %{name}/junit_runner_all.jar # TODO remove internal nanoxml jar install -pm 644 %{name}-%{version}-poms/kf_metatype-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-kf_metatype_all.pom %add_maven_depmap -f bundles JPP.%{name}-kf_metatype_all.pom %{name}/kf_metatype_all.jar # TODO remove internal nanoxml jar install -pm 644 %{name}-%{version}-poms/kf_metatype-LIB-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-kf_metatype.pom %add_maven_depmap -f bundles JPP.%{name}-kf_metatype.pom %{name}/kf_metatype.jar install -pm 644 %{name}-%{version}-poms/kxml-LIB-2.3.0.kf3.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-kxml.pom %add_maven_depmap -f bundles JPP.%{name}-kxml.pom %{name}/kxml.jar install -pm 644 %{name}-%{version}-poms/log-3.0.5.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-log_all.pom %add_maven_depmap -f bundles JPP.%{name}-log_all.pom %{name}/log_all.jar install -pm 644 %{name}-%{version}-poms/log-API-3.0.5.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-log_api.pom %add_maven_depmap -f bundles JPP.%{name}-log_api.pom %{name}/log_api.jar install -pm 644 %{name}-%{version}-poms/log-IMPL-3.0.5.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-log.pom %add_maven_depmap -f bundles JPP.%{name}-log.pom %{name}/log.jar install -pm 644 %{name}-%{version}-poms/logcommands-IMPL-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-logcommands.pom %add_maven_depmap -f bundles JPP.%{name}-logcommands.pom %{name}/logcommands.jar install -pm 644 %{name}-%{version}-poms/measurement-LIB-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-measurement.pom %add_maven_depmap -f bundles JPP.%{name}-measurement.pom %{name}/measurement.jar install -pm 644 %{name}-%{version}-poms/metatype-LIB-3.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-metatype.pom %add_maven_depmap -f bundles JPP.%{name}-metatype.pom %{name}/metatype.jar install -pm 644 %{name}-%{version}-poms/monitor-API-1.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-monitor_api.pom %add_maven_depmap -f bundles JPP.%{name}-monitor_api.pom %{name}/monitor_api.jar install -pm 644 %{name}-%{version}-poms/oscar-shell-1.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-oscar-shell_all.pom %add_maven_depmap -f bundles JPP.%{name}-oscar-shell_all.pom %{name}/oscar-shell_all.jar install -pm 644 %{name}-%{version}-poms/oscar-shell-API-1.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-oscar-shell_api.pom %add_maven_depmap -f bundles JPP.%{name}-oscar-shell_api.pom %{name}/oscar-shell_api.jar install -pm 644 %{name}-%{version}-poms/position-LIB-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-position.pom %add_maven_depmap -f bundles JPP.%{name}-position.pom %{name}/position.jar install -pm 644 %{name}-%{version}-poms/prefs-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-prefs_all.pom %add_maven_depmap -f bundles JPP.%{name}-prefs_all.pom %{name}/prefs_all.jar install -pm 644 %{name}-%{version}-poms/prefs-API-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-prefs_api.pom %add_maven_depmap -f bundles JPP.%{name}-prefs_api.pom %{name}/prefs_api.jar install -pm 644 %{name}-%{version}-poms/provisioning-API-3.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-provisioning_api.pom %add_maven_depmap -f bundles JPP.%{name}-provisioning_api.pom %{name}/provisioning_api.jar install -pm 644 %{name}-%{version}-poms/remotefw-API-2.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-remotefw_api.pom %add_maven_depmap -f bundles JPP.%{name}-remotefw_api.pom %{name}/remotefw_api.jar install -pm 644 %{name}-%{version}-poms/sslj2sp-IMPL-2.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-sslj2sp.pom %add_maven_depmap -f bundles JPP.%{name}-sslj2sp.pom %{name}/sslj2sp.jar install -pm 644 %{name}-%{version}-poms/threadio-0.1.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-threadio_all.pom %add_maven_depmap -f bundles JPP.%{name}-threadio_all.pom %{name}/threadio_all.jar install -pm 644 %{name}-%{version}-poms/threadio-API-0.1.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-threadio_api.pom %add_maven_depmap -f bundles JPP.%{name}-threadio_api.pom %{name}/threadio_api.jar install -pm 644 %{name}-%{version}-poms/threadio-IMPL-0.1.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-threadio.pom %add_maven_depmap -f bundles JPP.%{name}-threadio.pom %{name}/threadio.jar install -pm 644 %{name}-%{version}-poms/trayicon_fw-3.0.2.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-trayicon_fw.pom %add_maven_depmap -f bundles JPP.%{name}-trayicon_fw.pom %{name}/trayicon_fw.jar install -pm 644 %{name}-%{version}-poms/upnp-API-3.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-upnp_api.pom %add_maven_depmap -f bundles JPP.%{name}-upnp_api.pom %{name}/upnp_api.jar install -pm 644 %{name}-%{version}-poms/useradmin-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-useradmin_all.pom %add_maven_depmap -f bundles JPP.%{name}-useradmin_all.pom %{name}/useradmin_all.jar install -pm 644 %{name}-%{version}-poms/useradmin-API-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-useradmin_api.pom %add_maven_depmap -f bundles JPP.%{name}-useradmin_api.pom %{name}/useradmin_api.jar install -pm 644 %{name}-%{version}-poms/useradmin-IMPL-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-useradmin.pom %add_maven_depmap -f bundles JPP.%{name}-useradmin.pom %{name}/useradmin.jar install -pm 644 %{name}-%{version}-poms/util-LIB-2.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-util.pom %add_maven_depmap -f bundles JPP.%{name}-util.pom %{name}/util.jar install -pm 644 %{name}-%{version}-poms/wireadmin-API-3.0.0.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-wireadmin_api.pom %add_maven_depmap -f bundles JPP.%{name}-wireadmin_api.pom %{name}/wireadmin_api.jar # TODO remove internal xml jars install -pm 644 %{name}-%{version}-poms/xalan-2.7.1.kf3_01.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-xalan.pom %add_maven_depmap -f bundles JPP.%{name}-xalan.pom %{name}/xalan.jar # TODO remove internal xml jars install -pm 644 %{name}-%{version}-poms/xerces-2.10.1.kf3.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-xerces.pom %add_maven_depmap -f bundles JPP.%{name}-xerces.pom %{name}/xerces.jar install -pm 644 %{name}-%{version}-poms/xml-LIB-3.0.1.pom \ %{buildroot}%{_mavenpomdir}/JPP.%{name}-xml.pom %add_maven_depmap -f bundles JPP.%{name}-xml.pom %{name}/xml.jar mkdir -p %{buildroot}%{_javadocdir}/%{name} cp -rp osgi/out/javadoc/* %{buildroot}%{_javadocdir}/%{name} %files framework %{_javadir}/%{name}/framework.jar %{_mavenpomdir}/JPP.%{name}-framework.pom %{_mavendepmapfragdir}/%{name}-framework %doc LICENSE.txt NOTICE.txt README.txt changelog.txt %files bundles %{_javadir}/%{name}/a*.jar %{_javadir}/%{name}/b*.jar %{_javadir}/%{name}/c*.jar %{_javadir}/%{name}/d*.jar %{_javadir}/%{name}/e*.jar %{_javadir}/%{name}/fo*.jar %{_javadir}/%{name}/frameworkcommands.jar %{_javadir}/%{name}/h*.jar %{_javadir}/%{name}/i*.jar %{_javadir}/%{name}/j*.jar %{_javadir}/%{name}/k*.jar %{_javadir}/%{name}/l*.jar %{_javadir}/%{name}/m*.jar %{_javadir}/%{name}/o*.jar %{_javadir}/%{name}/p*.jar %{_javadir}/%{name}/r*.jar %{_javadir}/%{name}/s*.jar %{_javadir}/%{name}/t*.jar %{_javadir}/%{name}/u*.jar %{_javadir}/%{name}/w*.jar %{_javadir}/%{name}/x*.jar %{_mavenpomdir}/JPP.%{name}-a*.pom %{_mavenpomdir}/JPP.%{name}-b*.pom %{_mavenpomdir}/JPP.%{name}-c*.pom %{_mavenpomdir}/JPP.%{name}-d*.pom %{_mavenpomdir}/JPP.%{name}-e*.pom %{_mavenpomdir}/JPP.%{name}-fo*.pom %{_mavenpomdir}/JPP.%{name}-frameworkcommands.pom %{_mavenpomdir}/JPP.%{name}-h*.pom %{_mavenpomdir}/JPP.%{name}-i*.pom %{_mavenpomdir}/JPP.%{name}-j*.pom %{_mavenpomdir}/JPP.%{name}-k*.pom %{_mavenpomdir}/JPP.%{name}-l*.pom %{_mavenpomdir}/JPP.%{name}-m*.pom %{_mavenpomdir}/JPP.%{name}-o*.pom %{_mavenpomdir}/JPP.%{name}-p*.pom %{_mavenpomdir}/JPP.%{name}-r*.pom %{_mavenpomdir}/JPP.%{name}-s*.pom %{_mavenpomdir}/JPP.%{name}-t*.pom %{_mavenpomdir}/JPP.%{name}-u*.pom %{_mavenpomdir}/JPP.%{name}-w*.pom %{_mavenpomdir}/JPP.%{name}-x*.pom %{_mavendepmapfragdir}/%{name}-bundles %doc LICENSE.txt %files javadoc %{_javadocdir}/%{name} %doc LICENSE.txt %changelog * Tue Mar 27 2012 gil cattaneo 3.2.0-1 - initial rpm