2006-07-22 19:14:37 +00:00
|
|
|
# Copyright (c) 2000-2005, JPackage Project
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# Redistribution and use in source and binary forms, with or without
|
|
|
|
# modification, are permitted provided that the following conditions
|
|
|
|
# are met:
|
|
|
|
#
|
|
|
|
# 1. Redistributions of source code must retain the above copyright
|
|
|
|
# notice, this list of conditions and the following disclaimer.
|
|
|
|
# 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
# notice, this list of conditions and the following disclaimer in the
|
|
|
|
# documentation and/or other materials provided with the
|
|
|
|
# distribution.
|
|
|
|
# 3. Neither the name of the JPackage Project nor the names of its
|
|
|
|
# contributors may be used to endorse or promote products derived
|
|
|
|
# from this software without specific prior written permission.
|
|
|
|
#
|
|
|
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
|
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
|
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
|
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
|
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
|
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
#
|
|
|
|
|
2005-03-10 14:50:31 +00:00
|
|
|
Name: jzlib
|
2006-07-22 19:14:37 +00:00
|
|
|
Version: 1.0.7
|
2011-02-09 15:06:59 +00:00
|
|
|
Release: 9%{?dist}
|
2005-03-10 14:50:31 +00:00
|
|
|
Epoch: 0
|
2010-11-04 08:17:26 +00:00
|
|
|
Summary: Re-implementation of zlib in pure Java
|
2005-03-10 14:50:31 +00:00
|
|
|
|
2010-11-04 08:17:26 +00:00
|
|
|
Group: Development/Libraries
|
2008-05-29 14:27:39 +00:00
|
|
|
License: BSD
|
2005-03-10 14:50:31 +00:00
|
|
|
URL: http://www.jcraft.com/jzlib/
|
2006-07-22 19:14:37 +00:00
|
|
|
Source0: http://www.jcraft.com/jzlib/jzlib-1.0.7.tar.gz
|
2005-03-10 14:50:31 +00:00
|
|
|
Source1: %{name}_build.xml
|
|
|
|
|
|
|
|
BuildArch: noarch
|
2006-07-22 19:14:37 +00:00
|
|
|
BuildRequires: jpackage-utils >= 0:1.6
|
|
|
|
BuildRequires: ant >= 0:1.6
|
2010-11-04 08:17:26 +00:00
|
|
|
Requires: java
|
|
|
|
Requires: jpackage-utils
|
2006-07-22 19:14:37 +00:00
|
|
|
|
2005-03-10 14:50:31 +00:00
|
|
|
%description
|
|
|
|
The zlib is designed to be a free, general-purpose, legally unencumbered
|
2010-11-04 08:17:26 +00:00
|
|
|
-- that is, not covered by any patents -- loss-less data-compression
|
2005-03-10 14:50:31 +00:00
|
|
|
library for use on virtually any computer hardware and operating system.
|
|
|
|
The zlib was written by Jean-loup Gailly (compression) and Mark Adler
|
|
|
|
(decompression).
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: Javadoc for %{name}
|
2010-11-04 08:17:26 +00:00
|
|
|
Group: Documentation
|
|
|
|
Requires: jpackage-utils
|
2005-03-10 14:50:31 +00:00
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%package demo
|
|
|
|
Summary: Examples for %{name}
|
2010-11-04 08:17:26 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
2005-03-10 14:50:31 +00:00
|
|
|
|
|
|
|
%description demo
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
cp %{SOURCE1} build.xml
|
|
|
|
mkdir src
|
|
|
|
mv com src
|
|
|
|
|
|
|
|
%build
|
|
|
|
ant dist javadoc
|
|
|
|
|
|
|
|
%install
|
|
|
|
# jars
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
install -Dpm 644 dist/lib/%{name}.jar \
|
|
|
|
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
|
|
|
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
|
|
|
|
|
|
|
# javadoc
|
|
|
|
install -dm 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
|
|
|
cp -pr javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
2010-11-04 08:17:26 +00:00
|
|
|
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
2005-03-10 14:50:31 +00:00
|
|
|
|
|
|
|
# examples
|
|
|
|
install -dm 755 $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
|
|
|
|
cp -pr example/* $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
|
2010-11-04 08:17:26 +00:00
|
|
|
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/%{name}
|
2005-03-10 14:50:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
2010-11-04 08:17:26 +00:00
|
|
|
%defattr(-,root,root,-)
|
2005-03-10 14:50:31 +00:00
|
|
|
%{_javadir}/*.jar
|
|
|
|
%doc LICENSE.txt
|
|
|
|
|
|
|
|
%files javadoc
|
2010-11-04 08:17:26 +00:00
|
|
|
%defattr(-,root,root,-)
|
2005-03-10 14:50:31 +00:00
|
|
|
%doc %{_javadocdir}/%{name}-%{version}
|
2010-11-04 08:17:26 +00:00
|
|
|
%doc %{_javadocdir}/%{name}
|
|
|
|
%doc LICENSE.txt
|
2005-03-10 14:50:31 +00:00
|
|
|
|
|
|
|
%files demo
|
2010-11-04 08:17:26 +00:00
|
|
|
%defattr(-,root,root,-)
|
2005-03-10 14:50:31 +00:00
|
|
|
%doc %{_datadir}/%{name}-%{version}
|
2010-11-04 08:17:26 +00:00
|
|
|
%doc %{_datadir}/%{name}
|
2005-03-10 14:50:31 +00:00
|
|
|
|
|
|
|
%changelog
|
2011-02-09 15:06:59 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0.7-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-11-04 08:17:26 +00:00
|
|
|
* Thu Nov 4 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.0.7-8
|
|
|
|
- Fix merge review comments bug#225956.
|
|
|
|
|
2010-04-07 08:59:21 +00:00
|
|
|
* Wed Apr 7 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.0.7-7.4
|
|
|
|
- Drop gcj_support.
|
|
|
|
|
2009-07-25 04:14:42 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0.7-7.3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 10:00:42 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0.7-6.3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-07-09 20:19:49 +00:00
|
|
|
* Wed Jul 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.0.7-5.3
|
|
|
|
- drop repotag
|
|
|
|
|
2008-05-29 14:27:39 +00:00
|
|
|
* Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.0.7-5jpp.2
|
|
|
|
- fix license tag
|
|
|
|
|
2008-02-19 17:20:40 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.0.7-5jpp.1
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2006-08-08 18:04:07 +00:00
|
|
|
* Tue Aug 08 2006 Vivek Lakshmanan <vivekl@redhat.com> - 0:1.0.7-4jpp.1
|
|
|
|
- Re-sync with latest from JPP.
|
|
|
|
- Partially adopt new naming convention.
|
|
|
|
|
2006-07-24 04:26:58 +00:00
|
|
|
* Sat Jul 22 2006 Vivek Lakshmanan <vivekl@redhat.com> - 0:1.0.7-3jpp_2fc
|
|
|
|
- Rebuild.
|
|
|
|
|
2006-07-22 19:14:37 +00:00
|
|
|
* Sat Jul 22 2006 Vivek Lakshmanan <vivekl@redhat.com> - 0:1.0.7-3jpp_1fc
|
|
|
|
- Merge with latest version from JPP.
|
|
|
|
|
2006-07-22 08:44:22 +00:00
|
|
|
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:1.0.5-2jpp_4fc
|
|
|
|
- Rebuilt
|
|
|
|
|
2006-07-12 06:35:54 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:1.0.5-2jpp_3fc
|
|
|
|
- rebuild
|
|
|
|
|
2006-03-06 21:47:26 +00:00
|
|
|
* Mon Mar 6 2006 Jeremy Katz <katzj@redhat.com> - 0:1.0.5-2jpp_2fc
|
|
|
|
- stop the scriptlet spew
|
|
|
|
|
2005-12-09 22:41:06 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-03-18 15:59:19 +00:00
|
|
|
* Fri Mar 18 2005 Andrew Overholt <overholt@redhat.com> 1.0.5-2jpp_1fc
|
|
|
|
- Build into Fedora.
|
2005-03-18 16:08:12 +00:00
|
|
|
- Remove Distribution and Vendor tags.
|
2005-03-18 15:59:19 +00:00
|
|
|
|
2005-03-10 14:50:31 +00:00
|
|
|
* Tue Oct 19 2004 David Walluck <david@jpackage.org> 0:1.0.5-2jpp
|
|
|
|
- rebuild with jdk 1.4.2
|
|
|
|
|
|
|
|
* Tue Oct 19 2004 David Walluck <david@jpackage.org> 0:1.0.5-1jpp
|
|
|
|
- 0.1.5
|
|
|
|
|
|
|
|
* Sun Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:1.0.3-2jpp
|
|
|
|
- Rebuild with ant-1.6.2
|
|
|
|
|
|
|
|
* Wed Jan 14 2004 Ralph Apel <r.apel@r-apel.de> - 0:1.0.3-1jpp
|
|
|
|
- First build.
|