106 lines
2.6 KiB
RPMSpec
106 lines
2.6 KiB
RPMSpec
|
Name: fastjar
|
||
|
Version: 0.98
|
||
|
Release: 1mamba
|
||
|
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: http://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}
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%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).
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
#%patch0 -p1
|
||
|
#%patch1 -p1
|
||
|
%patch2 -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
|
||
|
|
||
|
%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.gz
|
||
|
%{_infodir}/fastjar.info.gz
|
||
|
%doc fastjar.dvi fastjar.html
|
||
|
%doc fastjar.pdf fastjar.ps
|
||
|
%doc AUTHORS CHANGES COPYING
|
||
|
%doc ChangeLog CHANGES INSTALL
|
||
|
%doc NEWS README
|
||
|
|
||
|
%files -n grepjar
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/grepjar
|
||
|
%{_mandir}/man1/grepjar.1.gz
|
||
|
|
||
|
%changelog
|
||
|
* 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
|