File gq.spec of Package gq

#
# spec file for package gq (Version 1.2.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# 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:        65
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
%patch0

%build
#autoreconf -f -i
#autoconf
gq-%{version}-langpack-1/langpack .
export CFLAGS="-DLDAP_DEPRECATED $RPM_OPT_FLAGS"
%configure \
    --enable-browser-dnd 		\
    --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
openSUSE Build Service is sponsored by