From 2d0d3edebf766d8f5c8269e3fbd7ac869fe08af0 Mon Sep 17 00:00:00 2001 From: Marian Koncek Date: Fri, 3 Mar 2023 16:21:29 +0100 Subject: [PATCH] Import package --- .gitignore | 1 + jurand.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 52 insertions(+) create mode 100644 .gitignore create mode 100644 jurand.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..72d2d95 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/1.0.2.tar.gz diff --git a/jurand.spec b/jurand.spec new file mode 100644 index 0000000..4694827 --- /dev/null +++ b/jurand.spec @@ -0,0 +1,50 @@ +Name: jurand +Version: 1.0.2 +Release: 1%{?dist} +Summary: A tool for manipulating Java symbols +License: Apache-2.0 +URL: https://github.com/fedora-java/jurand + +Source0: https://github.com/fedora-java/jurand/archive/%{version}.tar.gz + +BuildRequires: gcc-c++ + +BuildRequires: asciidoc +BuildRequires: diffutils +BuildRequires: xmlto + +%description +The tool can be used for patching .java sources in cases where using sed is +insufficient due to Java language syntax. The tool follows Java language rules +rather than applying simple regular expressions on the source code. + +%prep +%setup -q + +%build +./build.sh +./build_manpages.sh + +%install +export buildroot=%{buildroot} +export bindir=%{_bindir} +export rpmmacrodir=%{_rpmmacrodir} +export mandir=%{_mandir}/man7 + +./install.sh + +%check +./test.sh + +%files -f target/installed_files +%dir %{_rpmconfigdir} +%dir %{_rpmmacrodir} +%license LICENSE NOTICE +%doc README.md + +%changelog +* Fri Mar 03 2023 Marian Koncek - 1.0.2-1 +- Update to upstream version 1.0.2 + +* Wed Mar 01 2023 Marian Koncek - 1.0.0-1 +- Initial build diff --git a/sources b/sources new file mode 100644 index 0000000..1492ed1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (1.0.2.tar.gz) = 7fd2b3f9755e904c2b5101821f38f69460566bcd5aee450076f61455fe46b390a1c8d4fc05b2af1c608dc65c982317315ec1c41d9416215454cae5fb14f2151c