File krb5-auth-dialog.spec of Package krb5-auth-dialog

#
# spec file for package krb5-auth-dialog
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 Dominique Leuenberger, Almere, The Netherlands.
#
# 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:           krb5-auth-dialog
Summary:        Kerberos 5 ticket monitoring tray applet
Version:        0.17
Release:        3
Source:         %{name}-%{version}.tar.bz2
License:        GPLv2+
Group:          Productivity/Security
Url:            http://download.gnome.org/sources/krb5-auth-dialog/
BuildRequires:  NetworkManager-devel
BuildRequires:  bison
BuildRequires:  dbus-1-glib-devel
BuildRequires:  flex
BuildRequires:  gconf2-devel
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  gtk2-devel
BuildRequires:  intltool
BuildRequires:  krb5-devel
BuildRequires:  libnotify-devel
BuildRequires:  pam-devel
BuildRequires:  pkg-config
BuildRequires:  update-desktop-files
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
krb5-auth-dialog is a tray applet that monitors and refreshes your
Kerberos ticket. It pops up reminders when the ticket is about to
expire.

It features ticket autorenewal and supports pkinit.


%lang_package
%prep
%setup -q

%build
%configure \
        --disable-static \
        --disable-scrollkeeper \
        --with-gtk=2.0
%__make %{?jobs:-j%jobs}

%install
%makeinstall
find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
%suse_update_desktop_file %{name}
%suse_update_desktop_file %{name}-preferences
%find_lang %{name} %{?no_lang_C}
%find_gconf_schemas

%clean
rm -rf %{buildroot}

%pre -f %{name}.schemas_pre

%preun -f %{name}.schemas_preun

%posttrans -f %{name}.schemas_posttrans

%if 0%{?suse_version} > 1130

%post
%desktop_database_post
%icon_theme_cache_post
%endif

%if 0%{?suse_version} > 1130

%postun
%desktop_database_postun
%icon_theme_cache_postun
%endif

%files -f %{name}.schemas_list
%defattr(-,root,root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/%{name}/
%doc %{_datadir}/gnome/help/%{name}/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/%{name}/
%doc %{_datadir}/omf/%{name}/%{name}-C.omf
%{_bindir}/%{name}*
%{_libdir}/%{name}/
%{_datadir}/%{name}
%{_datadir}/applications/*.desktop
%{_datadir}/dbus-1/services/org.gnome.KrbAuthDialog.service
%{_datadir}/icons/hicolor/*/status/krb*.*
%{_sysconfdir}/xdg/autostart/*.desktop
%doc %{_mandir}/man?/*.*

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by