Name: mate-polkit Version: 1.4.0 Release: 2%{?dist} Summary: Integrates polkit authentication for MATE desktop License: LGPLv2+ and GPLv2+ URL: http://mate-desktop.org Source0: http://pub.mate-desktop.org/releases/1.4/%name-%version.tar.xz BuildRequires: cairo-gobject-devel gobject-introspection-devel gtk2-devel mate-common polkit-devel Provides: PolicyKit-authentication-agent %description Integrates polkit with the MATE Desktop environment %package devel Requires: %{name}%{?_isa} = %{version}-%{release} Summary: Integrates polkit with the MATE Desktop environment %description devel Development libraries for mate-polkit %prep %setup -q NOCONFIGURE=1 ./autogen.sh --disable-static %build %configure --disable-static make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} %find_lang %{name} find %{buildroot} -name '*.la' -exec rm -f {} ';' %post /sbin/ldconfig %postun update-desktop-database &> /dev/null || : /sbin/ldconfig %files -f %{name}.lang %doc AUTHORS COPYING README %config(noreplace) %{_sysconfdir}/xdg/autostart/polkit-mate-authentication-agent-1.desktop %{_libdir}/libpolkit-gtk-mate-1.so.0 %{_libdir}/libpolkit-gtk-mate-1.so.0.0.0 %{_libdir}/girepository-1.0/PolkitGtkMate-1.0.typelib %{_libexecdir}/polkit-mate-authentication-agent-1 %{_datadir}/gir-1.0/PolkitGtkMate-1.0.gir %files devel %{_libdir}/libpolkit-gtk-mate-1.so %{_libdir}/pkgconfig/polkit-gtk-mate-1.pc %{_includedir}/polkit-gtk-mate-1/ %changelog * Sat Aug 18 2012 Dan Mashal 1.4.0-2 - Remove duplicate doc macro, add provides, fix post macro, have devel package own proper dir * Wed Aug 08 2012 Dan Mashal 1.4.0-1 - Initial build