File gq.spec of Package gq

#
# spec file for package gq (Version 1.2.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           gq
BuildRequires:  glib2-devel gnome-common gnome-keyring-devel gtk2-devel krb5-devel libglade2-devel libxml2-devel openldap2-devel perl-XML-Parser pkgconfig shared-mime-info update-desktop-files
License:        GPL v2 or later
Group:          Productivity/Networking/LDAP/Clients
AutoReqProv:    on
Summary:        An LDAP Client for GTK
Version:        1.2.3
Release:        1
Url:            http://gq-project.org/
Source0:        gq-%{version}.tar.bz2
Source1:        gq-%{version}-langpack-1.tar.bz2
Patch0:         gq-%{version}-ia64.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
An LDAP client for GTK.



Authors:
--------
    Bert Vermeulen <bert@biot.com>

%prep
%setup -q
%setup -T -D -a 1
%patch

%build
#autoreconf -f -i
#autoconf
gq-%{version}-langpack-1/langpack .
export CFLAGS="-DLDAP_DEPRECATED $RPM_OPT_FLAGS"
%configure \
    --enable-browser-dnd 		\
    --with-kerberos-prefix=/usr/lib	\
    --disable-update-mimedb
%__make %{?jobs:-j%jobs}

%install
%makeinstall
%suse_update_desktop_file %name System ServiceConfiguration

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_prefix}/bin/gq
%{_datadir}/pixmaps/gq/
#%{prefix}/share/locale/*/LC_MESSAGES/gq.mo
%{_datadir}/applications/gq.desktop
%{_datadir}/gq
%{_datadir}/mime/packages/gq-ldif.xml

%changelog
* Fri Mar 21 2008 jpr@suse.de
- Resurrect gq (bnc #9512)
openSUSE Build Service is sponsored by