[RPM (6.0)] [DIST generic] jext-3.2-0.pre4.4.jpp6

Ralph Apel <[email protected]> Sat, 1 Sep 2012 11:04:28 +0200
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : jext                         Relocations: (not relocatable)
Version     : 3.2                               Vendor: JPackage Project
Release     : 0.pre4.4.jpp6                 Build Date: Sat 01 Sep 2012 10:42:34 AM CEST
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Text Editors                  Source RPM: (none)
Size        : 1010424                          License: GPL
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : http://www.jext.org/
Summary     : Free source code editor written in Java
Description :
Jext was created to support Java programming language. But nowadays it
can edit many other types of source codes. Among them you'll find C,
C++, C#, ASP, PHP, Python, Perl, Ruby, TeX, XHTML, XSLT, Eiffel, JSP...
Besides it provides advanced features to ease you work. Manage your
projects with the bookmarks tool, categorize your opened files through
workspaces, directly open zipped files, get a file straight from the
Internet, mail your source code, executes system commands within the
internal console, type faster thanks to HyperTyper and to the
customizable code snippets library, add new features with plugins,
discover the advanced editing capabilities, use the internal Python
interpreter... Jext meets all your needs! Developers will also
appreciate the open architecture of Jext. Based on GPLed libraries,
internal Python interpreter and many XML files, improving Jext is an
easy job. You can even write your own plugins (in Python or Java).

---------------
Ralph Apel <r.apel at r-apel.de> - 0:3.2-0.pre4.4
- First JPP-6 release
---------------
jext.src: W: source-or-patch-not-bzipped jext-build.patch
jext.src: W: source-or-patch-not-bzipped jext-Console.patch
jext.src: W: no-signature
1 packages and 0 specfiles checked; 0 errors, 3 warnings.

---------------
Index: jext-script
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/jext/jext-script,v
retrieving revision 1.3
diff -u -r1.3 jext-script
--- jext-script	4 Nov 2005 21:27:57 -0000	1.3
+++ jext-script	1 Sep 2012 09:04:27 -0000
@@ -2,7 +2,7 @@
 # 
 # jext script
 # JPackage Project <http://www.jpackage.org/>
-# $Id: jext-script,v 1.1.2.2 2004/01/22 05:15:13 jpackage Exp $
+# $Id$
 
 # Source functions library
 . /usr/share/java-utils/java-functions
Index: jext.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/jext/jext.spec,v
retrieving revision 1.2
diff -u -r1.2 jext.spec
--- jext.spec	15 Dec 2004 14:15:55 -0000	1.2
+++ jext.spec	1 Sep 2012 09:04:27 -0000
@@ -1,31 +1,67 @@
-%define appdir	%{_datadir}/%{name}
-%define section	free
-
-Name:		jext
-Version:	3.2
-Release:	0.pre4.1jpp
-Epoch:		0
-Summary:	Free source code editor written in Java
-License:	GPL
-URL:		http://www.jext.org/
-Group:		Text Editors
-Vendor:		JPackage Project
-Distribution:	JPackage
-Source0:	http://osdn.dl.sourceforge.net/jext/jext-sources-3.2pre4.tar.gz
-Source1:	%{name}-script
-Source2:	%{name}-icon-16.png
-Source3:	%{name}-icon-32.png
-Source4:	%{name}-icon-48.png
-Source5:	%{name}.desktop
-Requires:	aelfred
-Requires:	gnu.regexp
-Requires:	jpackage-utils >= 0:1.5
-Requires:	jython
-BuildRequires:	ant
-BuildRequires:	aelfred
-BuildRequires:	gnu.regexp
-BuildRequires:	jpackage-utils >= 0:1.5
-BuildRequires:	jython
+# 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 appdir  %{_datadir}/%{name}
+%define section free
+%define _binary_payload w9.gzdio
+%define _source_payload w9.gzdio
+%define _binary_filedigest_algorithm 1
+%define _source_filedigest_algorithm 1
+
+Name:           jext
+Version:        3.2
+Release:        0.pre4.4%{?dist}
+Epoch:          0
+Summary:        Free source code editor written in Java
+License:        GPL
+URL:            http://www.jext.org/
+Group:          Text Editors
+Source0:        http://osdn.dl.sourceforge.net/jext/jext-sources-3.2pre4.tar.gz
+Source1:        %{name}-script
+Source2:        %{name}-icon-16.png
+Source3:        %{name}-icon-32.png
+Source4:        %{name}-icon-48.png
+Source5:        %{name}.desktop
+Patch0:         %{name}-build.patch
+Patch1:         %{name}-Console.patch
+Requires:       aelfred
+Requires:       gnu-regexp
+Requires:       jpackage-utils >= 0:1.7.5
+Requires:       java >= 0:1.6.0
+Requires:       jython
+BuildRequires:  ant >= 0:1.7.1
+BuildRequires:  aelfred
+BuildRequires:  gnu-regexp
+BuildRequires:  jpackage-utils >= 0:1.7.5
+BuildRequires:  java-devel >= 0:1.6.0
+BuildRequires:  jython
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 
@@ -45,28 +81,11 @@
 internal Python interpreter and many XML files, improving Jext is an
 easy job. You can even write your own plugins (in Python or Java).
 
