[Bug 713933] New: Request for a F15 version of snakeyaml
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: Request for a F15 version of snakeyaml
https://bugzilla.redhat.com/show_bug.cgi?id=713933
Summary: Request for a F15 version of snakeyaml
Product: Fedora
Version: 15
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: unspecified
Priority: unspecified
Component: snakeyaml
AssignedTo: jcapik(a)redhat.com
ReportedBy: nathanael(a)gnat.ca
QAContact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
jcapik(a)redhat.com
Classification: Fedora
Story Points: ---
Description of problem:
snakeyaml hasn't been created for F15
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. yum install snakeyaml
2.
3.
Actual results:
No package
Expected results:
rpm installed
Additional info:
I'm asking for this as it is necessary for me to complete the packaging of
yedit for eclipse
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
12 years, 9 months
[jpathwatch] Initial import (#718188).
by Jaromír Cápík
commit 94b693bdc0e2fd392876abc884b448fd432ef62d
Author: Jaromír Cápík <jcapik(a)redhat.com>
Date: Fri Jul 8 14:10:57 2011 +0200
Initial import (#718188).
.gitignore | 1 +
jpathwatch-fsf-address.patch | 12 +++++
jpathwatch.spec | 98 ++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 112 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..83a1ae6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jpathwatch-0.94.tar.gz
diff --git a/jpathwatch-fsf-address.patch b/jpathwatch-fsf-address.patch
new file mode 100644
index 0000000..9cfb917
--- /dev/null
+++ b/jpathwatch-fsf-address.patch
@@ -0,0 +1,12 @@
+diff -Naur jpathwatch.orig/LICENSE.txt jpathwatch/LICENSE.txt
+--- jpathwatch.orig/LICENSE.txt 2011-02-17 15:13:12.000000000 +0100
++++ jpathwatch/LICENSE.txt 2011-07-01 10:57:54.514615080 +0200
+@@ -3,7 +3,7 @@
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 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.
diff --git a/jpathwatch.spec b/jpathwatch.spec
new file mode 100644
index 0000000..9600077
--- /dev/null
+++ b/jpathwatch.spec
@@ -0,0 +1,98 @@
+
+%global site_ver 0-94
+
+Name: jpathwatch
+Version: 0.94
+Release: 2%{?dist}
+Summary: Java library for monitoring directories for changes
+License: GPLv2
+Group: Development/Libraries
+# http://jpathwatch.wordpress.com/
+URL: http://%{name}.wordpress.com/
+# wget http://jpathwatch.svn.sourceforge.net/viewvc/jpathwatch/branches/0-94/jpa... -O jpathwatch-0.94.tar.gz
+# wget http://%{name}.svn.sourceforge.net/viewvc/%{name}/branches/%{site_ver}/%{name}/?view=tar -O %{name}-%{version}.tar.gz
+Source0: %{name}-%{version}.tar.gz
+
+Patch0: %{name}-fsf-address.patch
+
+ExclusiveArch: x86_64 %{ix86}
+
+BuildRequires: java-devel
+BuildRequires: jpackage-utils
+BuildRequires: ant
+
+Requires: java
+Requires: jpackage-utils
+
+# can't debug .so in jars
+%global debug_package %{nil}
+
+%description
+jpatchwatch is a Java library for monitoring directories
+for changes. It uses the host platform’s native OS functions
+to achieve this to avoid polling.
+
+The following events on a directory can be monitored:
+
+ - File creation and deletion
+ - File modification
+ - File renaming
+ - Changes in subdirectories (recursive monitoring)
+ - Invalidation (a watched directory becomes unavailable)
+
+
+%package javadoc
+Summary: API documentation for %{name}
+Group: Documentation
+Requires: jpackage-utils
+BuildArch: noarch
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q -n %{name}
+
+%patch0 -p1
+
+%build
+
+# native part
+cd %{name}-native/prj/linux/%{name}-native-linux
+%ifarch x86_64
+ make DEFAULTCONF=Release_x86-64bit %{?_smp_mflags}
+%else
+ make DEFAULTCONF=Release_x86-32bit %{?_smp_mflags}
+%endif
+
+# java part
+cd ../../../..
+ant -Dplatforms.JDK_1.5.home=%{_jvmdir}/java jar
+
+# javadoc target exists but doesn't work - generating
+find %{name}-java/src -name '*.java' | xargs javadoc -classpath dist:%{name}-%{site_ver}.jar -d doc
+
+%install
+
+# jars
+install -d -m 755 %{buildroot}%{_jnidir}
+install -p -m 644 dist/%{name}-%{site_ver}.jar %{buildroot}%{_jnidir}/%{name}.jar
+
+# javadoc
+install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
+cp -pr doc/* %{buildroot}%{_javadocdir}/%{name}
+
+%files
+%doc README.txt LICENSE.txt
+%{_jnidir}/%{name}.jar
+
+%files javadoc
+%doc LICENSE.txt
+%doc %{_javadocdir}/%{name}
+
+%changelog
+* Thu Jul 07 2011 Jaromir Capik <jcapik(a)redhat.com> - 0.94-2
+- Architecture dependent jar file moved to %{_jnidir}
+
+* Thu Jun 30 2011 Jaromir Capik <jcapik(a)redhat.com> - 0.94-1
+- Initial version of the package
diff --git a/sources b/sources
index e69de29..818e350 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+eaa095069320f50b98e35a5e61026c62 jpathwatch-0.94.tar.gz
12 years, 9 months