2024-01-05 22:13:24 +01:00
|
|
|
Name: fastjar
|
|
|
|
Version: 0.98
|
2024-01-05 22:13:25 +01:00
|
|
|
Release: 3mamba
|
2024-01-05 22:13:24 +01:00
|
|
|
Summary: An implementation of Sun's jar utility that comes with the JDK
|
|
|
|
Group: Development/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 22:13:25 +01:00
|
|
|
URL: https://sourceforge.net/projects/fastjar
|
2024-01-05 22:13:24 +01:00
|
|
|
Source: http://download.savannah.nongnu.org/releases/fastjar/fastjar-%{version}.tar.gz
|
|
|
|
Patch0: fastjar-0.93-gcc34.patch
|
|
|
|
Patch1: fastjar-0.97-segfault.patch
|
|
|
|
Patch2: fastjar-0.97-len1.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires(post):%{__install_info}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Fastjar is an implementation of Sun's jar utility that comes with the JDK,
|
|
|
|
written entirely in C, and runs in a fraction of the time while being 100% feature compatible.
|
|
|
|
|
|
|
|
%package -n grepjar
|
|
|
|
Group: Development/Tools
|
|
|
|
Summary: grepjar - search files in a jar file for a pattern
|
|
|
|
|
|
|
|
%description -n grepjar
|
2024-01-05 22:13:25 +01:00
|
|
|
The grepjar program can be used to search files in a jar file for a pattern.
|
2024-01-05 22:13:24 +01:00
|
|
|
|
|
|
|
%package manual
|
|
|
|
Group: Documentation
|
|
|
|
Summary: %{name} documentation
|
|
|
|
|
|
|
|
%description manual
|
|
|
|
Fastjar is an implementation of Sun's jar utility that comes with the JDK.
|
|
|
|
This package contains %{name} documentation in different formats (html,pdf,dvi,ps).
|
|
|
|
|
2024-01-05 22:13:25 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 22:13:24 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#%patch0 -p1
|
|
|
|
#%patch1 -p1
|
2024-01-05 22:13:25 +01:00
|
|
|
%patch 2 -p1
|
2024-01-05 22:13:24 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
CFLAGS="%{optflags}" \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--infodir=%{_infodir}
|
2024-01-05 22:13:25 +01:00
|
|
|
|
2024-01-05 22:13:24 +01:00
|
|
|
%make
|
|
|
|
%make html
|
|
|
|
%make pdf
|
|
|
|
%make ps
|
|
|
|
%make dvi
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-05 22:13:25 +01:00
|
|
|
rm -f %{buildroot}%{_infodir}/dir
|
|
|
|
|
2024-01-05 22:13:24 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post
|
|
|
|
%install_info fastjar.info
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%uninstall_info fastjar.info
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/fastjar
|
2024-01-05 22:13:25 +01:00
|
|
|
%{_mandir}/man1/fastjar.1*
|
|
|
|
%{_infodir}/fastjar.info*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
#% doc fastjar.dvi fastjar.html
|
|
|
|
#% doc fastjar.pdf fastjar.ps
|
|
|
|
#% doc ChangeLog CHANGES INSTALL
|
|
|
|
#% doc NEWS README
|
2024-01-05 22:13:24 +01:00
|
|
|
|
|
|
|
%files -n grepjar
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/grepjar
|
2024-01-05 22:13:25 +01:00
|
|
|
%{_mandir}/man1/grepjar.1*
|
2024-01-05 22:13:24 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 22:13:25 +01:00
|
|
|
* Mon Oct 30 2023 Automatic Build System <autodist@mambasoft.it> 0.98-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Sun Oct 29 2023 Automatic Build System <autodist@mambasoft.it> 0.98-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
2024-01-05 22:13:24 +01:00
|
|
|
* Mon Nov 28 2011 Automatic Build System <autodist@mambasoft.it> 0.98-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Feb 04 2010 gil <puntogil@libero.it> 0.97-1mamba
|
|
|
|
- update to 0.97
|
|
|
|
- added new sub package: grepjar
|
|
|
|
|
|
|
|
* Thu Jul 10 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.94-1mamba
|
|
|
|
- update to 0.94
|
|
|
|
|
|
|
|
* Tue Mar 11 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.93-2mamba
|
|
|
|
- specfile updated
|
|
|
|
|
|
|
|
* Thu Aug 11 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.93-1qilnx
|
|
|
|
- package created by autospec
|