File gq.spec of Package gq
#
# spec file for package gq
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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 https://bugs.opensuse.org/
#
Name: gq
Version: 1.3.5+git20151216
Release: 0
Summary: Interactive graphical LDAP browser
License: GPL-2.0-or-later
Group: Productivity/Networking/LDAP/Clients
URL: http://www.biot.com/%{name}/
Source0: %{name}-%{version}.tar.xz
BuildRequires: automake
BuildRequires: cyrus-sasl-devel
BuildRequires: gnome-common
BuildRequires: gnome-keyring-devel
BuildRequires: gtk2-devel
BuildRequires: krb5-devel
BuildRequires: libgcrypt-devel
BuildRequires: libglade2-devel
BuildRequires: libxml2-devel
BuildRequires: openldap2-devel
BuildRequires: perl-XML-Parser
BuildRequires: shared-mime-info
BuildRequires: update-desktop-files
%description
GQ is a GTK+ LDAP client and browser utility. It can be used for searching a LDAP directory as well as browsing it using a tree view. Furthermore, it lets you inspect the LDAP schema a server is using.
%prep
%setup -q
%{__chmod} a-x AUTHORS COPYING ChangeLog NEWS README README-first TODO
%build
%{_bindir}/autoreconf -fi -I macros
%configure --enable-silent-rules --enable-browser-dnd --disable-update-mimedb --disable-debugging --with-kerberos-prefix
%make_build
%{__strip} -s src/%{name}
%install
%make_install
%suse_update_desktop_file %{name} System ServiceConfiguration
%check
%files
%defattr(-,root,root,-)
%attr(755,root,root) %{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}
%{_datadir}/mime/packages/%{name}-ldif.xml
%{_datadir}/pixmaps/%{name}/
%doc AUTHORS ChangeLog NEWS README README-first TODO
%license COPYING
%changelog