]>
Commit | Line | Data |
---|---|---|
70d60b45 | 1 | Summary: GNOME dialogs for PolicyKit |
4e11cd41 | 2 | Summary(pl.UTF-8): Okna dialogowe GNOME dla pakietu PolicyKit |
76100e07 | 3 | Name: PolicyKit-gnome |
4e96e2a3 | 4 | Version: 0.6 |
70d60b45 | 5 | Release: 1 |
76100e07 JB |
6 | License: GPL v2+ |
7 | Group: X11/Applications | |
944b7184 | 8 | Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.bz2 |
4e96e2a3 | 9 | # Source0-md5: efda5749835fba0ee7ff8eb8f3fda393 |
76100e07 | 10 | URL: http://people.freedesktop.org/~david/polkit-spec.html |
1a3eab22 | 11 | BuildRequires: PolicyKit-devel >= 0.5 |
76100e07 JB |
12 | BuildRequires: autoconf >= 2.50 |
13 | BuildRequires: automake >= 1:1.9 | |
14 | BuildRequires: dbus-glib-devel >= 0.71 | |
15 | BuildRequires: gnome-common >= 2.0 | |
16 | BuildRequires: gtk+2-devel >= 2:2.6.0 | |
4e96e2a3 | 17 | BuildRequires: intltool >= 0.35.0 |
76100e07 JB |
18 | BuildRequires: libgnomeui-devel >= 2.14.0 |
19 | BuildRequires: libtool | |
20 | BuildRequires: pkgconfig | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
70d60b45 MB |
24 | PolicyKit-gnome provides a D-BUS session bus service that is used to |
25 | bring up authentication dialogs used for obtaining privileges. | |
76100e07 JB |
26 | |
27 | %description -l pl.UTF-8 | |
4e11cd41 JB |
28 | Pakiet PolicyKit-gnome udostępnia usługę magistrali sesji D-BUS |
29 | służącą do wyświetlania okien dialogowych uwierzytelniania w celu | |
30 | uzyskania uprawnień. | |
76100e07 | 31 | |
70d60b45 MB |
32 | %package demo |
33 | Summary: Demo application for PolicyKit-gnome | |
4e11cd41 | 34 | Summary(pl.UTF-8): Aplikacja demonstracyjna dla pakietu PolicyKit-gnome |
70d60b45 MB |
35 | Group: X11/Applications |
36 | Requires: %{name} = %{version}-%{release} | |
37 | ||
38 | %description demo | |
39 | PolicyKit-gnome-demo provides a sample application that demonstrates | |
40 | the features of both PolicyKit and PolicyKit-gnome. You normally don't | |
41 | want to have this package installed. | |
42 | ||
4e11cd41 JB |
43 | %description demo -l pl.UTF-8 |
44 | Pakiet PolicyKit-gnome-demo zawiera przykładową aplikację | |
45 | demonstrującą możliwości pakietów PolicyKit i PolicyKit-gnome. Zwykle | |
46 | ten pakiet nie powinien być instalowany. | |
47 | ||
76100e07 JB |
48 | %prep |
49 | %setup -q | |
50 | ||
51 | %build | |
4e96e2a3 | 52 | %{__intltoolize} |
76100e07 JB |
53 | %{__libtoolize} |
54 | %{__aclocal} | |
55 | %{__autoconf} | |
56 | %{__autoheader} | |
57 | %{__automake} | |
58 | %configure | |
59 | %{__make} | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %{__make} install \ | |
65 | DESTDIR=$RPM_BUILD_ROOT | |
66 | ||
4e96e2a3 MB |
67 | %find_lang %{name} |
68 | ||
76100e07 JB |
69 | %clean |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
4e96e2a3 | 72 | %files -f %{name}.lang |
76100e07 JB |
73 | %defattr(644,root,root,755) |
74 | %doc AUTHORS NEWS TODO | |
70d60b45 MB |
75 | %attr(755,root,root) %{_libdir}/polkit-gnome-manager |
76 | %{_datadir}/dbus-1/services/org.gnome.PolicyKit.service | |
77 | ||
78 | %files demo | |
79 | %defattr(644,root,root,755) | |
76100e07 | 80 | %attr(755,root,root) %{_bindir}/polkit-gnome-example |
70d60b45 | 81 | %attr(755,root,root) %{_libdir}/polkit-gnome-example-helper |
76100e07 | 82 | %{_datadir}/PolicyKit/policy/polkit-gnome-example.policy |