SPECS: java-libextractor.spec (NEW) - new

qboosh qboosh at pld-linux.org
Mon Aug 15 13:17:00 CEST 2005


Author: qboosh                       Date: Mon Aug 15 11:17:00 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   java-libextractor.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/java-libextractor.spec
diff -u /dev/null SPECS/java-libextractor.spec:1.1
--- /dev/null	Mon Aug 15 13:17:00 2005
+++ SPECS/java-libextractor.spec	Mon Aug 15 13:16:55 2005
@@ -0,0 +1,80 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	javac	# use java/javac instead of gij/gcj
+#
+Summary:	Java support for libextractor
+Summary(pl):	Wiązania Javy dla biblioteki libextractor
+Name:		java-libextractor
+Version:	0.5.1
+Release:	1
+License:	GPL
+Group:		Libraries
+Source0:	http://gnunet.org/libextractor/download/libextractor-java-%{version}.tar.gz
+# Source0-md5:	208c3126965c0f27293775a140297ef0
+Patch0:		libextractor-java-destdir.patch
+URL:		http://gnunet.org/libextractor/
+BuildRequires:	autoconf >= 2.57
+BuildRequires:	automake
+BuildRequires:	libextractor-devel >= %{version}
+%if %{with javac}
+BuildRequires:	jdk
+%else
+BuildRequires:	gcc-java
+%endif
+Requires:	jre
+Requires:	libextractor >= %{version}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Java support for libextractor.
+
+%description -l pl
+Wiązania Javy dla biblioteki libextractor.
+
+%prep
+%setup -q -n libextractor-java-%{version}
+%patch0 -p1
+
+%build
+%{__aclocal} -I m4
+%{__autoconf}
+%{__automake}
+%if %{with javac}
+# Sun java requires . in CLASSPATH for configure test
+export CLASSPATH=.
+%endif
+%configure \
+	%{!?with_javac:JAVA=gij}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/libextractor_java.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_libdir}/libextractor_java.so.*.*.*
+%attr(755,root,root) %{_libdir}/libextractor_java.so
+%{_javadir}/libextractor.jar
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/08/15 11:16:55  qboosh
+- new
================================================================



More information about the pld-cvs-commit mailing list