diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a31251a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/core.specs.alpha-0.1.24.zip diff --git a/clojure-core-specs-alpha.spec b/clojure-core-specs-alpha.spec new file mode 100644 index 0000000..841ae89 --- /dev/null +++ b/clojure-core-specs-alpha.spec @@ -0,0 +1,50 @@ +%global project clojure +%global artifactId core.specs.alpha +%global archivename %{artifactId}-%{artifactId} +%global full_version %{version} + +Name: clojure-core-specs-alpha +Epoch: 1 +Version: 0.1.24 +Release: 1%{?dist} +Summary: Clojure library containing specs to describe Clojure core macros and functions + +Group: Development/Languages +License: EPL-1.0 +URL: https://github.com/%{project}/%{artifactId} +Source0: %{URL}/archive/%{artifactId}-%{full_version}.zip + +BuildArch: noarch + +BuildRequires: maven-local +BuildRequires: java-devel >= 1:1.8.0 +BuildRequires: clojure-maven-plugin >= 1.8.1 +BuildRequires: clojure-spec-alpha >= 1:0.1.134 +BuildRequires: clojure >= 1:1.9.0-0.alpha15.1 +Requires: clojure >= 1:1.9.0-0.alpha15.1 + + +%description +Core.specs.alpha is a Clojure library containing specs to describe Clojure +core macros and functions. + +%prep +%setup -q -n %{archivename}-%{full_version} +# Remove unpackaged parent pom and add the required groupId +%pom_remove_parent pom.xml +%pom_xpath_inject pom:project "org.clojure" + + +%build +%mvn_build -f + +%install +%mvn_install + +%files -f .mfiles +%license epl-v10.html +%doc epl-v10.html CHANGES.md README.md CONTRIBUTING.md + +%changelog +* Sun Apr 05 2020 Markku Korkeala - 1:0.1.24-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..c99033b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (core.specs.alpha-0.1.24.zip) = 50695c950c15136c8aa58c3f3ad3e3a0223fb6b5846083096316c1c13e083a2e09db5e001a92bdbc77c5d6f14ef551c3d3b583b4cb8bdb81e43dfaf301750f9c