[packages/java-swing-layout] new, version 1.0.4
glen
glen at pld-linux.org
Wed Aug 27 21:26:38 CEST 2014
commit 9871bb0cee18c187f59998853daff10b71323bbc
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Aug 27 22:26:11 2014 +0300
new, version 1.0.4
based on fedora package
b69e54fa68f0dd0f27539cea2a0b413aa22e6bbb
fix-incorrect-fsf-address.patch | 20 +++++++++++++++++
java-swing-layout.spec | 49 +++++++++++++++++++++++++++++++++++++++++
project_properties.patch | 13 +++++++++++
3 files changed, 82 insertions(+)
---
diff --git a/java-swing-layout.spec b/java-swing-layout.spec
new file mode 100644
index 0000000..6c03fd0
--- /dev/null
+++ b/java-swing-layout.spec
@@ -0,0 +1,49 @@
+%define srcname swing-layout
+%include /usr/lib/rpm/macros.java
+Summary: Natural layout for Swing panels
+Name: java-%{srcname}
+Version: 1.0.4
+Release: 1
+License: LGPL v2
+Group: Libraries/Java
+# https://svn.java.net/svn/swing-layout~svn/trunk/
+Source0: http://pkgs.fedoraproject.org/repo/pkgs/swing-layout/%{name}-%{version}-src.zip/dddf900113dfd94658d0d0504cb78a8c/swing-layout-%{version}-src.zip
+# Source0-md5: dddf900113dfd94658d0d0504cb78a8c
+# from http://java.net/jira/secure/attachment/27303/pom.xml
+# use javac target/source 1.5
+Patch0: project_properties.patch
+Patch1: fix-incorrect-fsf-address.patch
+URL: https://swing-layout.dev.java.net/
+BuildRequires: ant
+BuildRequires: jdk >= 1.3
+BuildRequires: jpackage-utils >= 1.6
+Requires: jre >= 1.3
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Extensions to Swing to create professional cross platform layout.
+
+%prep
+%setup -q -n %{srcname}-%{version}
+%undos releaseNotes.txt COPYING nbproject/project.properties
+%patch0 -p0
+%patch1 -p0
+
+%build
+%ant jar
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_javadir}
+cp -p dist/%{srcname}.jar $RPM_BUILD_ROOT%{_javadir}/%{srcname}-%{version}.jar
+ln -s %{srcname}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{srcname}.jar
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc releaseNotes.txt COPYING
+%{_javadir}/%{srcname}-%{version}.jar
+%{_javadir}/%{srcname}.jar
diff --git a/fix-incorrect-fsf-address.patch b/fix-incorrect-fsf-address.patch
new file mode 100644
index 0000000..b7c70d8
--- /dev/null
+++ b/fix-incorrect-fsf-address.patch
@@ -0,0 +1,20 @@
+--- COPYING 2006-06-07 16:53:26.000000000 +0200
++++ COPYING-gil 2012-12-09 10:34:58.592675729 +0100
+@@ -13,7 +13,7 @@
+ Version 2.1, February 1999
+
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
++ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+@@ -496,7 +496,7 @@
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
++ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+ Also add information on how to contact you by electronic and paper mail.
+
diff --git a/project_properties.patch b/project_properties.patch
new file mode 100644
index 0000000..15d5488
--- /dev/null
+++ b/project_properties.patch
@@ -0,0 +1,13 @@
+--- nbproject/project.properties 2009-10-27 17:54:48.000000000 +0100
++++ nbproject/project.properties-gil 2012-12-09 10:41:50.618599320 +0100
+@@ -30,8 +30,8 @@
+ # Space-separated list of extra javac options
+ javac.compilerargs=-g:lines
+ javac.deprecation=false
+-javac.source=1.4
+-javac.target=1.4
++javac.source=1.5
++javac.target=1.5
+ javac.test.classpath=\
+ ${javac.classpath}:\
+ ${build.classes.dir}:\
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/java-swing-layout.git/commitdiff/9871bb0cee18c187f59998853daff10b71323bbc
More information about the pld-cvs-commit
mailing list