[Jpackage-commits] dist/tcode/devel .cvsignore, 1.1, 1.2 sources, 1.1, 1.2 tcode.spec, NONE, 1.1

jpackage jpackage at ryu.zarb.org
Sat Jun 26 10:49:07 CEST 2010


Update of /home/projects/jpackage/cvs/dist/tcode/devel
In directory ryu.zarb.org:/tmp/cvs-serv15234/devel

Modified Files:
	.cvsignore sources 
Added Files:
	tcode.spec 
Log Message:
Import tcode into devel

--- NEW FILE: tcode.spec ---
# Copyright (c) 2000-2010, 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:           tcode
Version:        2008.9.17
Release:        1%{?dist}
Summary:        Extract Java Source from LaTex

Group:          Development/Libraries
License:        GPL
URL:            http://www.iro.umontreal.ca/~simardr/ssj/ssj-source.html

Source0:        http://www.iro.umontreal.ca/~simardr/ssj/tcode-20080917.zip
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  ant >= 1.6.5
BuildRequires:  java-devel >= 1.6.0
BuildRequires:  jpackage-utils >= 0:5.0.0

Requires:       java >= 1.6.0
Requires:       jpackage-utils >= 0:5.0.0

Requires(post):    jpackage-utils >= 0:5.0.0
Requires(postun):  jpackage-utils >= 0:5.0.0

BuildArch:      noarch

%description
Tcode is a small program that creates a Java file from an 
associated LaTex file. All our code is written in LaTex 
format with special commands that allows  Tcode to extract 
the Java code from the LaTex file. After which, Javadoc and
LaTeX2HTML will create the HTML documentation. This 
guarantees that the source code and its documentation will 
never diverge. 

%prep
%setup -q -n %{name}

%build
%ant 

%install
%__rm -rf %{buildroot}

# jar
%__mkdir_p %{buildroot}%{_javadir}
%__install -m 644 %{name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do \
%__ln_s ${jar} ${jar/-%{version}/}; done)

# data
%__mkdir_p %{buildroot}%{_datadir}/%{name}
%__cp -a * %{buildroot}%{_datadir}/%{name}
%__rm -rf %{buildroot}%{_datadir}/%{name}/build*

%clean
%__rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc README
%{_javadir}/*.jar
%{_datadir}/%{name}

%changelog
* Sat Jun 26 2010 Ralph Apel <r.apel at r-apel.de> 2008.9.17-1
- First release


Index: sources
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/tcode/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** sources	26 Jun 2010 08:47:10 -0000	1.1
--- sources	26 Jun 2010 08:49:04 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ 4dee60db259e553903120e8d141e26ee  tcode-20080917.zip

Index: .cvsignore
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/tcode/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** .cvsignore	26 Jun 2010 08:47:10 -0000	1.1
--- .cvsignore	26 Jun 2010 08:49:04 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ tcode-20080917.zip




More information about the JPackage-commits mailing list