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

qboosh qboosh at pld-linux.org
Sat Oct 28 12:42:55 CEST 2006


Author: qboosh                       Date: Sat Oct 28 10:42:55 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/java-libdbus.spec
diff -u /dev/null SPECS/java-libdbus.spec:1.1
--- /dev/null	Sat Oct 28 12:42:55 2006
+++ SPECS/java-libdbus.spec	Sat Oct 28 12:42:50 2006
@@ -0,0 +1,76 @@
+# $Revision$, $Date$
+Summary:	Java 1.5 bindings for D-BUS library
+Summary(pl):	Dowiązania Javy 1.5 dla biblioteki D-BUS
+Name:		java-libdbus
+Version:	1.9
+Release:	1
+# docs are on GPL v2, but no license information in code
+License:	GPL v2 (?)
+Group:		Development/Languages/Java
+Source0:	http://dbus.freedesktop.org/releases/dbus-java/libdbus-java-%{version}.tar.gz
+# Source0-md5:	30097d7a122a11779908d7796cd3e65e
+Patch0:		%{name}-make.patch
+URL:		http://www.freedesktop.org/Software/DBusBindings
+BuildRequires:	dbus-devel >= 0.90
+BuildRequires:	docbook-to-man
+BuildRequires:	jdk >= 1.5
+BuildRequires:	latex2html
+Requires:	dbus-libs >= 0.90
+Requires:	jre >= 1.5
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Java 1.5 bindings for D-BUS library.
+
+%description -l pl
+Dowiązania Javy 1.5 dla biblioteki D-BUS.
+
+%prep
+%setup -q -n libdbus-java-%{version}
+%patch0 -p1
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}" \
+	LD="%{__cc}" \
+	LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	BINPREFIX=$RPM_BUILD_ROOT%{_bindir} \
+	DOCPREFIX=`pwd`/docs \
+	JARPREFIX=$RPM_BUILD_ROOT%{_javadir} \
+	LIBPREFIX=$RPM_BUILD_ROOT%{_libdir} \
+	MANPREFIX=$RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc changelog
+# javadoc
+%doc docs/api
+%attr(755,root,root) %{_bindir}/DBusViewer
+%attr(755,root,root) %{_bindir}/CreateInterface
+%attr(755,root,root) %{_bindir}/ListDBus
+%attr(755,root,root) %{_libdir}/libdbus-java.so
+%{_javadir}/dbus*.jar
+%{_mandir}/man1/DBusViewer.1*
+%{_mandir}/man1/CreateInterface.1*
+%{_mandir}/man1/ListDBus.1*
+
+%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  2006/10/28 10:42:50  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list