# 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: jline Summary: Java library for reading and editing user input in console applications Version: 1.0 Release: 2%{?_dist_release} License: BSD URL: http://jline.sf.net/ Group: Development/Libraries Source0: http://download.sourceforge.net/sourceforge/jline/jline-%{version}.zip Source1: CatalogManager.properties Source2: jline-build.xml BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch BuildRequires: jpackage-utils >= 1.7 Requires: bash # for /bin/stty Requires: coreutils Requires: jpackage-utils %description JLine is a java library for reading and editing user input in console applications. It features tab-completion, command history, password masking, customizable keybindings, and pass-through handlers to use to chain to other console applications. %prep %setup -q -n %{name}-%{version} %build %install rm -rf $RPM_BUILD_ROOT # jars install -d -m 755 $RPM_BUILD_ROOT%{_javadir} install -m 644 %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/ (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do \ ln -sf ${jar} ${jar/-%{version}/}; done) %clean rm -rf $RPM_BUILD_ROOT %files %defattr(0644,root,root,0755) %doc LICENSE.txt %{_javadir}/%{name}.jar %{_javadir}/%{name}-%{version}.jar %changelog * Sat Dec 28 2013 Yoji TOYODA - 1.0-2 - merge VinePlus/6 pakcage * Tue May 29 2012 Ryoichi INAGAKI - 1.0-1 - updated to 1.0 * Wed Sep 1 2010 Ryoichi INAGAKI - 0.9.94-1 - Initial build for VineLinux * Mon Mar 8 2010 Peter Lemenkov - 0:0.9.94-0.6 - Added missing Requires: jpackage-utils (%%{_javadir} and %%{_javadocdir}) * Tue Jan 12 2010 Alexander Kurtakov 0:0.9.94-0.5 - Fix BRs. - Drop gcj_support. * Fri Jul 24 2009 Fedora Release Engineering - 0:0.9.94-0.4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 0:0.9.94-0.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Jul 9 2008 Tom "spot" Callaway - 0:9.94-0.2 - drop repotag * Mon Mar 24 2008 Matt Wringe - 0:9.94-0jpp.1 - Update to 0.9.94 (BZ #436204) * Tue Feb 19 2008 Fedora Release Engineering - 0:0.9.9-2jpp.1 - Autorebuild for GCC 4.3 * Tue Mar 06 2007 Matt Wringe - 0:0.9.9-1jpp.1 - Add option to build with ant. - Fix various rpmlint issues - Specify proper license * Thu May 04 2006 Alexander Kurtakov - 0:0.9.9-1jpp - Upgrade to 0.9.9 * Thu May 04 2006 Ralph Apel - 0:0.9.5-1jpp - Upgrade to 0.9.5 - First JPP-1.7 release * Mon Apr 25 2005 Fernando Nasser - 0:0.9.1-1jpp - Upgrade to 0.9.1 - Disable attempt to include external jars * Mon Apr 25 2005 Fernando Nasser - 0:0.8.1-3jpp - Changes to use locally installed DTDs - Do not try and access sun site for linking javadoc * Mon Aug 23 2004 Randy Watler - 0:0.8.1-2jpp - Rebuild with ant-1.6.2 * Mon Jan 26 2004 David Walluck 0:0.8.1-1jpp - release