polkit-gnome/polkit-gnome.spec

68 lines
1.7 KiB
RPMSpec
Raw Normal View History

2009-06-08 20:47:20 +00:00
Summary: PolicyKit integration for the GNOME desktop
Name: polkit-gnome
Version: 0.92
2009-06-09 23:03:46 +00:00
Release: 3%{?dist}
License: LGPLv2+
2009-06-08 20:47:20 +00:00
URL: http://www.freedesktop.org/wiki/Software/PolicyKit
Group: Applications/System
Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: gtk2-devel
BuildRequires: polkit-devel >= 0.92
BuildRequires: desktop-file-utils
2009-06-09 23:03:46 +00:00
BuildRequires: intltool
2009-06-08 20:47:20 +00:00
# Tecnically we should have
#
# Requires: gnome-session
#
# for %{_datadir}/gnome/autostart but since e.g. XFCE wants to avoid
# too many GNOME dependencies avoid doing that.
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.
%prep
%setup -q
%build
%configure
2009-06-08 20:47:20 +00:00
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
desktop-file-install --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/gnome/autostart \
$RPM_BUILD_ROOT%{_datadir}/gnome/autostart/polkit-gnome-authentication-agent-1.desktop
%find_lang polkit-gnome-1
%clean
rm -rf $RPM_BUILD_ROOT
%files -f polkit-gnome-1.lang
%defattr(-,root,root,-)
%doc COPYING AUTHORS README
%{_datadir}/gnome/autostart/*
%{_libexecdir}/*
%changelog
2009-06-09 23:03:46 +00:00
* Tue Jun 9 2009 Matthias Clasen <mclasen@redhat.com> - 0.9.2-3
- Fix BuildRequires
* 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.