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

qboosh qboosh at pld-linux.org
Sun Aug 12 12:54:05 CEST 2007


Author: qboosh                       Date: Sun Aug 12 10:54:04 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/java-libmatthew.spec
diff -u /dev/null SPECS/java-libmatthew.spec:1.1
--- /dev/null	Sun Aug 12 12:54:04 2007
+++ SPECS/java-libmatthew.spec	Sun Aug 12 12:53:59 2007
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.java
+Summary:	Selection of Java libraries by Matthew Johnson
+Summary(pl.UTF-8):	Wybrane biblioteki Javy autorstwa Matthew Johnsona
+Name:		java-libmatthew
+Version:	0.3
+Release:	1
+License:	LGPL v2.1
+Group:		Development/Languages/Java
+Source0:	http://www.matthew.ath.cx/projects/java/libmatthew-java-%{version}.tar.gz
+# Source0-md5:	3af916ba15bc9c0608437c42ca870b82
+URL:		http://www.matthew.ath.cx/projects/java/
+BuildRequires:	jpackage-utils
+BuildRequires:	rpm-javaprov
+BuildRequires:	rpmbuild(macros) >= 1.300
+Requires:	jpackage-utils
+ExclusiveArch:	i586 i686 pentium3 pentium4 athlon %{x8664} noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Selection of Java libraries by Matthew Johnson, including:
+- Unix Sockets Library,
+- Debug Library,
+- CGI Library,
+- I/O Library.
+
+%description -l pl.UTF-8
+Wybrane biblioteki Javy autorstwa Matthew Johnsona, w tym:
+- Unix Sockets Library - biblioteka gniazd uniksowych,
+- Debug Library - biblioteka diagnostyczna,
+- CGI Library - biblioteka CGI,
+- I/O Library - biblioteka wejścia/wyjścia.
+
+%prep
+%setup -q -n libmatthew-java-%{version}
+
+%build
+%{__make} \
+	JAVA_HOME="%{java_home}" \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} -fPIC -std=c99 -Wall" \
+	LD="%{__cc}" \
+	LDFLAGS="%{rpmldflags} -shared"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	PREFIX=%{_prefix} \
+	LIBDIR=%{_jnidir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README changelog
+%attr(755,root,root) %{_jnidir}/libcgi-java.so
+%attr(755,root,root) %{_jnidir}/libunix-java.so
+%{_javadir}/cgi*.jar
+%{_javadir}/debug-disable*.jar
+%{_javadir}/debug-enable*.jar
+%{_javadir}/hexdump*.jar
+%{_javadir}/io*.jar
+%{_javadir}/unix*.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  2007/08/12 10:53:59  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list