rpms/jgoodies-forms/F-8 jgoodies-forms-build.patch, NONE, 1.1 jgoodies-forms.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Mary Ellen Foster (mef)
fedora-extras-commits at redhat.com
Tue Oct 30 10:33:05 UTC 2007
- Previous message (by thread): rpms/jgoodies-forms/F-7 jgoodies-forms-build.patch, NONE, 1.1 jgoodies-forms.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/system-config-vsftpd/devel system-config-vsftpd.spec,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mef
Update of /cvs/pkgs/rpms/jgoodies-forms/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15650/F-8
Modified Files:
.cvsignore sources
Added Files:
jgoodies-forms-build.patch jgoodies-forms.spec
Log Message:
jgoodies-forms-build.patch:
--- NEW FILE jgoodies-forms-build.patch ---
--- forms-1.0.7/build.xml.orig 2007-04-12 10:43:01.000000000 +0200
+++ forms-1.0.7/build.xml 2007-04-12 11:02:21.000000000 +0200
@@ -118,8 +118,7 @@
optimize ="${build.compile.optimize}"
source ="${build.compile.source}"
target ="${build.compile.target}"
- verbose ="${build.compile.verbose}"
- bootclasspath="${build.boot.classpath}" />
+ verbose ="${build.compile.verbose}"/>
</target>
<!-- ***************************************************************** -->
@@ -139,7 +138,6 @@
source ="${build.compile.source}"
target ="${build.compile.target}"
verbose ="${build.compile.verbose}"
- bootclasspath="${build.boot.classpath}"
classpathref ="classpath.core" />
</target>
@@ -182,7 +180,6 @@
source ="${build.compile.source}"
target ="${build.compile.target}"
verbose ="${build.compile.verbose}"
- bootclasspath="${build.boot.classpath}"
classpathref ="classpath.tutorial" />
</target>
@@ -202,7 +199,6 @@
author="true"
version="true"
use="true"
- link="${javadoc.link}"
overview="${javadoc.overview}"
windowtitle="${Name} ${spec.version} API"
doctitle="${Name} ${spec.version} API"
--- NEW FILE jgoodies-forms.spec ---
%define shortname forms
Name: jgoodies-forms
Summary: Framework to lay out and implement elegant Swing panels in Java
URL: http://www.jgoodies.com/freeware/forms/
Group: Development/Libraries
Version: 1.1.0
Release: 2%{?dist}
License: BSD
BuildRequires: jpackage-utils >= 0:1.6
BuildRequires: java-devel >= 0:1.4
BuildRequires: ant
Requires: java >= 0:1.4
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
# Unfortunately, the filename has the version in an annoying way
Source0: http://www.jgoodies.com/download/libraries/%{shortname}/%{shortname}-1_1_0.zip
Patch0: %{name}-build.patch
%description
The JGoodies Forms framework helps you lay out and implement elegant Swing
panels quickly and consistently. It makes simple things easy and the hard
stuff possible, the good design easy and the bad difficult.
Main Benefits:
* Powerful, flexible and precise layout
* Easy to work with and quite easy to learn
* Faster UI production
* Better UI code readability
* Leads to better style guide compliance
%package javadoc
Summary: Javadoc documentation for JGoodies Forms
Group: Documentation
%description javadoc
The JGoodies Forms framework helps you lay out and implement elegant Swing
panels quickly and consistently. It makes simple things easy and the hard
stuff possible, the good design easy and the bad difficult.
This package contains the Javadoc documentation for JGoodies Forms.
%prep
%setup -q -n %{shortname}-%{version}
%patch0 -p1
rm %{shortname}-%{version}.jar
rm -r docs/api
%build
export CLASSPATH=""
%ant compile jar javadoc
%install
rm -rf $RPM_BUILD_ROOT
install -p -d $RPM_BUILD_ROOT%{_javadir} \
$RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
install -p -m 644 build/%{shortname}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
cp -pr build/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
# Fix the line endings and the encodings
for file in *.txt *.html docs/*.* docs/reference/* docs/tutorial/* \
src/tutorial/com/jgoodies/forms/tutorial/*.java \
src/tutorial/com/jgoodies/forms/tutorial/*/*.java
do
sed -i 's/\r//' $file
done
for file in docs/reference/*.html docs/tutorial/*.html
do
iconv --from=ISO-8859-1 --to=UTF-8 $file > $file.new
sed -i 's/iso-8859-1/utf-8/' $file.new
mv $file.new $file
done
cd $RPM_BUILD_ROOT%{_javadocdir}
ln -s %{name}-%{version} %{name}
%clean
# rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_javadir}/%{name}-%{version}.jar
%{_javadir}/%{name}.jar
%doc RELEASE-NOTES.txt LICENSE.txt README.html docs/ src/tutorial/
%files javadoc
%defattr(644,root,root,755)
%{_javadocdir}/%{name}-%{version}
%{_javadocdir}/%{name}
%changelog
* Tue Oct 16 2007 Mary Ellen Foster <mefoster at gmail.com> 1.1.0-2
- Fix encoding on HTML files
- Use empty CLASSPATH when building
- Fix indentation in spec file
* Wed Sep 5 2007 Mary Ellen Foster <mefoster at gmail.com> 1.1.0-1
- Initial version for Fedora, based on JPackage spec by Eric Lavarde
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/jgoodies-forms/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 21 Oct 2007 17:07:26 -0000 1.1
+++ .cvsignore 30 Oct 2007 10:32:32 -0000 1.2
@@ -0,0 +1 @@
+forms-1_1_0.zip
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/jgoodies-forms/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 21 Oct 2007 17:07:26 -0000 1.1
+++ sources 30 Oct 2007 10:32:33 -0000 1.2
@@ -0,0 +1 @@
+9e82efab6daab53e845da949c86c3c3d forms-1_1_0.zip
- Previous message (by thread): rpms/jgoodies-forms/F-7 jgoodies-forms-build.patch, NONE, 1.1 jgoodies-forms.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/system-config-vsftpd/devel system-config-vsftpd.spec,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list