Group :: Databases
RPM: gq
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: gq
Version: 1.0.1
Release: alt2.1
Serial: 1
Summary: GQ is an interactive graphical LDAP browser
Summary(ru_RU.UTF-8): GQ - графический LDAP клиент.
License: GPL
Group: Databases
Url: http://biot.com/%name
Packager: Dmitry Lebkov <dlebkov at altlinux.ru>
Source0: http://prdownloads.sourceforge.net/gqclient/%name-%version.tar.gz
Source1: http://prdownloads.sourceforge.net/gqclient/%name-%version-langpack-1.tar.gz
#Requires: gdk-pixbuf
Requires: gtk+2
Requires: libsasl2
Requires: libgnome-keyring
BuildPreReq: libsasl2-devel
# Automatically added by buildreq on Tue Oct 16 2007
BuildRequires: libgcrypt-devel libglade-devel libgnome-keyring-devel libldap-devel libssl-devel perl-XML-Parser
%description
GQ is GTK+ LDAP client and browser utility. It can be used
for searching LDAP directory as well as browsing it using a
tree view.
%description -l ru_RU.UTF-8
GQ это LDAP клиент основанный на GTK+. Его можно использовать для посика в LDAP каталоге, а также для просмотра каталога в виде "дерева".
%prep
%setup -q -n %name-%version
tar -xvf %SOURCE1
gq-1.0.1-langpack-1/langpack .
%build
%configure \
--enable-browser-dnd \
--enable-cache \
--disable-update-mimedb \
--with-keyring-api=gnome \
--with-localedir=%_datadir/locale
# --with-kerberos-prefix=/lib/krb5/
%make_build
%install
%makeinstall
install -d %buildroot%_iconsdir
install -m 644 icons/new.xpm %buildroot%_iconsdir/%name.xpm
# menu support
install -d %buildroot%_menudir
cat << EOF > %buildroot%_menudir/%name
?package(%name): longtitle="%summary" \
command="%_bindir/%name" title="%name" needs="x11" \
section="Applications/Databases" \
icon="%name.xpm"
EOF
%post
%update_menus
%postun
%clean_menus
%files
%doc README INSTALL COPYING ChangeLog NEWS TODO AUTHORS
%_bindir/%name
%_menudir/%name
%_iconsdir/%{name}*
%_pixmapsdir/%name/*
%_desktopdir/%name.desktop
%_datadir/locale/*/LC_MESSAGES/*.mo
%changelog
…
Full changelog you can see here
Version: 1.0.1
Release: alt2.1
Serial: 1
Summary: GQ is an interactive graphical LDAP browser
Summary(ru_RU.UTF-8): GQ - графический LDAP клиент.
License: GPL
Group: Databases
Url: http://biot.com/%name
Packager: Dmitry Lebkov <dlebkov at altlinux.ru>
Source0: http://prdownloads.sourceforge.net/gqclient/%name-%version.tar.gz
Source1: http://prdownloads.sourceforge.net/gqclient/%name-%version-langpack-1.tar.gz
#Requires: gdk-pixbuf
Requires: gtk+2
Requires: libsasl2
Requires: libgnome-keyring
BuildPreReq: libsasl2-devel
# Automatically added by buildreq on Tue Oct 16 2007
BuildRequires: libgcrypt-devel libglade-devel libgnome-keyring-devel libldap-devel libssl-devel perl-XML-Parser
%description
GQ is GTK+ LDAP client and browser utility. It can be used
for searching LDAP directory as well as browsing it using a
tree view.
%description -l ru_RU.UTF-8
GQ это LDAP клиент основанный на GTK+. Его можно использовать для посика в LDAP каталоге, а также для просмотра каталога в виде "дерева".
%prep
%setup -q -n %name-%version
tar -xvf %SOURCE1
gq-1.0.1-langpack-1/langpack .
%build
%configure \
--enable-browser-dnd \
--enable-cache \
--disable-update-mimedb \
--with-keyring-api=gnome \
--with-localedir=%_datadir/locale
# --with-kerberos-prefix=/lib/krb5/
%make_build
%install
%makeinstall
install -d %buildroot%_iconsdir
install -m 644 icons/new.xpm %buildroot%_iconsdir/%name.xpm
# menu support
install -d %buildroot%_menudir
cat << EOF > %buildroot%_menudir/%name
?package(%name): longtitle="%summary" \
command="%_bindir/%name" title="%name" needs="x11" \
section="Applications/Databases" \
icon="%name.xpm"
EOF
%post
%update_menus
%postun
%clean_menus
%files
%doc README INSTALL COPYING ChangeLog NEWS TODO AUTHORS
%_bindir/%name
%_menudir/%name
%_iconsdir/%{name}*
%_pixmapsdir/%name/*
%_desktopdir/%name.desktop
%_datadir/locale/*/LC_MESSAGES/*.mo
%changelog
…
Full changelog you can see here