[RPM (6.0)] [DIST generic] jrexx-1.1.1-5.jpp6
Ralph Apel <[email protected]>
| Newsgroups | gmane.linux.jpackage.announce |
|---|---|
| Message-ID | <[email protected]> |
Name : jrexx Relocations: (not relocatable) Version : 1.1.1 Vendor: JPackage Project Release : 5.jpp6 Build Date: Mon 13 Aug 2012 08:19:33 AM CEST Install Date: (not installed) Build Host: linux.fritz.box Group : Development/Libraries/Java Source RPM: (none) Size : 71591 License: LGPL Signature : (none) Packager : Ralph Apel <[email protected]> URL : http://www.karneim.com/jrexx/ Summary : Automaton based regluar expression API for Java Description : jrexx is a powerful easy-to-use regular expression API for textual pattern matching. Technically jrexx uses a minimized deterministic FSA (finite state automaton) and compiles the textual representation of the regular expression into such an automaton. Besides the usual pattern matching functionality, jrexx provides an introspection API for exploration of the automaton's structure by 'states' and 'transitions'. Since the automaton is deterministic and minimized the pattern matching alogorithm is extremly fast (compared to the java regular expression API in JDK1.4) and works with huge patterns and input texts. Since FSA can be handled as sets, jrexx also offers all basic set operations for complement, union, intersection and difference, which is not provided by other regex implementations (as far as we know). --------------- Ralph Apel <[email protected]> - 0:1.1.1-5 - First JPP-6 release --------------- jrexx.src: W: no-signature 1 packages and 0 specfiles checked; 0 errors, 1 warnings. --------------- Index: jrexx.spec =================================================================== RCS file: /home/projects/jpackage/cvs/rpms/free/jrexx/jrexx.spec,v retrieving revision 1.2 diff -u -r1.2 jrexx.spec --- jrexx.spec 15 Dec 2004 14:15:56 -0000 1.2 +++ jrexx.spec 13 Aug 2012 06:20:20 -0000 @@ -1,21 +1,58 @@ +# Copyright (c) 2000-2012, 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. +# + %define section free +%define _binary_payload w9.gzdio +%define _source_payload w9.gzdio +%define _binary_filedigest_algorithm 1 +%define _source_filedigest_algorithm 1 Summary: Automaton based regluar expression API for Java Name: jrexx Version: 1.1.1 -Release: 1jpp +Release: 5%{?dist} Epoch: 0 License: LGPL URL: http://www.karneim.com/jrexx/ Group: Development/Libraries/Java -Vendor: JPackage Project -Distribution: JPackage Source0: jrexx-1.1.1-src.zip Source1: jrexx-build.xml -BuildRequires: jpackage-utils >= 0:1.5.32 -BuildRequires: ant >= 0:1.5.4 +Source2: http://repo1.maven.org/maven2/jrexx/jrexx/1.1.1/jrexx-1.1.1.pom +BuildRequires: jpackage-utils >= 0:1.7.5 +BuildRequires: java-devel >= 0:1.6.0 +BuildRequires: ant >= 0:1.7.1 +Requires: java >= 0:1.6.0 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +Requires(post): jpackage-utils >= 0:1.7.5 +Requires(postun): jpackage-utils >= 0:1.7.5 %description jrexx is a powerful easy-to-use regular expression @@ -36,7 +73,6 @@ which is not provided by other regex implementations (as far as we know). - %package javadoc Summary: Javadoc for %{name} Group: Development/Documentation @@ -60,37 +96,52 @@ cp -p output/dist/lib/%{name}-%{version}.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) +%add_to_maven_depmap %{name} %{name} %{version} JPP %{name} + +# poms +install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms +install -m 644 %{SOURCE2} \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}.pom # javadoc mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} cp -pr output/dist/jdoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink - %clean rm -rf $RPM_BUILD_ROOT -%post javadoc -rm -f %{_javadocdir}/%{name} -ln -s %{name}-%{version} %{_javadocdir}/%{name} - -%postun javadoc -if [ "$1" = "0" ]; then - rm -f %{_javadocdir}/%{name} -fi +%post +%update_maven_depmap + +%postun +%update_maven_depmap %files %defattr(0644,root,root,0755) %{_javadir}/%{name}.jar %{_javadir}/%{name}-%{version}.jar +%{_mavendepmapfragdir}/* +%{_datadir}/maven2/poms/* %files javadoc %defattr(0644,root,root,0755) -%doc %{_javadocdir} +%doc %{_javadocdir}/%{name}-%{version} +%doc %{_javadocdir}/%{name} -# ----------------------------------------------------------------------------- %changelog +* Mon Aug 13 2012 Ralph Apel <[email protected]> - 0:1.1.1-5 +- First JPP-6 release + +* Mon Apr 27 2009 Ralph Apel <[email protected]> - 0:1.1.1-4.jpp5 +- First JPP-5 release + +* Thu Jan 05 2006 Fernando Nasser <[email protected]> - 0:1.1.1-3jpp +- First JPP 1.7 build + +* Sun Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:1.1.1-2jpp +- Rebuild with ant-1.6.2 * Tue Feb 24 2004 Ralph Apel <r.apel at r-apel.de> - 0:1.1.1-1jpp - First JPackage release