# 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. # Name: jzlib Version: 1.1.1 Release: 3%{?dist} Epoch: 0 Summary: Re-implementation of zlib in pure Java Group: Development/Libraries License: BSD URL: http://www.jcraft.com/jzlib/ Source0: http://www.jcraft.com/jzlib/jzlib-%{version}.zip BuildArch: noarch BuildRequires: jpackage-utils BuildRequires: maven-local BuildRequires: maven-resources-plugin Requires: java Requires: jpackage-utils %description The zlib is designed to be a free, general-purpose, legally unencumbered -- that is, not covered by any patents -- loss-less data-compression 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} Group: Documentation Requires: jpackage-utils %description javadoc %{summary}. %package demo Summary: Examples for %{name} Group: Development/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} %description demo %{summary}. %prep %setup -q %build mvn-rpmbuild install javadoc:aggregate %install # jars install -Dpm 644 target/%{name}-%{version}.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}.jar # javadoc install -dm 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name} cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name} # examples install -dm 755 $RPM_BUILD_ROOT%{_datadir}/%{name} cp -pr example/* $RPM_BUILD_ROOT%{_datadir}/%{name} # pom install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir} install -pm 644 pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP-%{name}.pom %add_maven_depmap JPP-%{name}.pom %{name}.jar %files %{_javadir}/%{name}.jar %{_mavenpomdir}/JPP-%{name}.pom %{_mavendepmapfragdir}/%{name} %doc LICENSE.txt %files javadoc %{_javadocdir}/%{name} %doc LICENSE.txt %files demo %doc %{_datadir}/%{name} %changelog * Thu Feb 14 2013 Fedora Release Engineering - 0:1.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Feb 06 2013 Java SIG - 0:1.1.1-2 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local * Mon Jan 7 2013 Alexander Kurtakov 0:1.1.1-1 - Update to latest upstream. * Tue Oct 23 2012 Mat Booth 0:1.1.0-3 - Add maven pom and depmap rhbz #806572. * Thu Jul 19 2012 Fedora Release Engineering - 0:1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Alexander Kurtakov 0:1.1.0-1 - Update to upstream 1.1.0 release. * Fri Jan 13 2012 Fedora Release Engineering - 0:1.0.7-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 0:1.0.7-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Nov 4 2010 Alexander Kurtakov 0:1.0.7-8 - Fix merge review comments bug#225956. * Wed Apr 7 2010 Alexander Kurtakov 0:1.0.7-7.4 - Drop gcj_support. * Fri Jul 24 2009 Fedora Release Engineering - 0:1.0.7-7.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 0:1.0.7-6.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Jul 9 2008 Tom "spot" Callaway - 0:1.0.7-5.3 - drop repotag * Thu May 29 2008 Tom "spot" Callaway - 0:1.0.7-5jpp.2 - fix license tag * Tue Feb 19 2008 Fedora Release Engineering - 0:1.0.7-5jpp.1 - Autorebuild for GCC 4.3 * Tue Aug 08 2006 Vivek Lakshmanan - 0:1.0.7-4jpp.1 - Re-sync with latest from JPP. - Partially adopt new naming convention. * Sat Jul 22 2006 Vivek Lakshmanan - 0:1.0.7-3jpp_2fc - Rebuild. * Sat Jul 22 2006 Vivek Lakshmanan - 0:1.0.7-3jpp_1fc - Merge with latest version from JPP. * Sat Jul 22 2006 Jakub Jelinek - 0:1.0.5-2jpp_4fc - Rebuilt * Wed Jul 12 2006 Jesse Keating - 0:1.0.5-2jpp_3fc - rebuild * Mon Mar 6 2006 Jeremy Katz - 0:1.0.5-2jpp_2fc - stop the scriptlet spew * Fri Dec 09 2005 Jesse Keating - rebuilt * Fri Mar 18 2005 Andrew Overholt 1.0.5-2jpp_1fc - Build into Fedora. - Remove Distribution and Vendor tags. * Tue Oct 19 2004 David Walluck 0:1.0.5-2jpp - rebuild with jdk 1.4.2 * Tue Oct 19 2004 David Walluck 0:1.0.5-1jpp - 0.1.5 * Sun Aug 23 2004 Randy Watler - 0:1.0.3-2jpp - Rebuild with ant-1.6.2 * Wed Jan 14 2004 Ralph Apel - 0:1.0.3-1jpp - First build.