Name: lbe
Summary: Excellent LDAP browser and editor
Version: 2.8.1
Release: 2.2
License: Free to use
Group: Applications/System
URL: http://www-unix.mcs.anl.gov/~gawor/ldap/
Description: The LDAP Browser/Editor allows users to view the items stored in a LDAP
directory in an hierarchical manner. It also allows modifications of the
LDAP contents if the user is logged in as the Directory Manager.
The LDAP objects are displayed in the form of a tree and all attributes of the entries in the form of a table.
The build could not start because the following file is missing: Browser281.tar.gz
The build could not start because the following file is missing: Browser281.tar.gz
The spec file used by the build system currently has the following contents:
# $Id$ # Authority: dag # Upstream: Jarek Gawor <gawojar$iit,edu> %define real_name Browser %define real_version 281 Summary: Excellent LDAP browser and editor Name: lbe Version: 2.8.1 Release: 2.2%{?dist} License: Free to use Group: Applications/System URL: http://www-unix.mcs.anl.gov/~gawor/ldap/ Source: http://www-unix.mcs.anl.gov/~gawor/ldapcommon/bin/%{real_name}%{real_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch #Requires: j2re >= 1.2.2 %description The LDAP Browser/Editor allows users to view the items stored in a LDAP directory in an hierarchical manner. It also allows modifications of the LDAP contents if the user is logged in as the Directory Manager. The LDAP objects are displayed in the form of a tree and all attributes of the entries in the form of a table. %prep %setup -n ldapbrowser %{__cat} <<'EOF' >lbe.sh #!/bin/sh if [ ! -d "$JAVA_HOME" ] ; then if [ -d "%{_libdir}/jre" ]; then JAVA_HOME="%{_libdir}/jre" else JAVA_HOME="/usr/java" fi fi if [ ! -d "$HOME/.lbe/" ]; then mkdir -p "$HOME/.lbe/" cp -a %{_datadir}/lbe/*.{cfg,config} "$HOME/.lbe/" ln -sf %{_datadir}/lbe/help/ "$HOME/.lbe/" ln -sf %{_datadir}/lbe/templates/ "$HOME/.lbe/" fi JNDI_LIB="%{_datadir}/lbe/ldap.jar:%{_datadir}/lbe/jndi.jar:%{_datadir}/lbe/providerutil.jar:%{_datadir}/lbe/ldapbp.jar" JSSE_LIB="%{_datadir}/lbe/jsse.jar:%{_datadir}/lbe/jnet.jar:%{_datadir}/lbe/jcert.jar" cd "$HOME/.lbe/" exec ${JAVA_HOME}/bin/java -cp ".:${JNDI_LIB}:${JSSE_LIB}:%{_datadir}/lbe/browser.jar" lbe.ui.BrowserApp EOF %build %install %{__rm} -rf %{buildroot} %{__install} -d -m0755 %{buildroot}%{_datadir}/lbe/help/ \ %{buildroot}%{_datadir}/lbe/templates/ \ %{buildroot}%{_bindir} %{__install} -Dp -m0755 lbe.sh %{buildroot}%{_datadir}/lbe/lbe.sh %{__ln_s} -f %{_datadir}/lbe/lbe.sh %{buildroot}%{_bindir}/lbe %{__install} -p -m0644 *.cfg* *.config* %{buildroot}%{_datadir}/lbe/ %{__install} -p -m0644 help/*.html %{buildroot}%{_datadir}/lbe/help/ %{__install} -p -m0644 lib/*.jar %{buildroot}%{_datadir}/lbe/ %{__install} -p -m0644 *.jar %{buildroot}%{_datadir}/lbe/ %{__install} -p -m0644 templates/* %{buildroot}%{_datadir}/lbe/templates/ %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc *.html CHANGES.TXT LICENSE* %{_bindir}/* %{_datadir}/lbe/ %changelog * Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 2.8.1-2.2 - Rebuild for Fedora Core 5. * Tue Aug 09 2005 Dag Wieers <dag@wieers.com> - 2.8.1-2 - Changed into a noach package. (C.Lee Taylor) * Tue Sep 02 2003 Dag Wieers <dag@wieers.com> - 2.8.1-1 - Fixed help and templates. * Mon Sep 01 2003 Dag Wieers <dag@wieers.com> - 2.8.1-0 - Initial package. (using DAR)