Blame SPECS/jline.spec

c5d2a9
# Copyright (c) 2000-2005, JPackage Project
c5d2a9
# All rights reserved.
c5d2a9
#
c5d2a9
# Redistribution and use in source and binary forms, with or without
c5d2a9
# modification, are permitted provided that the following conditions
c5d2a9
# are met:
c5d2a9
#
c5d2a9
# 1. Redistributions of source code must retain the above copyright
c5d2a9
#    notice, this list of conditions and the following disclaimer.
c5d2a9
# 2. Redistributions in binary form must reproduce the above copyright
c5d2a9
#    notice, this list of conditions and the following disclaimer in the
c5d2a9
#    documentation and/or other materials provided with the
c5d2a9
#    distribution.
c5d2a9
# 3. Neither the name of the JPackage Project nor the names of its
c5d2a9
#    contributors may be used to endorse or promote products derived
c5d2a9
#    from this software without specific prior written permission.
c5d2a9
#
c5d2a9
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
c5d2a9
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
c5d2a9
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
c5d2a9
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
c5d2a9
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
c5d2a9
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
c5d2a9
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
c5d2a9
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
c5d2a9
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
c5d2a9
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
c5d2a9
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
c5d2a9
#
c5d2a9
c5d2a9
Name:           jline
c5d2a9
Version:        1.0
c5d2a9
Release:        8%{?dist}
c5d2a9
Summary:        Java library for reading and editing user input in console applications
c5d2a9
License:        BSD
c5d2a9
URL:            http://jline.sourceforge.net/
c5d2a9
Group:          Development/Libraries
c5d2a9
Source0:        http://download.sourceforge.net/sourceforge/jline/jline-%{version}.zip
c5d2a9
Source1:        CatalogManager.properties
c5d2a9
Patch1:         %{name}-0.9.94-crosslink.patch
c5d2a9
c5d2a9
Requires:      bash
c5d2a9
# for /bin/stty
c5d2a9
Requires:      coreutils
c5d2a9
c5d2a9
BuildRequires: jpackage-utils
c5d2a9
BuildRequires: maven-local
c5d2a9
BuildRequires: maven-assembly-plugin
c5d2a9
BuildRequires: maven-compiler-plugin
c5d2a9
BuildRequires: maven-install-plugin
c5d2a9
BuildRequires: maven-jar-plugin
c5d2a9
BuildRequires: maven-javadoc-plugin
c5d2a9
BuildRequires: maven-resources-plugin
c5d2a9
BuildRequires: maven-site-plugin
c5d2a9
BuildRequires: maven-surefire-plugin
c5d2a9
BuildRequires: maven-surefire-provider-junit
c5d2a9
BuildRequires: java-javadoc
c5d2a9
c5d2a9
BuildArch:     noarch
c5d2a9
c5d2a9
%description
c5d2a9
JLine is a java library for reading and editing user input in console
c5d2a9
applications. It features tab-completion, command history, password
c5d2a9
masking, configurable key-bindings, and pass-through handlers to use to
c5d2a9
chain to other console applications.
c5d2a9
c5d2a9
%package        demo
c5d2a9
Summary:        Demos for %{name}
c5d2a9
Group:          Documentation
c5d2a9
Requires:       %{name} = %{version}-%{release}
c5d2a9
c5d2a9
%description    demo
c5d2a9
Demonstrations and samples for %{name}.
c5d2a9
c5d2a9
%package        javadoc
c5d2a9
Summary:        Javadoc for %{name}
c5d2a9
Group:          Documentation
c5d2a9
c5d2a9
%description    javadoc
c5d2a9
Javadoc for %{name}.
c5d2a9
c5d2a9
%prep
c5d2a9
%setup -q
c5d2a9
%patch1 -p1
c5d2a9
c5d2a9
# Make sure upstream hasn't sneaked in any jars we don't know about
c5d2a9
find -name '*.class' -exec rm -f '{}' \;
c5d2a9
find -name '*.jar' -exec rm -f '{}' \;
c5d2a9
c5d2a9
# Remove pre-built Windows-only binary artifacts
c5d2a9
rm src/src/main/resources/jline/jline*.dll
c5d2a9
c5d2a9
# Use locally installed DTDs
c5d2a9
mkdir build
c5d2a9
cp -p %{SOURCE1} build/
c5d2a9
c5d2a9
%build
c5d2a9
# Use locally installed DTDs
c5d2a9
export CLASSPATH=%{_builddir}/%{name}-%{version}/build
c5d2a9
c5d2a9
cd src/
c5d2a9
c5d2a9
%mvn_file : %{name}
c5d2a9
%mvn_build
c5d2a9
c5d2a9
%install
c5d2a9
pushd src/
c5d2a9
%mvn_install
c5d2a9
popd
c5d2a9
c5d2a9
# demo
c5d2a9
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
c5d2a9
cp -pr examples %{buildroot}%{_datadir}/%{name}
c5d2a9
c5d2a9
c5d2a9
%files -f src/.mfiles
c5d2a9
%doc LICENSE.txt src/src/main/resources/jline/keybindings.properties
c5d2a9
c5d2a9
%files demo
c5d2a9
%{_datadir}/%{name}
c5d2a9
c5d2a9
%files javadoc -f src/.mfiles-javadoc
c5d2a9
%doc LICENSE.txt
c5d2a9
c5d2a9
%changelog
c5d2a9
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0-8
c5d2a9
- Mass rebuild 2013-12-27
c5d2a9
c5d2a9
* Mon Aug 26 2013 Michal Srb <msrb@redhat.com> - 1.0-7
c5d2a9
- Migrate away from mvn-rpmbuild (Resolves: #997501)
c5d2a9
c5d2a9
* Fri Jul 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-6
c5d2a9
- Remove workaround for rpm bug #646523
c5d2a9
c5d2a9
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-5
c5d2a9
- Rebuild to regenerate API documentation
c5d2a9
- Resolves: CVE-2013-1571
c5d2a9
c5d2a9
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
c5d2a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c5d2a9
c5d2a9
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0-3
c5d2a9
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
c5d2a9
- Replace maven BuildRequires with maven-local
c5d2a9
c5d2a9
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
c5d2a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c5d2a9
c5d2a9
* Wed Feb 1 2012 Alexander Kurtakov <akurtako@redhat.com> 1.0-1
c5d2a9
- Update to 1.0.
c5d2a9
c5d2a9
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.94-7
c5d2a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c5d2a9
c5d2a9
* Tue Dec 13 2011 Alexander Kurtakov <akurtako@redhat.com> 0.9.94-6
c5d2a9
- Build with maven 3.x.
c5d2a9
c5d2a9
* Sat Oct 15 2011 Ville Skyttä <ville.skytta@iki.fi> - 0.9.94-5
c5d2a9
- BuildRequire maven2.
c5d2a9
c5d2a9
* Sat Oct 15 2011 Ville Skyttä <ville.skytta@iki.fi> - 0.9.94-4
c5d2a9
- Patch delete to actually behave as delete instead of backspace, include
c5d2a9
  keybindings.properties in docs (#720170).
c5d2a9
- Drop executable bit from jar.
c5d2a9
- Crosslink with local javadocs.
c5d2a9
- Include LICENSE.txt in -javadoc.
c5d2a9
c5d2a9
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.94-3
c5d2a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c5d2a9
c5d2a9
* Sat Dec 18 2010 Mat Booth <fedora@matbooth.co.uk> - 0.9.94-2
c5d2a9
- Remove pre-built Windows-only binary artifacts.
c5d2a9
- Demo package was defined but never built for some reason.
c5d2a9
- Don't also package jar in the javadoc package!
c5d2a9
- Drop versioned java and javadocs.
c5d2a9
c5d2a9
* Sat Dec 18 2010 Mat Booth <fedora@matbooth.co.uk> - 0.9.94-1
c5d2a9
- Remove bundled jars in %%prep phase.
c5d2a9
- Tidy up spec file, fix some rpmlint warnings.
c5d2a9
- Add pom and depmaps.
c5d2a9
c5d2a9
* Mon Mar  8 2010 Peter Lemenkov <lemenkov@gmail.com> - 0:0.9.94-0.6
c5d2a9
- Added missing Requires: jpackage-utils (%%{_javadir} and %%{_javadocdir})
c5d2a9
c5d2a9
* Tue Jan 12 2010 Alexander Kurtakov <akurtako@redhat.com> 0:0.9.94-0.5
c5d2a9
- Fix BRs.
c5d2a9
- Drop gcj_support.
c5d2a9
c5d2a9
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:0.9.94-0.4
c5d2a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c5d2a9
c5d2a9
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:0.9.94-0.3
c5d2a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c5d2a9
c5d2a9
* Wed Jul  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:9.94-0.2
c5d2a9
- drop repotag
c5d2a9
c5d2a9
* Mon Mar 24 2008 Matt Wringe <mwringe@redhat.com> - 0:9.94-0jpp.1
c5d2a9
- Update to 0.9.94 (BZ #436204)
c5d2a9
c5d2a9
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:0.9.9-2jpp.1
c5d2a9
- Autorebuild for GCC 4.3
c5d2a9
c5d2a9
* Tue Mar 06 2007 Matt Wringe <mwringe@redhat.com> - 0:0.9.9-1jpp.1
c5d2a9
- Add option to build with ant.
c5d2a9
- Fix various rpmlint issues
c5d2a9
- Specify proper license
c5d2a9
c5d2a9
* Thu May 04 2006 Alexander Kurtakov <akurtkov at gmail.com> - 0:0.9.9-1jpp
c5d2a9
- Upgrade to 0.9.9
c5d2a9
c5d2a9
* Thu May 04 2006 Ralph Apel <r.apel at r-apel.de> - 0:0.9.5-1jpp
c5d2a9
- Upgrade to 0.9.5
c5d2a9
- First JPP-1.7 release
c5d2a9
c5d2a9
* Mon Apr 25 2005 Fernando Nasser <fnasser@redhat.com> - 0:0.9.1-1jpp
c5d2a9
- Upgrade to 0.9.1
c5d2a9
- Disable attempt to include external jars
c5d2a9
c5d2a9
* Mon Apr 25 2005 Fernando Nasser <fnasser@redhat.com> - 0:0.8.1-3jpp
c5d2a9
- Changes to use locally installed DTDs
c5d2a9
- Do not try and access sun site for linking javadoc
c5d2a9
c5d2a9
* Sun Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:0.8.1-2jpp
c5d2a9
- Rebuild with ant-1.6.2
c5d2a9
c5d2a9
* Mon Jan 26 2004 David Walluck <david@anti-microsoft.org> 0:0.8.1-1jpp
c5d2a9
- release