Import package

This commit is contained in:
Marian Koncek 2023-03-03 16:21:29 +01:00
parent 99368d0448
commit 2d0d3edebf
3 changed files with 52 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/1.0.2.tar.gz

50
jurand.spec Normal file
View File

@ -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 <mkoncek@redhat.com> - 1.0.2-1
- Update to upstream version 1.0.2
* Wed Mar 01 2023 Marian Koncek <mkoncek@redhat.com> - 1.0.0-1
- Initial build

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (1.0.2.tar.gz) = 7fd2b3f9755e904c2b5101821f38f69460566bcd5aee450076f61455fe46b390a1c8d4fc05b2af1c608dc65c982317315ec1c41d9416215454cae5fb14f2151c