1 Summary: Integrates polkit authentication for MATE desktop
6 Group: X11/Applications
7 URL: http://mate-desktop.org/
8 Source0: http://pub.mate-desktop.org/releases/1.5/%name-%version.tar.xz
9 # Source0-md5: 5639bec0c7667b5be9bbf2bac2931b31
10 BuildRequires: gobject-introspection-devel
11 BuildRequires: gtk+2-devel
12 BuildRequires: mate-common
13 BuildRequires: polkit-devel
14 # needed for gobject-introspection support somehow,
15 # https://bugzilla.redhat.com/show_bug.cgi?id=847419#c17 asserts this is a bug (elsewhere)
16 # but I'm not entirely sure -- rex
17 BuildRequires: cairo-gobject-devel
18 #Provides: PolicyKit-authentication-agent
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Integrates polkit with the MATE Desktop environment
25 Summary: Integrates polkit with the MATE Desktop environment
26 Requires: %{name} = %{version}-%{release}
27 Group: Development/Libraries
30 Development libraries for mate-polkit
34 NOCONFIGURE=1 ./autogen.sh --disable-static
43 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
49 find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
52 rm -rf $RPM_BUILD_ROOT
54 %post -p /sbin/ldconfig
55 %postun -p /sbin/ldconfig
57 %files -f %{name}.lang
58 %defattr(644,root,root,755)
59 # yes, license really is LGPLv2+, despite included COPYING is about GPL, poke upstreamo
60 # to include COPYING.LIB here instead -- rex
61 %doc AUTHORS COPYING README
62 %{_sysconfdir}/xdg/autostart/polkit-mate-authentication-agent-1.desktop
63 %attr(755,root,root) %{_libdir}/libpolkit-gtk-mate-1.so.*.*.*
64 %ghost %{_libdir}/libpolkit-gtk-mate-1.so.0
65 %{_libdir}/girepository-1.0/PolkitGtkMate-1.0.typelib
66 %{_libexecdir}/polkit-mate-authentication-agent-1
69 %defattr(644,root,root,755)
70 %{_libdir}/libpolkit-gtk-mate-1.so
71 %{_pkgconfigdir}/polkit-gtk-mate-1.pc
72 %{_includedir}/polkit-gtk-mate-1
73 %{_datadir}/gir-1.0/PolkitGtkMate-1.0.gir