Import package
This commit is contained in:
parent
99368d0448
commit
2d0d3edebf
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/1.0.2.tar.gz
|
50
jurand.spec
Normal file
50
jurand.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user