]> git.pld-linux.org Git - packages/PolicyKit-gnome.git/blob - PolicyKit-gnome.spec
691ec1252a2c17c7fd73442118db332e1c69ab1d
[packages/PolicyKit-gnome.git] / PolicyKit-gnome.spec
1 #
2 # TODO:
3 # - update pl summary and description
4 #
5 Summary:        GNOME dialogs for PolicyKit
6 Summary(pl.UTF-8):      PolicyKit - narzędzia dla GNOME
7 Name:           PolicyKit-gnome
8 Version:        0.6
9 Release:        1
10 License:        GPL v2+
11 Group:          X11/Applications
12 Source0:        http://hal.freedesktop.org/releases/%{name}-%{version}.tar.bz2
13 # Source0-md5:  efda5749835fba0ee7ff8eb8f3fda393
14 URL:            http://people.freedesktop.org/~david/polkit-spec.html
15 BuildRequires:  PolicyKit-devel >= 0.5
16 BuildRequires:  autoconf >= 2.50
17 BuildRequires:  automake >= 1:1.9
18 BuildRequires:  dbus-glib-devel >= 0.71
19 BuildRequires:  gnome-common >= 2.0
20 BuildRequires:  gtk+2-devel >= 2:2.6.0
21 BuildRequires:  intltool >= 0.35.0
22 BuildRequires:  libgnomeui-devel >= 2.14.0
23 BuildRequires:  libtool
24 BuildRequires:  pkgconfig
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 PolicyKit-gnome provides a D-BUS session bus service that is used to
29 bring up authentication dialogs used for obtaining privileges.
30
31 %description -l pl.UTF-8
32 PolicyKit - narzędzia dla GNOME.
33
34 %package demo
35 Summary:        Demo application for PolicyKit-gnome
36 Group:          X11/Applications
37 Requires:       %{name} = %{version}-%{release}
38
39 %description demo
40 PolicyKit-gnome-demo provides a sample application that demonstrates
41 the features of both PolicyKit and PolicyKit-gnome. You normally don't
42 want to have this package installed.
43
44 %prep
45 %setup -q
46
47 %build
48 %{__intltoolize}
49 %{__libtoolize}
50 %{__aclocal}
51 %{__autoconf}
52 %{__autoheader}
53 %{__automake}
54 %configure
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %find_lang %{name}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files -f %{name}.lang
69 %defattr(644,root,root,755)
70 %doc AUTHORS NEWS TODO
71 %attr(755,root,root) %{_libdir}/polkit-gnome-manager
72 %{_datadir}/dbus-1/services/org.gnome.PolicyKit.service
73
74 %files demo
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_bindir}/polkit-gnome-example
77 %attr(755,root,root) %{_libdir}/polkit-gnome-example-helper
78 %{_datadir}/PolicyKit/policy/polkit-gnome-example.policy
This page took 0.041815 seconds and 2 git commands to generate.