2009-06-08 20:47:20 +00:00
|
|
|
Summary: PolicyKit integration for the GNOME desktop
|
|
|
|
Name: polkit-gnome
|
2010-01-15 19:36:35 +00:00
|
|
|
Version: 0.96
|
2010-06-14 05:22:53 +00:00
|
|
|
Release: 2%{?dist}
|
2009-06-09 13:41:30 +00:00
|
|
|
License: LGPLv2+
|
2009-06-08 20:47:20 +00:00
|
|
|
URL: http://www.freedesktop.org/wiki/Software/PolicyKit
|
|
|
|
Group: Applications/System
|
2010-01-05 14:20:25 +00:00
|
|
|
Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.bz2
|
|
|
|
|
2009-06-08 20:47:20 +00:00
|
|
|
BuildRequires: gtk2-devel
|
2010-01-05 14:20:25 +00:00
|
|
|
BuildRequires: polkit-devel >= 0.95-1
|
2009-06-08 20:47:20 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
2009-06-09 23:03:46 +00:00
|
|
|
BuildRequires: intltool
|
2009-09-13 20:29:40 +00:00
|
|
|
BuildRequires: dbus-glib-devel
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
|
2009-09-14 19:58:03 +00:00
|
|
|
Obsoletes: PolicyKit-gnome <= 0.10
|
|
|
|
Provides: PolicyKit-gnome = 0.11
|
|
|
|
Obsoletes: PolicyKit-gnome-libs <= 0.10
|
|
|
|
Provides: PolicyKit-gnome-libs = 0.11
|
2009-09-14 18:19:28 +00:00
|
|
|
|
2009-09-14 20:11:21 +00:00
|
|
|
Provides: PolicyKit-authentication-agent
|
|
|
|
|
2009-09-13 20:29:40 +00:00
|
|
|
Requires: polkit >= 0.95
|
2009-06-08 20:47:20 +00:00
|
|
|
|
2010-06-14 05:22:53 +00:00
|
|
|
# use icons that exist in current icon theme
|
|
|
|
Patch0: new-lock-icons.patch
|
|
|
|
|
2009-06-08 20:47:20 +00:00
|
|
|
%description
|
|
|
|
polkit-gnome provides an authentication agent for PolicyKit
|
|
|
|
that matches the look and feel of the GNOME desktop.
|
|
|
|
|
2009-08-12 19:26:04 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for polkit-gnome
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %name = %{version}-%{release}
|
|
|
|
Requires: %name-docs = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: polkit-devel
|
2009-09-14 19:58:03 +00:00
|
|
|
Obsoletes: PolicyKit-gnome-devel <= 0.10
|
|
|
|
Provides: PolicyKit-gnome-devel = 0.11
|
|
|
|
Obsoletes: PolicyKit-gnome-demo <= 0.10
|
|
|
|
Provides: PolicyKit-gnome-demo = 0.11
|
2009-08-12 19:26:04 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development files for polkit-gnome.
|
|
|
|
|
|
|
|
%package docs
|
|
|
|
Summary: Development documentation for polkit-gnome
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %name-devel = %{version}-%{release}
|
|
|
|
Requires: gtk-doc
|
|
|
|
|
|
|
|
%description docs
|
|
|
|
Development documentation for polkit-gnome.
|
|
|
|
|
2009-06-08 20:47:20 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2010-06-14 12:08:54 +00:00
|
|
|
%patch0 -p1 -b .new-lock-icons
|
2009-06-08 20:47:20 +00:00
|
|
|
|
|
|
|
%build
|
2010-01-15 19:36:35 +00:00
|
|
|
%configure --enable-gtk-doc --disable-introspection
|
2009-06-08 20:47:20 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
2009-08-12 19:26:04 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
|
2009-06-08 20:47:20 +00:00
|
|
|
desktop-file-install --delete-original \
|
2009-07-21 00:30:56 +00:00
|
|
|
--dir $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart \
|
2009-09-03 03:13:45 +00:00
|
|
|
--remove-only-show-in GNOME \
|
2009-07-21 00:30:56 +00:00
|
|
|
$RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
|
2009-06-08 20:47:20 +00:00
|
|
|
|
2010-01-05 14:25:45 +00:00
|
|
|
echo 'NotShowIn=KDE;' >>$RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
|
|
|
|
desktop-file-validate $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
|
|
|
|
|
2009-06-08 20:47:20 +00:00
|
|
|
%find_lang polkit-gnome-1
|
|
|
|
|
2010-06-14 05:22:53 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
2009-06-08 20:47:20 +00:00
|
|
|
|
|
|
|
%files -f polkit-gnome-1.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING AUTHORS README
|
2009-07-21 00:30:56 +00:00
|
|
|
%{_sysconfdir}/xdg/autostart/*
|
2009-06-08 20:47:20 +00:00
|
|
|
%{_libexecdir}/*
|
2009-08-12 19:26:04 +00:00
|
|
|
%{_libdir}/lib*.so.*
|
2010-01-15 19:36:35 +00:00
|
|
|
# %{_libdir}/girepository-1.0/*.typelib
|
2009-08-12 19:26:04 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_includedir}/*
|
2010-01-15 19:36:35 +00:00
|
|
|
# %{_datadir}/gir-1.0/*.gir
|
2009-08-12 19:26:04 +00:00
|
|
|
|
|
|
|
%files docs
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_datadir}/gtk-doc/html/*
|
|
|
|
|
2009-06-08 20:47:20 +00:00
|
|
|
|
|
|
|
%changelog
|
2010-06-14 05:22:53 +00:00
|
|
|
* Mon Jun 14 2010 Matthias Clasen <mclasen@redhat.com> - 0.96-2
|
|
|
|
- Use lock icons that exist in current icon theme
|
|
|
|
- Minor spec file fixes
|
|
|
|
|
2010-01-15 19:36:35 +00:00
|
|
|
* Fri Jan 15 2010 David Zeuthen <davidz@redhat.com> - 0.96-1
|
|
|
|
- Update to release 0.96
|
|
|
|
- Disable introspection support for the time being
|
|
|
|
|
2010-01-05 15:17:53 +00:00
|
|
|
* Tue Jan 5 2010 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.95-2
|
2010-01-05 14:25:45 +00:00
|
|
|
- Don't autostart in KDE on F13+
|
|
|
|
|
2010-01-05 14:20:25 +00:00
|
|
|
* Fri Nov 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-1
|
|
|
|
- Update to release 0.95
|
|
|
|
- Drop upstreamed patches
|
|
|
|
|
|
|
|
* Wed Oct 7 2009 Matthias Clasen <mclasen@redhat.com> - 0.95.0.git20090913.6
|
|
|
|
- Prevent the statusicon from eating whitespace
|
|
|
|
|
2009-09-14 20:11:21 +00:00
|
|
|
* Mon Sep 14 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.5
|
|
|
|
- add Provides: PolicyKit-authentication-agent to satify what PolicyKit-gnome
|
|
|
|
also provided
|
|
|
|
|
2009-09-14 19:58:03 +00:00
|
|
|
* Mon Sep 14 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.4
|
|
|
|
- Refine how Obsolete: is used and also add Provides: (thanks Jesse
|
|
|
|
Keating and nim-nim)
|
|
|
|
|
2009-09-14 18:19:28 +00:00
|
|
|
* Mon Sep 14 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.3
|
|
|
|
- Obsolete old PolicyKit-gnome packages
|
|
|
|
|
2009-09-13 20:40:34 +00:00
|
|
|
* Sun Sep 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.2
|
|
|
|
- Update BR
|
|
|
|
|
2009-09-13 20:29:40 +00:00
|
|
|
* Sun Sep 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.1
|
|
|
|
- Update BR
|
|
|
|
|
2009-09-13 19:54:33 +00:00
|
|
|
* Sun Sep 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913
|
|
|
|
- Update to git snapshot
|
|
|
|
- Turn on GObject introspection
|
|
|
|
|
2009-09-03 03:13:45 +00:00
|
|
|
* Wed Sep 2 2009 Matthias Clasen <mclasen@redhat.com> - 0.94-4
|
|
|
|
- Just remove the OnlyShowIn, it turns out everybody wants this
|
|
|
|
|
2009-08-29 17:43:38 +00:00
|
|
|
* Sat Aug 29 2009 Matthias Clasen <mclasen@redhat.com> - 0.94-3
|
|
|
|
- Require a new enough polkit (#517479)
|
|
|
|
|
2009-08-29 04:29:57 +00:00
|
|
|
* Sat Aug 29 2009 Matthias Clasen <mclasen@redhat.com> - 0.94-2
|
|
|
|
- Show in KDE, too (#519674)
|
|
|
|
|
2009-08-12 19:26:04 +00:00
|
|
|
* Wed Aug 12 2009 David Zeuthen <davidz@redhat.com> - 0.94-1
|
|
|
|
- Update to upstream release 0.94
|
|
|
|
|
2009-07-26 19:08:23 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-21 00:49:12 +00:00
|
|
|
* Mon Jul 20 2009 David Zeuthen <davidz@redhat.com> - 0.93-2
|
|
|
|
- Rebuild
|
|
|
|
|
2009-07-21 00:30:56 +00:00
|
|
|
* Mon Jul 20 2009 David Zeuthen <davidz@redhat.com> - 0.93-1
|
|
|
|
- Update to 0.93
|
|
|
|
|
2009-06-09 23:03:46 +00:00
|
|
|
* Tue Jun 9 2009 Matthias Clasen <mclasen@redhat.com> - 0.9.2-3
|
|
|
|
- Fix BuildRequires
|
|
|
|
|
2009-06-09 13:41:30 +00:00
|
|
|
* Tue Jun 09 2009 David Zeuthen <davidz@redhat.com> - 0.92-2
|
|
|
|
- Change license to LGPLv2+
|
|
|
|
- Remove Requires: gnome-session
|
|
|
|
|
2009-06-08 20:47:20 +00:00
|
|
|
* Mon Jun 08 2009 David Zeuthen <davidz@redhat.com> - 0.92-1
|
|
|
|
- Update to 0.92 release
|
|
|
|
|
|
|
|
* Wed May 27 2009 David Zeuthen <davidz@redhat.com> - 0.92-0.git20090527
|
|
|
|
- Update to 0.92 snapshot
|
|
|
|
|
|
|
|
* Mon Feb 9 2009 David Zeuthen <davidz@redhat.com> - 0.91-1
|
|
|
|
- Initial spec file.
|