]> git.pld-linux.org Git - packages/mate-polkit.git/blob - mate-polkit.spec
tar.xz deps
[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 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
15 BuildRequires:  xz
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)
22
23 %description
24 Integrates polkit with the MATE Desktop environment
25
26 %package devel
27 Summary:        Integrates polkit with the MATE Desktop environment
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}-%{release}
30
31 %description devel
32 Development libraries for mate-polkit
33
34 %prep
35 %setup -q
36 NOCONFIGURE=1 ./autogen.sh --disable-static
37
38 %build
39 %configure \
40         --disable-static
41
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %find_lang %{name}
50
51 find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %post   -p /sbin/ldconfig
57 %postun -p /sbin/ldconfig
58
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
69
70 %files devel
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
This page took 0.060963 seconds and 4 git commands to generate.