diff --git a/rxjava-1.1.8.pom b/rxjava-1.1.8.pom new file mode 100644 index 0000000..e2f1aff --- /dev/null +++ b/rxjava-1.1.8.pom @@ -0,0 +1,51 @@ + + + 4.0.0 + io.reactivex + rxjava + 1.1.8 + rxjava + rxjava + + + benjchristensen + Ben Christensen + benjchristensen@netflix.com + + + + 1.0 + io.reactivex#rxjava;1.1.8 + 1.1.8 + integration + travis + Linux + 2016-07-23_07:38:31 + 2.14 + benjchristensen@netflix.com + benjchristensen@netflix.com + + https://github.com/ReactiveX/RxJava.git + 2284d4f + 2284d4ffad2c063e9478b7b685b350fc2c0d49a3 + testing-worker-linux-docker-5a192edc-3390-linux-8 + LOCAL + LOCAL + LOCAL + 1.7.0_76-b13 (Oracle Corporation) + 1.7.0_76 + 1.6 + 1.6 + + https://github.com/ReactiveX/RxJava + + https://github.com/ReactiveX/RxJava.git + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + diff --git a/rxjava-1.1.8.tar.gz b/rxjava-1.1.8.tar.gz new file mode 100644 index 0000000..35a935e Binary files /dev/null and b/rxjava-1.1.8.tar.gz differ diff --git a/rxjava.spec b/rxjava.spec new file mode 100644 index 0000000..a589917 --- /dev/null +++ b/rxjava.spec @@ -0,0 +1,92 @@ +%bcond_with checker +Name: rxjava +Version: 1.1.8 +Release: 1 +Summary: Reactive Extensions for the JVM +License: ASL 2.0 +URL: https://github.com/ReactiveX/RxJava +Source0: https://github.com/ReactiveX/RxJava/archive/v%{version}/rxjava-%{version}.tar.gz +Source1: https://repo1.maven.org/maven2/io/reactivex/rxjava/1.1.8/rxjava-1.1.8.pom + +BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin) +%if %{with checker} +BuildRequires: mvn(com.google.guava:guava) +BuildRequires: mvn(com.pushtorefresh.java-private-constructor-checker:checker) +BuildRequires: mvn(junit:junit) mvn(org.mockito:mockito-core) +%endif +Provides: bundled(jctools-core) = 1.2-SNAPSHOT +BuildArch: noarch +%description +RxJava a library for composing asynchronous and +event-based programs using observable sequences +for the Java VM. + +%package javadoc +Summary: Javadoc for %{name} +%description javadoc +This package contains javadoc for %{name}. + +%prep +%setup -q -n RxJava-%{version} +find . -name '*.class' -print -delete +find . -name '*.jar' -print -delete +cp -p %{SOURCE1} pom.xml +%pom_xpath_inject "pom:project" "bundle" +%pom_add_plugin org.apache.felix:maven-bundle-plugin:2.3.7 . ' +true + + + io.reactivex.rxjava + ${project.name} + ReactiveX + ${project.version} + + + + + bundle-manifest + process-classes + + manifest + + +' +%pom_add_plugin org.apache.maven.plugins:maven-javadoc-plugin:2.9.1 . ' + + *.internal.* +' +%if %{with checker} +%pom_add_dep junit:junit:4.12:test +%pom_add_dep org.mockito:mockito-core:1.10.19:test +%pom_add_dep com.google.guava:guava:19.0:test +%pom_add_dep com.pushtorefresh.java-private-constructor-checker:checker:1.2.0:test +rm src/test/java/rx/internal/operators/OperatorMergeMaxConcurrentTest.java \ + src/test/java/rx/internal/operators/OperatorMergeTest.java \ + src/test/java/rx/internal/operators/OperatorPublishTest.java \ + src/test/java/rx/internal/operators/OperatorRepeatTest.java \ + src/test/java/rx/internal/operators/OperatorRetryTest.java \ + src/test/java/rx/subjects/ReplaySubjectBoundedConcurrencyTest.java \ + src/test/java/rx/subjects/ReplaySubjectConcurrencyTest.java +rm src/test/java/rx/internal/operators/OperatorRetryWithPredicateTest.java +%endif +%mvn_file io.reactivex:%{name} %{name} + +%build +%if %{without checker} +opts="-f" +%endif +%mvn_build $opts -- -Dproject.build.sourceEncoding=UTF-8 + +%install +%mvn_install + +%files -f .mfiles +%doc CHANGES.md README.md +%license LICENSE + +%files javadoc -f .mfiles-javadoc +%license LICENSE + +%changelog +* Tue Aug 4 2020 shaoqiang kang - 1.1.8-1 +- Package init diff --git a/rxjava.yaml b/rxjava.yaml new file mode 100644 index 0000000..5fced22 --- /dev/null +++ b/rxjava.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/ReactiveX/Rxjava +version_control: github +src_repo: ReactiveX/Rxjava +tag_prefix: "v" +seperator: "."