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