rpms/jazzy/devel 0001-No-hardcoded-class-paths.patch, NONE, 1.1 jazzy.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Lubomir Rintel lkundrak at fedoraproject.org
Thu Dec 3 09:49:51 UTC 2009


Author: lkundrak

Update of /cvs/pkgs/rpms/jazzy/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12864/devel

Modified Files:
	.cvsignore sources 
Added Files:
	0001-No-hardcoded-class-paths.patch jazzy.spec 
Log Message:
Initial import of jazzy

0001-No-hardcoded-class-paths.patch:
 build.xml |    3 ---
 1 file changed, 3 deletions(-)

--- NEW FILE 0001-No-hardcoded-class-paths.patch ---
>From 1427c9680f512fee9eee6920cc09874fb8de20b3 Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <lkundrak at v3.sk>
Date: Mon, 23 Nov 2009 19:03:22 +0100
Subject: [PATCH] No hardcoded class-paths

---
 .build.xml.swp |  Bin 4096 -> 0 bytes
 build.xml      |    2 --
 2 files changed, 0 insertions(+), 2 deletions(-)
 delete mode 100644 .build.xml.swp

diff --git a/.build.xml.swp b/.build.xml.swp
deleted file mode 100644
index e0373c42c8b741f88c6f3ce71b7cdf9569f83b33..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 4096
zcmYc?2=nw+FxN9;00IF91_KWP=UGv~3=_;47;>^p^HPcuvq4h$KuJ+)Q4T%@P`Nso
zf%-)Sxk;s&IVt*1p`Jc2`dNupRh7C1dZv0t`e1Rrid<q0B*M;7C8HrQ8UnBo;AJp2
tGBi+DQdAHY3WW)d(xV|T8UmvsFd71*Aut*OqaiRF0;3@?8UiCE1OR;89MS*)

diff --git a/build.xml b/build.xml
index a2b6938..5c882e3 100644
--- a/build.xml
+++ b/build.xml
@@ -160,7 +160,6 @@
   	<jar jarfile="${dist}/lib/jazzy-swing.jar" basedir="${build}" includes="com/swabunga/spell/swing/**,${extrafiles}">
   	  	<manifest>
   			<attribute name="Built-By" value="${user.name}"/>
-  			<attribute name="Class-Path" value="jazzy-core.jar"/>
   		</manifest>
   	</jar>
   </target>
@@ -169,7 +168,6 @@
  	<jar jarfile="${dist}/lib/jazzy-examples.jar" basedir="${build}" includes="com/swabunga/spell/examples/**,${extrafiles}">
   		<manifest>
   			<attribute name="Built-By" value="${user.name}"/>
-  			<attribute name="Class-Path" value="jazzy-core.jar  $jazzy-swing.jar"/>
   			<attribute name="Main-Class" value="com.swabunga.spell.examples.JTextComponentSpellCheckExample"/>
   		</manifest>
   	</jar>
-- 
1.6.2.5



--- NEW FILE jazzy.spec ---
Name:           jazzy
Version:        0.5.2
Release:        2%{?dist}
Summary:        Java-based spell checker

Group:          Applications/Text
License:        LGPLv2+
URL:            http://sourceforge.net/projects/jazzy
Source0:        http://downloads.sourceforge.net/project/jazzy/Jazzy/Jazzy-%{version}/jazzy-%{version}.src.zip
Patch0:         0001-No-hardcoded-class-paths.patch
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires:  ant
BuildRequires:  unzip
BuildRequires:  jpackage-utils
Requires:       jpackage-utils

BuildArch:      noarch

%description
Jazzy is a pure Java library implementing a spell checking algorithm
similar to aspell. It may be used to spell check a variety of sources.


%package javadoc
Summary:        Javadoc for %{name}
Group:          Documentation
Requires:       %{name} = %{version}-%{release}

%description javadoc
Java API Documentation for %{name}.


%prep
%setup -q -c
%patch0 -p1 -b .classpath
find -name '*.jar' -delete


%build
ant binary-release javadoc

# Get rid of CP/M line enxoding
for F in *.txt
do
        sed 's/\r//' <$F >temp
        touch -r $F temp
        mv temp $F
done


%install
rm -rf $RPM_BUILD_ROOT

# Code
install -d $RPM_BUILD_ROOT%{_javadir}/%{name}
find dist -name '*.jar' |while read F
do
        BASE=$(basename $F)
        VER=$(echo $BASE |sed 's/\.jar$/-%{version}.jar/')
        install -p -m644 $F $RPM_BUILD_ROOT%{_javadir}/%{name}/$VER
        ln -s $VER $RPM_BUILD_ROOT%{_javadir}/%{name}/$BASE
done

# Documentation
install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -a javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%{_javadir}/%{name}
%doc CONTRIBUTORS.txt example2.txt LICENSE.txt README.txt


%files javadoc
%defattr(-,root,root,-)
%{_javadocdir}/%{name}-%{version}


%changelog
* Mon Nov 30 2009 Lubomir Rintel <lkundrak at v3.sk> - 0.5.2-2
- Add missing dash to jar file name (Alexander Kurtakov, #540653#c2)

* Mon Nov 23 2009 Lubomir Rintel <lkundrak at v3.sk> - 0.5.2-1
- Initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/jazzy/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	3 Dec 2009 06:40:29 -0000	1.1
+++ .cvsignore	3 Dec 2009 09:49:51 -0000	1.2
@@ -0,0 +1 @@
+jazzy-0.5.2.src.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/jazzy/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	3 Dec 2009 06:40:30 -0000	1.1
+++ sources	3 Dec 2009 09:49:51 -0000	1.2
@@ -0,0 +1 @@
+6e0ac23646e6a60be3dc953cc77210c2  jazzy-0.5.2.src.zip




More information about the scm-commits mailing list