]>
Commit | Line | Data |
---|---|---|
d9c1c6d8 | 1 | # TODO: recheck cairo-gobject BR |
16e8f251 | 2 | Summary: Integrates polkit authentication for MATE desktop |
d9c1c6d8 | 3 | Summary(pl.UTF-8): Integracja uwierzytelniania polkit ze środowiskiem MATE |
16e8f251 | 4 | Name: mate-polkit |
562f0bda | 5 | Version: 1.8.0 |
16e8f251 ER |
6 | Release: 1 |
7 | License: LGPL v2+ | |
8 | Group: X11/Applications | |
562f0bda JP |
9 | Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz |
10 | # Source0-md5: bd7dfb225e1ba6aac3c5752d496071d8 | |
c0cdb16f | 11 | URL: http://wiki.mate-desktop.org/mate-polkit |
562f0bda JP |
12 | BuildRequires: autoconf |
13 | BuildRequires: automake >= 1:1.9 | |
d9c1c6d8 | 14 | BuildRequires: gettext-devel >= 0.10.40 |
c0cdb16f ER |
15 | BuildRequires: gobject-introspection-devel >= 0.6.2 |
16 | BuildRequires: gtk+2-devel >= 2:2.17.1 | |
d9c1c6d8 JB |
17 | BuildRequires: gtk-doc >= 1.3 |
18 | BuildRequires: intltool >= 0.35.0 | |
562f0bda | 19 | BuildRequires: libtool |
16e8f251 | 20 | BuildRequires: mate-common |
d9c1c6d8 | 21 | BuildRequires: pkgconfig |
c0cdb16f | 22 | BuildRequires: polkit-devel >= 0.97 |
0a8f42f2 ER |
23 | BuildRequires: tar >= 1:1.22 |
24 | BuildRequires: xz | |
16e8f251 ER |
25 | # needed for gobject-introspection support somehow, |
26 | # https://bugzilla.redhat.com/show_bug.cgi?id=847419#c17 asserts this is a bug (elsewhere) | |
27 | # but I'm not entirely sure -- rex | |
28 | BuildRequires: cairo-gobject-devel | |
d9c1c6d8 JB |
29 | Requires: gtk+2 >= 2:2.17.1 |
30 | Requires: polkit-libs >= 0.97 | |
16e8f251 ER |
31 | #Provides: PolicyKit-authentication-agent |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
33 | ||
34 | %description | |
d9c1c6d8 JB |
35 | MATE polkit integrates polkit with the MATE Desktop environment. |
36 | MATE polkit is a fork of GNOME polkit. | |
37 | ||
38 | %description -l pl.UTF-8 | |
39 | Integracja uwierzytelniania polkit ze środowiskiem MATE. MATE polkit | |
40 | to odgałęzienie pakietu GNOME polkit. | |
16e8f251 ER |
41 | |
42 | %package devel | |
d9c1c6d8 JB |
43 | Summary: Development files for mate-polkit library |
44 | Summary(pl.UTF-8): Pliki programistyczne biblioteki mate-polkit | |
16e8f251 | 45 | Group: Development/Libraries |
0a8f42f2 | 46 | Requires: %{name} = %{version}-%{release} |
d9c1c6d8 JB |
47 | Requires: gtk+2-devel >= 2:2.17.1 |
48 | Requires: polkit-devel >= 0.97 | |
16e8f251 ER |
49 | |
50 | %description devel | |
d9c1c6d8 JB |
51 | Development files for mate-polkit library. |
52 | ||
53 | %description devel -l pl.UTF-8 | |
54 | Pliki programistyczne biblioteki mate-polkit. | |
16e8f251 ER |
55 | |
56 | %prep | |
57 | %setup -q | |
16e8f251 ER |
58 | |
59 | %build | |
562f0bda JP |
60 | %{__libtoolize} |
61 | %{__aclocal} -I m4 | |
62 | %{__autoconf} | |
63 | %{__autoheader} | |
64 | %{__automake} | |
16e8f251 | 65 | %configure \ |
d9c1c6d8 | 66 | --disable-silent-rules \ |
16e8f251 ER |
67 | --disable-static |
68 | ||
69 | %{__make} | |
70 | ||
71 | %install | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | %{__make} install \ | |
74 | DESTDIR=$RPM_BUILD_ROOT | |
75 | ||
801319ce | 76 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libpolkit-gtk-mate-1.la |
562f0bda | 77 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cmn |
16e8f251 | 78 | |
801319ce | 79 | %find_lang %{name} |
16e8f251 ER |
80 | |
81 | %clean | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %post -p /sbin/ldconfig | |
85 | %postun -p /sbin/ldconfig | |
86 | ||
87 | %files -f %{name}.lang | |
88 | %defattr(644,root,root,755) | |
d9c1c6d8 | 89 | %doc AUTHORS ChangeLog README |
16e8f251 | 90 | %attr(755,root,root) %{_libdir}/libpolkit-gtk-mate-1.so.*.*.* |
d9c1c6d8 | 91 | %attr(755,root,root) %ghost %{_libdir}/libpolkit-gtk-mate-1.so.0 |
16e8f251 | 92 | %{_libdir}/girepository-1.0/PolkitGtkMate-1.0.typelib |
d9c1c6d8 JB |
93 | %attr(755,root,root) %{_libexecdir}/polkit-mate-authentication-agent-1 |
94 | %{_sysconfdir}/xdg/autostart/polkit-mate-authentication-agent-1.desktop | |
16e8f251 ER |
95 | |
96 | %files devel | |
97 | %defattr(644,root,root,755) | |
d9c1c6d8 | 98 | %attr(755,root,root) %{_libdir}/libpolkit-gtk-mate-1.so |
16e8f251 ER |
99 | %{_includedir}/polkit-gtk-mate-1 |
100 | %{_datadir}/gir-1.0/PolkitGtkMate-1.0.gir | |
d9c1c6d8 | 101 | %{_pkgconfigdir}/polkit-gtk-mate-1.pc |