-%package	mdkmenu
-Summary:	Mandrake menu entry for %{name}
-Group:		Networking/Instant messaging	
-Requires:	%{name} = %{epoch}:%{version}-%{release}
-
-%description	mdkmenu
-%{summary}.
-
-%package	legacymenu
-Summary:	Legacy menu entry for %{name}
-Group:		Networking/Instant messaging
-Requires:	%{name} = %{epoch}:%{version}-%{release}
-Conflicts:	redhat-menus
-
-%description	legacymenu
-%{summary}.
-
-%package	javadoc
-Summary:	Javadoc for %{name}
-Group:		Development/Documentation
+%package        javadoc
+Summary:        Javadoc for %{name}
+Group:          Development/Documentation
 
-%description	javadoc
+%description    javadoc
 Javadoc for %{name}.
 
 %prep
@@ -78,6 +97,8 @@
 # remove old jedit syntax sources
 # FIXME: we don't package a version of jedit this old
 #rm -rf src/lib/org/gjt
+%patch0 -b .sav0
+%patch1 -b .sav1
 
 %build
 pushd src
@@ -110,23 +131,6 @@
 cp -pr docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
 (cd $RPM_BUILD_ROOT%{_javadocdir} && ln -sf %{name}-%{version} %{name})
 
-# mdk menu entry
-install -p -d -m 755 $RPM_BUILD_ROOT%{_menudir}
-cat >$RPM_BUILD_ROOT%{_menudir}/%{name} <<EOF
-?package(%{name}):\\
-command="%{_bindir}/%{name}"\\
-needs="X11"\\
-icon="%{name}.png"\\
-section="Applications/Editors"\\
-title="%{name}" \\
-longtitle="Free source code editor written in Java"
-EOF
-
-# mdk icons
-install -D -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_miconsdir}/%{name}.png 
-install -D -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_iconsdir}/%{name}.png 
-install -D -p -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_liconsdir}/%{name}.png
-
 # freedesktop.org menu entry
 install -D -p -m 644 %{SOURCE5} \
   $RPM_BUILD_ROOT%{_datadir}/applications/jpackage-%{name}.desktop
@@ -141,27 +145,12 @@
 install -D -p -m 644 %{SOURCE4} \
   $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.png
 
-# legacy menu entry
-install -D -p -m 644 %{SOURCE4} \
-  $RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/Development/%{name}.desktop
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post mdkmenu
-%update_menus
- 
-%postun mdkmenu
-%clean_menus
-
-%post javadoc
-rm -f %{_javadocdir}/%{name}
-ln -s %{name}-%{version} %{_javadocdir}/%{name}
-
-%postun javadoc
-if [ $1 -eq 0 ]; then
-  rm -f %{_javadocdir}/%{name}
-fi
+%post
+
+%postun
 
 %files
 %defattr(0644,root,root,0755)
@@ -173,24 +162,22 @@
 %{_datadir}/icons/*/*/apps/*
 %{_datadir}/pixmaps/%{name}.png
 
-%files mdkmenu
-%defattr(0644,root,root,0755)
-%{_menudir}/%{name}
-%{_iconsdir}/%{name}.png
-%{_miconsdir}/%{name}.png
-%{_liconsdir}/%{name}.png
-
-%files legacymenu
-%defattr(0644,root,root,0755)
-%{_sysconfdir}/X11/applnk/Development/*
-
 %files javadoc
 %defattr(0644,root,root,0755)
 %dir %{_javadocdir}/%{name}-%{version}
-%{_javadocdir}/%{name}-%{version}/*
-%ghost %dir %{_javadocdir}/%{name}
+%doc %{_javadocdir}/%{name}-%{version}/*
+%doc %{_javadocdir}/%{name}
 
 %changelog
+* Sat Sep 01 2012 Ralph Apel <r.apel at r-apel.de> - 0:3.2-0.pre4.4
+- First JPP-6 release
+
+* Tue Feb 27 2007 Ralph Apel <r.apel at r-apel.de> - 0:3.2-0.pre4.3jpp
+- First JPP-1.7 release
+- Add gcj_support option
+
+* Sun Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:3.2-0.pre4.2jpp
+- Rebuild with ant-1.6.2
 * Wed Jan 21 2004 David Walluck <[email protected]> 0:3.2-0.pre4.1jpp
 - 3.2.0pre4
 - compress jar