]> git.pld-linux.org Git - packages/mate-polkit.git/blame - mate-polkit.spec
new, version 1.5.0
[packages/mate-polkit.git] / mate-polkit.spec
CommitLineData
16e8f251
ER
1Summary: Integrates polkit authentication for MATE desktop
2Name: mate-polkit
3Version: 1.5.0
4Release: 1
5License: LGPL v2+
6Group: X11/Applications
7URL: http://mate-desktop.org/
8Source0: http://pub.mate-desktop.org/releases/1.5/%name-%version.tar.xz
9# Source0-md5: 5639bec0c7667b5be9bbf2bac2931b31
10BuildRequires: gobject-introspection-devel
11BuildRequires: gtk+2-devel
12BuildRequires: mate-common
13BuildRequires: 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
17BuildRequires: cairo-gobject-devel
18#Provides: PolicyKit-authentication-agent
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Integrates polkit with the MATE Desktop environment
23
24%package devel
25Summary: Integrates polkit with the MATE Desktop environment
26Requires: %{name} = %{version}-%{release}
27Group: Development/Libraries
28
29%description devel
30Development libraries for mate-polkit
31
32%prep
33%setup -q
34NOCONFIGURE=1 ./autogen.sh --disable-static
35
36%build
37%configure \
38 --disable-static
39
40%{__make}
41
42%install
43rm -rf $RPM_BUILD_ROOT
44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
46
47%find_lang %{name}
48
49find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%post -p /sbin/ldconfig
55%postun -p /sbin/ldconfig
56
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
67
68%files devel
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
This page took 0.035274 seconds and 4 git commands to generate.