]> git.pld-linux.org Git - packages/mate-polkit.git/blob - mate-polkit.spec
- up to 1.8.0
[packages/mate-polkit.git] / mate-polkit.spec
1 # TODO: recheck cairo-gobject BR
2 Summary:        Integrates polkit authentication for MATE desktop
3 Summary(pl.UTF-8):      Integracja uwierzytelniania polkit ze środowiskiem MATE
4 Name:           mate-polkit
5 Version:        1.8.0
6 Release:        1
7 License:        LGPL v2+
8 Group:          X11/Applications
9 Source0:        http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
10 # Source0-md5:  bd7dfb225e1ba6aac3c5752d496071d8
11 URL:            http://wiki.mate-desktop.org/mate-polkit
12 BuildRequires:  autoconf
13 BuildRequires:  automake >= 1:1.9
14 BuildRequires:  gettext-devel >= 0.10.40
15 BuildRequires:  gobject-introspection-devel >= 0.6.2
16 BuildRequires:  gtk+2-devel >= 2:2.17.1
17 BuildRequires:  gtk-doc >= 1.3
18 BuildRequires:  intltool >= 0.35.0
19 BuildRequires:  libtool
20 BuildRequires:  mate-common
21 BuildRequires:  pkgconfig
22 BuildRequires:  polkit-devel >= 0.97
23 BuildRequires:  tar >= 1:1.22
24 BuildRequires:  xz
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
29 Requires:       gtk+2 >= 2:2.17.1
30 Requires:       polkit-libs >= 0.97
31 #Provides:      PolicyKit-authentication-agent
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
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.
41
42 %package devel
43 Summary:        Development files for mate-polkit library
44 Summary(pl.UTF-8):      Pliki programistyczne biblioteki mate-polkit
45 Group:          Development/Libraries
46 Requires:       %{name} = %{version}-%{release}
47 Requires:       gtk+2-devel >= 2:2.17.1
48 Requires:       polkit-devel >= 0.97
49
50 %description devel
51 Development files for mate-polkit library.
52
53 %description devel -l pl.UTF-8
54 Pliki programistyczne biblioteki mate-polkit.
55
56 %prep
57 %setup -q
58
59 %build
60 %{__libtoolize}
61 %{__aclocal} -I m4
62 %{__autoconf}
63 %{__autoheader}
64 %{__automake}
65 %configure \
66         --disable-silent-rules \
67         --disable-static
68
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libpolkit-gtk-mate-1.la
77 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cmn
78
79 %find_lang %{name}
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)
89 %doc AUTHORS ChangeLog README
90 %attr(755,root,root) %{_libdir}/libpolkit-gtk-mate-1.so.*.*.*
91 %attr(755,root,root) %ghost %{_libdir}/libpolkit-gtk-mate-1.so.0
92 %{_libdir}/girepository-1.0/PolkitGtkMate-1.0.typelib
93 %attr(755,root,root) %{_libexecdir}/polkit-mate-authentication-agent-1
94 %{_sysconfdir}/xdg/autostart/polkit-mate-authentication-agent-1.desktop
95
96 %files devel
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libdir}/libpolkit-gtk-mate-1.so
99 %{_includedir}/polkit-gtk-mate-1
100 %{_datadir}/gir-1.0/PolkitGtkMate-1.0.gir
101 %{_pkgconfigdir}/polkit-gtk-mate-1.pc
This page took 0.032764 seconds and 4 git commands to generate.