rpms/yydebug/F-13 add-javadocs-to-makefile.patch, NONE, 1.1 clean-up-broken-makefile.patch, NONE, 1.1 import.log, NONE, 1.1 yydebug.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Mohammed Morsi
mmorsi at fedoraproject.org
Mon May 10 20:37:11 UTC 2010
- Previous message: rpms/yydebug/devel add-javadocs-to-makefile.patch, NONE, 1.1 clean-up-broken-makefile.patch, NONE, 1.1 import.log, NONE, 1.1 yydebug.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/yydebug/F-12 add-javadocs-to-makefile.patch, NONE, 1.1 clean-up-broken-makefile.patch, NONE, 1.1 import.log, NONE, 1.1 yydebug.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mmorsi
Update of /cvs/pkgs/rpms/yydebug/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv18558/F-13
Modified Files:
.cvsignore sources
Added Files:
add-javadocs-to-makefile.patch clean-up-broken-makefile.patch
import.log yydebug.spec
Log Message:
Initial yydebug commit
add-javadocs-to-makefile.patch:
makefile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
--- NEW FILE add-javadocs-to-makefile.patch ---
--- makefile.sav 2010-05-05 11:57:46.000000000 +0300
+++ makefile 2010-05-05 12:04:37.504052246 +0300
@@ -2,9 +2,14 @@
JAR = jar
JAVAC = javac
+JAVADOC = javadoc
-all: yydebug.jar
+all: yydebug.jar javadocs
yydebug.jar:
$(JAVAC) *.java -d .
$(JAR) cf yydebug.jar jay/yydebug/*.class
+
+javadocs:
+ mkdir javadocs
+ $(JAVADOC) -d ./javadocs *.java
clean-up-broken-makefile.patch:
makefile | 27 +++++----------------------
1 file changed, 5 insertions(+), 22 deletions(-)
--- NEW FILE clean-up-broken-makefile.patch ---
diff -U makefile makefile
--- makefile 2006-03-10 15:49:48.000000000 -0500
+++ makefile 2010-01-21 14:06:41.000000000 -0500
@@ -1,27 +1,10 @@
# jay/yydebug [leaf]
-v4 = /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Commands
-
-JAR = $(v4)/jar
-JAVAC = $(v4)/javac -classpath ../..
-
-d = jay/yydebug
-go = yyDebug.class yyDebugAdapter.class yyAnim.class \
- yyAnimPanel.class yyInputStream.class yyPrintStream.class \
- yyJInputStream.class
+JAR = jar
+JAVAC = javac
all: yydebug.jar
-clean: ; rm -f *.class src.jar doc-files/*.jar
-dist: all src.jar ; cp yydebug.jar src.jar doc-files
-distclean: clean ; rm -f yydebug.jar
-test: all
-
-yydebug.jar: $(go)
- cd ../.. && $(JAR) cf $d/$@ $d/*.class
-
-src.jar: $(go:.class=.java) makefile package.html
- cd ../.. && $(JAR) cf $d/$@ $d/*.java $d/makefile $d/package.html
-.SUFFIXES:
-.SUFFIXES: .class .java
-.java.class: ; $(JAVAC) $*.java
+yydebug.jar:
+ $(JAVAC) *.java -d .
+ $(JAR) cf yydebug.jar jay/yydebug/*.class
--- NEW FILE import.log ---
yydebug-1_1_0-5_fc11:F-13:yydebug-1.1.0-5.fc11.src.rpm:1273523963
--- NEW FILE yydebug.spec ---
Name: yydebug
Version: 1.1.0
Release: 5%{?dist}
Summary: Supports tracing and animation for a Java-based parser generated by jay
Group: Development/Debuggers
License: BSD
URL: http://www.cs.rit.edu/~ats/projects/lp/doc/jay/yydebug/package-summary.html
Source0: http://www.cs.rit.edu/~ats/projects/lp/doc/jay/yydebug/doc-files/src.jar
Patch0: clean-up-broken-makefile.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=561452
Patch1: add-javadocs-to-makefile.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: java-devel
BuildRequires: jpackage-utils
Requires: java
Requires: jpackage-utils
BuildArch: noarch
%description
jay/yydebug supports tracing and animation for a Java-based parser generated
by jay. An implementation of yyDebug is passed as an additional argument to
yyparse() to trace a Java-based parser generated by jay with option -t set.
yyDebugAdapter produces one-line messages, by default to standard output.
The messages are designed to be filtered by a program such as grep. yyAnim
provides an animation of the parsing process
%package javadoc
Summary: Javadocs for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release}
Requires: jpackage-utils
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n jay/yydebug
%patch0
%patch1
find ./ -name '*.jar' -exec rm -f '{}' \;
find ./ -name '*.class' -exec rm -f '{}' \;
%build
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_javadir}
cp yydebug.jar $RPM_BUILD_ROOT%{_javadir}/yydebug-%{version}.jar
ln -s %{_javadir}/yydebug-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/yydebug.jar
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
cp -rp javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_javadir}/yydebug-%{version}.jar
%{_javadir}/yydebug.jar
%doc package.html
%files javadoc
%defattr(-,root,root,-)
%{_javadocdir}/%{name}
%changelog
* Thu May 06 2010 Mohammed Morsi <mmorsi at redhat.com> - 1.1.0-5
- added my name which was missing in this changelog
* Wed May 05 2010 Mohammed Morsi <mmorsi at redhat.com> - 1.1.0-4
- added Alexander Kurtakov's patch to generate javadocs
- added javadoc bits to the spec
* Tue May 04 2010 Mohammed Morsi <mmorsi at redhat.com> - 1.1.0-3
- BSD license retrieved from 'jay' superproject
- http://svn.codehaus.org/jruby/trunk/jay/jay.1
* Tue Apr 27 2010 Mohammed Morsi <mmorsi at redhat.com> - 1.1.0-2
- removed gcj bits
* Thu Jan 21 2009 Mohammed Morsi <mmorsi at redhat.com> - 1.1.0-1
- Initial build.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/yydebug/F-13/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 9 May 2010 02:11:45 -0000 1.1
+++ .cvsignore 10 May 2010 20:37:11 -0000 1.2
@@ -0,0 +1 @@
+src.jar
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/yydebug/F-13/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 9 May 2010 02:11:45 -0000 1.1
+++ sources 10 May 2010 20:37:11 -0000 1.2
@@ -0,0 +1 @@
+0774224122dfcdbefdd87be6eff6c16d src.jar
- Previous message: rpms/yydebug/devel add-javadocs-to-makefile.patch, NONE, 1.1 clean-up-broken-makefile.patch, NONE, 1.1 import.log, NONE, 1.1 yydebug.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/yydebug/F-12 add-javadocs-to-makefile.patch, NONE, 1.1 clean-up-broken-makefile.patch, NONE, 1.1 import.log, NONE, 1.1 yydebug.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list