|
|
413fad |
%global pkg_name gnu-getopt
|
|
|
413fad |
%{?scl:%scl_package %{pkg_name}}
|
|
|
413fad |
%{?maven_find_provides_and_requires}
|
|
|
413fad |
|
|
|
413fad |
# Copyright (c) 2000-2009, JPackage Project
|
|
|
413fad |
# All rights reserved.
|
|
|
413fad |
#
|
|
|
413fad |
# Redistribution and use in source and binary forms, with or without
|
|
|
413fad |
# modification, are permitted provided that the following conditions
|
|
|
413fad |
# are met:
|
|
|
413fad |
#
|
|
|
413fad |
# 1. Redistributions of source code must retain the above copyright
|
|
|
413fad |
# notice, this list of conditions and the following disclaimer.
|
|
|
413fad |
# 2. Redistributions in binary form must reproduce the above copyright
|
|
|
413fad |
# notice, this list of conditions and the following disclaimer in the
|
|
|
413fad |
# documentation and/or other materials provided with the
|
|
|
413fad |
# distribution.
|
|
|
413fad |
# 3. Neither the name of the JPackage Project nor the names of its
|
|
|
413fad |
# contributors may be used to endorse or promote products derived
|
|
|
413fad |
# from this software without specific prior written permission.
|
|
|
413fad |
#
|
|
|
413fad |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
413fad |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
413fad |
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
413fad |
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
413fad |
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
413fad |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
413fad |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
413fad |
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
413fad |
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
413fad |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
413fad |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
413fad |
#
|
|
|
413fad |
|
|
|
413fad |
Name: %{?scl_prefix}%{pkg_name}
|
|
|
413fad |
Version: 1.0.14
|
|
|
413fad |
Release: 5.13%{?dist}
|
|
|
413fad |
Epoch: 0
|
|
|
413fad |
Summary: Java getopt implementation
|
|
|
413fad |
License: LGPLv2+
|
|
|
413fad |
URL: http://www.urbanophile.com/arenn/hacking/download.html
|
|
|
413fad |
Source0: http://www.urbanophile.com/arenn/hacking/getopt/java-getopt-%{version}.tar.gz
|
|
|
413fad |
Source2: gnu-getopt-%{version}.pom
|
|
|
413fad |
BuildArch: noarch
|
|
|
413fad |
BuildRequires: %{?scl_prefix_java_common}ant
|
|
|
413fad |
BuildRequires: %{?scl_prefix_java_common}javapackages-tools
|
|
|
413fad |
|
|
|
413fad |
|
|
|
413fad |
%description
|
|
|
413fad |
The GNU Java getopt classes support short and long argument parsing in
|
|
|
413fad |
a manner 100% compatible with the version of GNU getopt in glibc 2.0.6
|
|
|
413fad |
with a mostly compatible programmer's interface as well. Note that this
|
|
|
413fad |
is a port, not a new implementation. I am currently unaware of any bugs
|
|
|
413fad |
in this software, but there certainly could be some lying about. I would
|
|
|
413fad |
appreciate bug reports as well as hearing about positive experiences.
|
|
|
413fad |
|
|
|
413fad |
%package javadoc
|
|
|
413fad |
Summary: Javadoc for %{pkg_name}
|
|
|
413fad |
|
|
|
413fad |
%description javadoc
|
|
|
413fad |
%{summary}.
|
|
|
413fad |
|
|
|
413fad |
%prep
|
|
|
413fad |
%setup -q -c -n %{pkg_name}-%{version}
|
|
|
413fad |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
413fad |
set -e -x
|
|
|
413fad |
mv gnu/getopt/buildx.xml build.xml
|
|
|
413fad |
%{?scl:EOF}
|
|
|
413fad |
|
|
|
413fad |
%build
|
|
|
413fad |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
413fad |
set -e -x
|
|
|
413fad |
ant jar javadoc
|
|
|
413fad |
%{?scl:EOF}
|
|
|
413fad |
|
|
|
413fad |
%install
|
|
|
413fad |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
413fad |
set -e -x
|
|
|
413fad |
install -d -m 755 %{buildroot}%{_javadir}
|
|
|
413fad |
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
|
|
413fad |
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
|
|
413fad |
|
|
|
413fad |
install -p -m 644 build/lib/gnu.getopt.jar %{buildroot}%{_javadir}/%{pkg_name}.jar
|
|
|
413fad |
ln -sf %{pkg_name}.jar %{buildroot}%{_javadir}/gnu.getopt.jar
|
|
|
413fad |
|
|
|
413fad |
install -p -m 644 %{SOURCE2} %{buildroot}%{_mavenpomdir}/JPP-%{pkg_name}.pom
|
|
|
413fad |
%add_maven_depmap -a urbanophile:java-getopt
|
|
|
413fad |
|
|
|
413fad |
cp -pr build/api/* %{buildroot}%{_javadocdir}/%{name}
|
|
|
413fad |
%{?scl:EOF}
|
|
|
413fad |
|
|
|
413fad |
%files -f .mfiles
|
|
|
413fad |
%doc gnu/getopt/COPYING.LIB gnu/getopt/README
|
|
|
413fad |
%{_javadir}/gnu.getopt.jar
|
|
|
413fad |
|
|
|
413fad |
%files javadoc
|
|
|
413fad |
%doc gnu/getopt/COPYING.LIB
|
|
|
413fad |
%{_javadocdir}/%{name}
|
|
|
413fad |
|
|
|
413fad |
%changelog
|
|
|
413fad |
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 0:1.0.14-5.13
|
|
|
413fad |
- Fix BR on maven-local & co.
|
|
|
413fad |
|
|
|
413fad |
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 0:1.0.14-5.12
|
|
|
413fad |
- maven33 rebuild #2
|
|
|
413fad |
|
|
|
413fad |
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 0:1.0.14-5.11
|
|
|
413fad |
- maven33 rebuild
|
|
|
413fad |
|
|
|
413fad |
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 0:1.0.14-5.10
|
|
|
413fad |
- Mass rebuild 2015-01-13
|
|
|
413fad |
|
|
|
413fad |
* Wed Jan 07 2015 Michal Srb <msrb@redhat.com> - 1.0.14-5.9
|
|
|
413fad |
- Migrate to .mfiles
|
|
|
413fad |
|
|
|
413fad |
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 0:1.0.14-5.8
|
|
|
413fad |
- Mass rebuild 2015-01-06
|
|
|
413fad |
|
|
|
413fad |
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0.14-5.7
|
|
|
413fad |
- Mass rebuild 2014-05-26
|
|
|
413fad |
|
|
|
413fad |
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0.14-5.6
|
|
|
413fad |
- Mass rebuild 2014-02-19
|
|
|
413fad |
|
|
|
413fad |
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0.14-5.5
|
|
|
413fad |
- Mass rebuild 2014-02-18
|
|
|
413fad |
|
|
|
413fad |
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0.14-5.4
|
|
|
413fad |
- Remove requires on java
|
|
|
413fad |
|
|
|
413fad |
* Mon Feb 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0.14-5.3
|
|
|
413fad |
- SCL-ize build-requires
|
|
|
413fad |
|
|
|
413fad |
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0.14-5.2
|
|
|
413fad |
- Rebuild to regenerate auto-requires
|
|
|
413fad |
|
|
|
413fad |
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0.14-5.1
|
|
|
413fad |
- First maven30 software collection build
|
|
|
413fad |
|
|
|
413fad |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 01.0.14-5
|
|
|
413fad |
- Mass rebuild 2013-12-27
|
|
|
413fad |
|
|
|
413fad |
* Fri Jul 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0.14-4
|
|
|
413fad |
- Remove workaround for rpm bug #646523
|
|
|
413fad |
|
|
|
413fad |
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0.14-3
|
|
|
413fad |
- Rebuild to regenerate API documentation
|
|
|
413fad |
- Resolves: CVE-2013-1571
|
|
|
413fad |
|
|
|
413fad |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0.14-2
|
|
|
413fad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
413fad |
|
|
|
413fad |
* Tue Jan 15 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0.14-1
|
|
|
413fad |
- Update to upstream version 1.0.14
|
|
|
413fad |
|
|
|
413fad |
* Thu Sep 6 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0.13-7
|
|
|
413fad |
- Install license file with javadoc package
|
|
|
413fad |
- Add missing R: java, jpackage-utils
|
|
|
413fad |
- Convert versioned names to versionless
|
|
|
413fad |
- Add rpm bug workaround
|
|
|
413fad |
- Update to current packaging guidelines
|
|
|
413fad |
|
|
|
413fad |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0.13-6.1
|
|
|
413fad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
413fad |
|
|
|
413fad |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0.13-5.1
|
|
|
413fad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
413fad |
|
|
|
413fad |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0.13-4.1
|
|
|
413fad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
413fad |
|
|
|
413fad |
* Tue Sep 08 2009 David Walluck <dwalluck@redhat.com> 0:1.0.13-3.1
|
|
|
413fad |
- remove repolib
|
|
|
413fad |
|
|
|
413fad |
* Tue Sep 08 2009 David Walluck <dwalluck@redhat.com> 0:1.0.13-3
|
|
|
413fad |
- fix maven depmap install
|
|
|
413fad |
- add compat symlinks for javadoc
|
|
|
413fad |
- add depmap entry for urbanophile:java-getopt
|
|
|
413fad |
|
|
|
413fad |
* Thu Jul 30 2009 Yong Yang <yyang@redhat.com> 0:1.0.13-2
|
|
|
413fad |
- Merge changes from JPP5 1.0.12-3 to 1.0.12-6
|
|
|
413fad |
|
|
|
413fad |
* Wed Jul 29 2009 Yong Yang <yyang@redhat.com> 0:1.0.13-1
|
|
|
413fad |
- 1.0.13
|
|
|
413fad |
|
|
|
413fad |
* Wed Aug 20 2008 David Walluck <dwalluck@redhat.com> 0:1.0.12-6
|
|
|
413fad |
- call %%update_maven_depmap
|
|
|
413fad |
|
|
|
413fad |
* Wed Aug 20 2008 David Walluck <dwalluck@redhat.com> 0:1.0.12-5
|
|
|
413fad |
- add pom
|
|
|
413fad |
- fix component-info.xml
|
|
|
413fad |
|
|
|
413fad |
* Wed Aug 13 2008 David Walluck <dwalluck@redhat.com> 0:1.0.12-4
|
|
|
413fad |
- bump release
|
|
|
413fad |
- don't duplicate repolib in main package
|
|
|
413fad |
- own repolib dirs
|
|
|
413fad |
- fix repolib permissions
|
|
|
413fad |
|
|
|
413fad |
* Thu May 29 2008 Permaine Cheung <pcheung@redhat.com> 0:1.0.12-2
|
|
|
413fad |
- First JPP 5 build
|
|
|
413fad |
|
|
|
413fad |
* Tue Mar 13 2007 Vivek Lakshmanan <vivekl@redhat.com> 0:1.0.12-1jpp.ep1.2
|
|
|
413fad |
- Fix repolib location
|
|
|
413fad |
|
|
|
413fad |
* Tue Mar 13 2007 Fernando Nasser <fnasser@redhat.com> 0:1.0.12-1jpp.ep1.1
|
|
|
413fad |
- New repolib location
|
|
|
413fad |
|
|
|
413fad |
* Mon Feb 19 2007 Vivek Lakshmanan <vivekl@redhat.com> 0:1.0.12-1jpp.el4ep1.2
|
|
|
413fad |
- Add -brew suffix
|
|
|
413fad |
|
|
|
413fad |
* Fri Feb 16 2007 Vivek Lakshmanan <vivekl@redhat.com> 0:1.0.12-1jpp.el4ep1.1
|
|
|
413fad |
- Add repolib support
|
|
|
413fad |
|
|
|
413fad |
* Tue May 23 2006 Fernando Nasser <fnasser@redhat.com> 0:1.0.12-1jpp_1rh
|
|
|
413fad |
- First Red Hat build with new name
|
|
|
413fad |
|
|
|
413fad |
* Thu May 04 2006 Ralph Apel <r.apel at r-apel.de> 0:1.0.12-1jpp
|
|
|
413fad |
- 1.0.12
|
|
|
413fad |
- Change name to gnu-getopt, Provide/Obsolete gnu.getopt
|
|
|
413fad |
- Still provide gnu.getopt.jar as symlink
|
|
|
413fad |
|
|
|
413fad |
* Tue Dec 07 2004 David Walluck <david@jpackage.org> 0:1.0.10-1jpp
|
|
|
413fad |
- 1.0.10
|
|
|
413fad |
|
|
|
413fad |
* Mon Aug 23 2004 Ralph Apel <r.apel at r-apel.de> 0:1.0.9-5jpp
|
|
|
413fad |
- Build with ant-1.6.2
|
|
|
413fad |
|
|
|
413fad |
* Fri May 09 2003 David Walluck <david@anti-microsoft.org> 0:1.0.9-4jpp
|
|
|
413fad |
- fix groups
|
|
|
413fad |
|
|
|
413fad |
* Fri May 09 2003 David Walluck <david@anti-microsoft.org> 0:1.0.9-3jpp
|
|
|
413fad |
- update for JPackage 1.5
|
|
|
413fad |
|
|
|
413fad |
* Wed Mar 26 2003 Nicolas Mailhot <Nicolas.Mailhot (at) JPackage.org> 1.0.9-2jpp
|
|
|
413fad |
- For jpackage-utils 1.5
|
|
|
413fad |
|
|
|
413fad |
* Sat Feb 16 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.0.9-1jpp
|
|
|
413fad |
- 1.0.9
|
|
|
413fad |
- build script merged upstream
|
|
|
413fad |
|
|
|
413fad |
* Sat Jan 19 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.0.8-2jpp
|
|
|
413fad |
- versioned dir for javadoc
|
|
|
413fad |
- no dependencies for javadoc package
|
|
|
413fad |
- additional sources in individual archives
|
|
|
413fad |
- section macro
|
|
|
413fad |
|
|
|
413fad |
* Sat Dec 8 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.0.8-1jpp
|
|
|
413fad |
- first JPackage release
|