]> git.pld-linux.org Git - packages/mate-polkit.git/blob - mate-polkit.spec
new, version 1.5.0
[packages/mate-polkit.git] / mate-polkit.spec
1 Summary:        Integrates polkit authentication for MATE desktop
2 Name:           mate-polkit
3 Version:        1.5.0
4 Release:        1
5 License:        LGPL v2+
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)
20
21 %description
22 Integrates polkit with the MATE Desktop environment
23
24 %package devel
25 Summary:        Integrates polkit with the MATE Desktop environment
26 Requires:       %{name} = %{version}-%{release}
27 Group:          Development/Libraries
28
29 %description devel
30 Development libraries for mate-polkit
31
32 %prep
33 %setup -q
34 NOCONFIGURE=1 ./autogen.sh --disable-static
35
36 %build
37 %configure \
38         --disable-static
39
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %find_lang %{name}
48
49 find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
50
51 %clean
52 rm -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.040292 seconds and 3 git commands to generate.