David Zeuthen 28642c2
%define libgnomeui_version 2.9.1
David Zeuthen 28642c2
%define krb5_version 1.4
3e381d0
%define libnm_version 0.5
8446c26
%define dbus_version 0.90
David Zeuthen 28642c2
cvsdist e4a2a8f
Summary: Kerberos 5 authentication dialog
cvsdist e4a2a8f
Name: krb5-auth-dialog
8e28fde
Version: 0.16
530a98c
Release: 1%{?dist}
75ffaaa
License: GPLv2+
cvsdist e4a2a8f
Group: User Interface/X
c5813a2
URL: https://honk.sigxcpu.org/piki/projects/krb5-auth-dialog/
c0e037e
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{version}/%{name}-%{version}.tar.bz2
David Zeuthen 28642c2
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
9435fd9
BuildRequires: krb5-devel >= %{krb5_version}
0729c38
BuildRequires: dbus-devel >= %{dbus_version}
36210d1
BuildRequires: perl-XML-Parser, gettext
38c2ec5
BuildRequires: intltool
526d3e3
BuildRequires: libnotify-devel
d8ece68
BuildRequires: gnome-doc-utils
948d6b2
BuildRequires: scrollkeeper
76fae96
%ifnarch s390 s390x
76fae96
BuildRequires: NetworkManager-glib-devel >= %{libnm_version}
76fae96
%endif
David Zeuthen 28642c2
Requires: libgnomeui >= %{libgnomeui_version}
9435fd9
Requires: krb5-libs >= %{krb5_version}
8c32e8d
Requires(pre): GConf2
8c32e8d
Requires(post): GConf2
8c32e8d
Requires(preun): GConf2
cvsdist e4a2a8f
cvsdist e4a2a8f
%description
cvsdist e4a2a8f
This package contains a dialog that warns the user when their Kerberos
cvsdist e4a2a8f
tickets are about to expire and lets them renew them.
cvsdist e4a2a8f
cvsdist e4a2a8f
%prep
cvsdist e4a2a8f
%setup -q
cvsdist e4a2a8f
cvsdist e4a2a8f
%build
cvsdist e4a2a8f
%configure
cvsdist e4a2a8f
make
cvsdist e4a2a8f
cvsdist e4a2a8f
%install
c0e037e
rm -rf $RPM_BUILD_ROOT
c0e037e
make install DESTDIR=$RPM_BUILD_ROOT
c0e037e
a89e88f
rm -f $RPM_BUILD_ROOT%{_libdir}/krb5-auth-dialog/*.la
a89e88f
rm -f $RPM_BUILD_ROOT%{_libdir}/krb5-auth-dialog/*.a
a89e88f
f61e30c
%find_lang %{name} --with-gnome
cvsdist e4a2a8f
cvsdist e4a2a8f
%clean
c0e037e
rm -rf $RPM_BUILD_ROOT
cvsdist e4a2a8f
cvsdist e4a2a8f
ea9fc69
%files -f %name.lang
cvsdist e4a2a8f
%defattr(-,root,root,-)
cvsdist e4a2a8f
%doc
8c32e8d
%{_sysconfdir}/gconf/schemas/*.schemas
c5813a2
%{_bindir}/krb5-auth-dialog*
cvsdist e4a2a8f
%{_datadir}/krb5-auth-dialog/
c5813a2
%{_datadir}/applications/krb5-auth-dialog-preferences.desktop
c5813a2
%{_datadir}/dbus-1/services/org.gnome.KrbAuthDialog.service
c0e037e
%{_datadir}/icons/*
c0e037e
%{_mandir}/man1/*
c0e037e
%{_sysconfdir}/xdg/autostart/krb5-auth-dialog.desktop
a89e88f
%{_libdir}/krb5-auth-dialog
c0e037e
cvsdist e4a2a8f
8c32e8d
%post
8c32e8d
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
8c32e8d
gconftool-2 --makefile-install-rule \
8c32e8d
        %{_sysconfdir}/gconf/schemas/krb5-auth-dialog.schemas >/dev/null || :
8c32e8d
8c32e8d
%pre
8c32e8d
if [ "$1" -gt 1 ]; then
8c32e8d
    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
8c32e8d
    gconftool-2 --makefile-uninstall-rule \
8c32e8d
      %{_sysconfdir}/gconf/schemas/krb5-auth-dialog.schemas &> /dev/null || :
8c32e8d
fi
8c32e8d
8c32e8d
%preun
8c32e8d
if [ "$1" -eq 0 ]; then
8c32e8d
    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
8c32e8d
    gconftool-2 --makefile-uninstall-rule \
8c32e8d
      %{_sysconfdir}/gconf/schemas/krb5-auth-dialog.schemas &> /dev/null || :
8c32e8d
fi
cvsdist e4a2a8f
cvsdist e4a2a8f
%changelog
8e28fde
* Thu Jul  1 2010 Matthias Clasen <mclasen@redhat.com> - 0.16-1
8e28fde
- Update to 0.16
8e28fde
3387c4c
* Tue Apr  6 2010 Matthias Clasen <mclasen@redhat.com> - 0.15-1
3387c4c
- Update to 0.15
3387c4c
530a98c
* Wed Oct 21 2009 Matěj Cepl <mcepl@redhat.com> - 0.13-1
530a98c
- New upstream release (fixes #530001)
530a98c
0165534
* Fri Sep 25 2009 Matthias Clasen <mclasen@redhat.com> - 0.12-2
0165534
- Fix the preferences dialog
0165534
4a7a5d3
* Sat Aug 29 2009 Matthias Clasen <mclasen@redhat.com> - 0.12-1
4a7a5d3
- Update to 0.12
4a7a5d3
- Rebuild against new libnm_glib
4a7a5d3
ea28060
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-2
ea28060
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ea28060
c0e037e
* Fri Jun 12 2009 Matěj Cepl <mcepl@redhat.com> - 0.10-1
c0e037e
- Catch up with upstream release again.
c0e037e
c0e037e
* Thu Apr 23 2009 Matthias Clasen <mclasen@redhatcom> - 0.8-4
c0e037e
- Don't show bubbles before the icon is there
c0e037e
- Use the same invisible char as the rest of the world
c5813a2
fcf808b
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-3
fcf808b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
fcf808b
526d3e3
* Wed Jan 14 2009 Colin Walters <walters@verbum.org> - 0.8-2
526d3e3
- BR notify, pointed out by Bojan Smojver <bojan@rexursive.com>
526d3e3
8c32e8d
* Tue Jan 13 2009 Colin Walters <walters@verbum.org> - 0.8-1
8c32e8d
- New upstream release
8c32e8d
- Remove both patches; they are upstreamed
8c32e8d
- Add gconf spec goo
8c32e8d
- Add new stuff to files list
8c32e8d
9f19985
* Mon Feb 18 2008 Christopher Aillon <caillon@redhat.com> - 0.7-7
9f19985
- Rebuild to celebrate my birthday (and GCC 4.3)
9f19985
6d3a169
* Thu Nov  1 2007 Matthias Clasen <mclasen@redhat.com> - 0.7-6
6d3a169
- Fix the Comment field in the desktop file (#344351)
6d3a169
6b8f241
* Mon Oct 22 2007 Christopher Aillon <caillon@redhat.com> - 0.7-5
6b8f241
- Don't start multiple times in KDE (#344991)
6b8f241
2207207
* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> - 0.7-4
2207207
- Rebuild for build ID
2207207
75ffaaa
* Mon Aug 13 2007 Christopher Aillon <caillon@redhat.com> 0.7-3
75ffaaa
- Update the license tag
75ffaaa
d551c65
* Thu Mar 15 2007 Karsten Hopp <karsten@redhat.com> 0.7-2
d551c65
- rebuild with current gtk2 to add png support (#232013)
d551c65
6cc7bd1
* Mon Jul 24 2006 Christopher Aillon <caillon@redhat.com> - 0.7-1
6cc7bd1
- Update to 0.7
6cc7bd1
- Don't peg the network and CPU when the KDC is unavailable
6cc7bd1
8446c26
* Wed Jul 19 2006 John (J5) Palmieri <johnp@redhat.com> - 0.6.cvs20060212-4
c0e037e
- rebuild for dbus 
8446c26
1d0f1b0
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.6.cvs20060212-3.1
1d0f1b0
- rebuild
1d0f1b0
76fae96
* Sat Jun 24 2006 Jesse Keating <jkeating@redhat.com> - 0.6.cvs20060212-3
36210d1
- Add missing BRs perl-XML-Parser, gettext
76fae96
- Work around no network manager stuff on z900s
36210d1
4e748b7
* Sun Feb 12 2006 Christopher Aillon <caillon@redhat.com> - 0.6.cvs20060212-1
4e748b7
- Update to latest CVS to get some of Nalin's fixes
4e748b7
4e748b7
* Tue Feb  7 2006 Jesse Keating <jkeating@redhat.com> - 0.6-1.1
f6871c4
- rebuilt for new gcc4.1 snapshot and glibc changes
f6871c4
a1f7d42
* Tue Jan 31 2006 Christopher Aillon <caillon@redhat.com> 0.6-1
a1f7d42
- Update to 0.6, adding an autostart file
a1f7d42
4e748b7
* Fri Dec  9 2005 Jesse Keating <jkeating@redhat.com> - 0.5-2.1
5611aba
- rebuilt
5611aba
4e748b7
* Thu Dec  1 2005 John (J5) Palmieri <johnp@redhat.com> - 0.5-2
0729c38
- rebuild for new dbus
0729c38
a955cad
* Tue Nov  8 2005 Christopher Aillon <caillon@redhat.com> 0.5-1
a955cad
- Update to 0.5
a955cad
ea9fc69
* Tue Nov  1 2005 Christopher Aillon <caillon@redhat.com> 0.4-1
ea9fc69
- Update to 0.4
ea9fc69
3e381d0
* Mon Oct 31 2005 Christopher Aillon <caillon@redhat.com> 0.3-1
3e381d0
- Update to 0.3, working with newer versions of krb5 and NetworkManager
3e381d0
David Zeuthen 1dbda04
* Tue Aug 16 2005 David Zeuthen <davidz@redhat.com>
David Zeuthen 1dbda04
- Rebuilt
David Zeuthen 1dbda04
9435fd9
* Tue Mar 22 2005 Nalin Dahyabhai <nalin@redhat.com> 0.2-5
9435fd9
- Change Requires: krb5 to krb5-libs, repeat $ -> % fix for build requirements.
9435fd9
1da6107
* Tue Mar 22 2005 Dan Williams <dcbw@redhat.com> 0.2-4
1da6107
- Fix $ -> % for Requires: krb5 >= ...
1da6107
David Zeuthen 28642c2
* Mon Mar 21 2005 David Zeuthen <davidz@redhat.com> 0.2-3
David Zeuthen 28642c2
- Fix up BuildRequires and Requires (#134704)
David Zeuthen 28642c2
David Zeuthen 874fdc7
* Fri Mar  4 2005 David Zeuthen <davidz@redhat.com> 0.2-2
David Zeuthen 874fdc7
- Rebuild
David Zeuthen 874fdc7
cvsdist e4a2a8f
* Mon Aug 16 2004 GNOME <jrb@redhat.com> - auth-dialog
cvsdist e4a2a8f
- Initial build.
c0e037e