fastjar/fastjar.spec

114 lines
2.8 KiB
RPMSpec
Raw Permalink Normal View History

Name: fastjar
Version: 0.98
Release: 3mamba
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>
URL: https://sourceforge.net/projects/fastjar
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
The grepjar program can be used to search files in a jar file for a pattern.
%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).
%debug_package
%prep
%setup -q
#%patch0 -p1
#%patch1 -p1
%patch 2 -p1
%build
%configure \
CFLAGS="%{optflags}" \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--infodir=%{_infodir}
%make
%make html
%make pdf
%make ps
%make dvi
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
rm -f %{buildroot}%{_infodir}/dir
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post
%install_info fastjar.info
%preun
%uninstall_info fastjar.info
%files
%defattr(-,root,root)
%{_bindir}/fastjar
%{_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
%files -n grepjar
%defattr(-,root,root)
%{_bindir}/grepjar
%{_mandir}/man1/grepjar.1*
%changelog
* 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
* 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