public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/autolink-java] epel10: Initial RPM
@ 2026-07-16 21:33 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-16 21:33 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/autolink-java
Branch : epel10
Commit : 7504b7d5228c29681a16f4517d07f0ead8273134
Author : Jerry James <loganjerry@gmail.com>
Date : 2023-08-29T15:49:42-06:00
Stats : +49/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/autolink-java/c/7504b7d5228c29681a16f4517d07f0ead8273134?branch=epel10
Log:
Initial RPM
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..74c6152
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/autolink-*.tar.gz
diff --git a/autolink-java.spec b/autolink-java.spec
new file mode 100644
index 0000000..a3d024e
--- /dev/null
+++ b/autolink-java.spec
@@ -0,0 +1,47 @@
+Name: autolink-java
+Version: 0.11.0
+Release: %autorelease
+Summary: Java library to extract links from plain text
+
+License: MIT
+URL: https://github.com/robinst/autolink-java
+Source0: %{url}/archive/autolink-%{version}.tar.gz
+
+BuildArch: noarch
+ExclusiveArch: noarch %{java_arches}
+
+BuildRequires: maven-local
+BuildRequires: mvn(junit:junit)
+BuildRequires: mvn(org.apache.maven.plugins:maven-compiler-plugin)
+
+%description
+Autolink is a Java library to extract links such as URLs and email
+addresses from plain text. It's smart about where a link ends, such as
+with trailing punctuation.
+
+%javadoc_package
+
+%prep
+%autosetup -n %{name}-autolink-%{version}
+
+# Not needed for an RPM build
+%pom_remove_plugin com.github.siom79.japicmp:japicmp-maven-plugin
+%pom_remove_plugin org.apache.maven.plugins:maven-release-plugin
+%pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin
+
+# We do not want to run benchmarks
+%pom_remove_dep org.openjdk.jmh:jmh-core
+rm src/test/java/org/nibor/autolink/AutolinkBenchmark.java
+
+%build
+%mvn_build
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%doc CHANGELOG.md README.md
+%license LICENSE
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..a8ac574
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (autolink-0.11.0.tar.gz) = 243f8930f2e71f61e359481d4fd85f626cec428a32fe2317a95ace39b03b96e97405efc47aa19e2805afd6872df19f5541ef8428aa0cc95392e2b3f4f90cfc1e
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-16 21:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-16 21:33 [rpms/autolink-java] epel10: Initial RPM Jerry James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox