[RPM (6.0)] [DIST generic] jtb-1.3.2-3.jpp6
Ralph Apel <[email protected]>
| Newsgroups | gmane.linux.jpackage.announce |
|---|---|
| Message-ID | <[email protected]> |
Name : jtb Relocations: (not relocatable) Version : 1.3.2 Vendor: JPackage Project Release : 3.jpp6 Build Date: Wed 15 Aug 2012 09:05:01 AM CEST Install Date: (not installed) Build Host: linux.fritz.box Group : Development/Java Source RPM: (none) Size : 271596 License: BSD-style Signature : (none) Packager : Ralph Apel <[email protected]> URL : http://compilers.cs.ucla.edu/jtb/ Summary : Java Tree Builder Description : JTB is a syntax tree builder to be used with the Java Compiler Compiler (JavaCC) parser generator. It takes a plain JavaCC grammar file as input and automatically generates the following: * A set of syntax tree classes based on the productions in the grammar, utilizing the Visitor design pattern. * Two interfaces: Visitor and GJVisitor. Two depth-first visitors: DepthFirstVisitor and GJDepthFirst, whose default methods simply visit the children of the current node. * A JavaCC grammar jtb.out.jj with the proper annotations to build the syntax tree during parsing. --------------- Ralph pel <[email protected]> 1.3.2-3 - First JPP-6 release --------------- jtb.src: W: non-standard-group Development/Java jtb.src: W: no-signature jtb.src: W: mixed-use-of-spaces-and-tabs (spaces: line 37, tab: line 39) jtb.src: W: invalid-license BSD-style 1 packages and 0 specfiles checked; 0 errors, 4 warnings. --------------- Index: jtb.spec =================================================================== RCS file: /home/projects/jpackage/cvs/rpms/free/jtb/jtb.spec,v retrieving revision 1.1 diff -u -r1.1 jtb.spec --- jtb.spec 21 Apr 2008 19:37:24 -0000 1.1 +++ jtb.spec 15 Aug 2012 07:10:10 -0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2000-2008, JPackage Project +# Copyright (c) 2000-2012, JPackage Project # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -28,13 +28,15 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}} - %define section free +%define _binary_payload w9.gzdio +%define _source_payload w9.gzdio +%define _binary_filedigest_algorithm 1 +%define _source_filedigest_algorithm 1 Name: jtb Version: 1.3.2 -Release: 1jpp +Release: 3%{?dist} Epoch: 0 Summary: Java Tree Builder License: BSD-style @@ -46,21 +48,14 @@ Source4: jtb-license.html Group: Development/Java -Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:%{_vendor}} -Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} -BuildRequires: jpackage-utils >= 0:1.7.4 -BuildRequires: java-devel = 0:1.5.0 -BuildRequires: ant >= 0:1.6.5 -%if ! %{gcj_support} +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 +Requires(post): jpackage-utils >= 0:1.7.5 +Requires(postun): jpackage-utils >= 0:1.7.5 BuildArch: noarch -%endif BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot -%if %{gcj_support} -BuildRequires: gnu-crypto -BuildRequires: java-gcj-compat-devel -Requires(post): java-gcj-compat -Requires(postun): java-gcj-compat -%endif %description JTB is a syntax tree builder to be used with the Java Compiler @@ -77,8 +72,6 @@ %package javadoc Summary: Javadoc for %{name} Group: Development/Documentation -Requires(post): /bin/rm,/bin/ln -Requires(postun): /bin/rm %description javadoc %{summary}. @@ -95,7 +88,6 @@ done %build -export JAVA_HOME=%{_jvmdir}/java-1.5.0 ant -Dbuild.sysclasspath=only release %install @@ -122,58 +114,34 @@ install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} cp -pr %{SOURCE4} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/license.html -%if %{gcj_support} -export CLASSPATH=$(build-classpath gnu-crypto) -%{_bindir}/aot-compile-rpm -%endif - %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 -%if %{gcj_support} -if [ -x %{_bindir}/rebuild-gcj-db ] -then - %{_bindir}/rebuild-gcj-db -fi -%endif %postun %update_maven_depmap -%if %{gcj_support} -if [ -x %{_bindir}/rebuild-gcj-db ] -then - %{_bindir}/rebuild-gcj-db -fi -%endif %files %defattr(0644,root,root,0755) %{_javadir}/%{name}*.jar %{_datadir}/maven2/poms/* -%{_mavendepmapfragdir} -%if %{gcj_support} -%dir %attr(-,root,root) %{_libdir}/gcj/%{name} -%attr(-,root,root) %{_libdir}/gcj/%{name}/%{name}-%{version}.jar.* -%endif +%{_mavendepmapfragdir}/* %doc %{_docdir}/%{name}-%{version}/license.html %files javadoc %defattr(0644,root,root,0755) -%{_javadocdir}/%{name}-%{version} -%ghost %{_javadocdir}/%{name} +%doc %{_javadocdir}/%{name}-%{version} +%doc %{_javadocdir}/%{name} %changelog +* Wed Aug 15 2012 Ralph pel <[email protected]> 1.3.2-3 +- First JPP-6 release + +* Mon Dec 08 2008 Will Tatam <[email protected]> 1.3.2-2 +- Auto rebuild for JPackage 5 in mock + * Mon Apr 21 2008 Ralph Apel <r.apel at r-apel.de> - 0:1.3.2-1jpp - First JPP release - Validate build in mock