source: projects/specs/trunk/P/PolicyKit-gnome/PolicyKit-gnome-vl.spec @ 1988

Revision 1988, 7.0 KB checked in by owa, 11 years ago (diff)

rebuilt with rpm-4.8.1

Line 
1%define dbus_version            1.2
2%define dbus_glib_version       0.80
3%define gtk2_version            2.16
4%define gnome_vfs2_version      2.24
5%define libsexy_version         0.1.11
6%define gnome_doc_utils_version 0.3.2
7%define polkit_version          0.9
8%define intltool_version        0.35
9
10Summary: PolicyKit integration for the GNOME desktop
11Name: PolicyKit-gnome
12Version: 0.9.2
13Release: 2%{?_dist_release}
14License: GPLv2+
15Group: System Environment/Libraries
16URL: http://gitweb.freedesktop.org/?p=users/david/PolicyKit-gnome.git;a=summary
17Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.bz2
18BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
19BuildRequires: dbus-devel  >= %{dbus_version}
20BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
21BuildRequires: dbus-glib >= %{dbus_glib_version}
22BuildRequires: gtk2-devel >= %{gtk2_version}
23BuildRequires: gnome-vfs2-devel >= %{gnome_vfs2_version}
24BuildRequires: libsexy-devel >= %{libsexy_version}
25BuildRequires: PolicyKit-devel >= %{polkit_version}
26BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version}
27BuildRequires: intltool >= %{intltool_version}
28BuildRequires: gettext
29BuildRequires: desktop-file-utils
30Requires: dbus >= %{dbus_version}
31Requires: dbus-glib >= %{dbus_glib_version}
32Requires: gtk2 >= %{gtk2_version}
33Requires: gnome-vfs2 >= %{gnome_vfs2_version}
34Requires: PolicyKit >= %{polkit_version}
35Requires: libsexy >= %{libsexy_version}
36
37Patch0: PolicyKit-gnome-0.9.2-dont-spawn-when-running-under-gdm.patch
38Patch1: PolicyKit-gnome-0.9.2-fix-clickable-buttons.patch
39
40%description
41PolicyKit-gnome provides a GNOME integration library and tools for
42PolicyKit including an Authentication Agent that matches the look and
43feel of the GNOME desktop.
44
45%package demo
46License: GPLv2+
47Summary: Demo application for PolicyKit-gnome
48Group: Development/Libraries
49Requires: %{name} = %{version}-%{release}
50
51%description demo
52Policy-gnome-demo provides a sample application that demonstrates the
53features of both PolicyKit and PolicyKit-gnome. You normally don't
54want to have this package installed.
55
56%package libs
57License: LGPLv2+
58Summary: PolicyKit-gnome libraries
59Group: Development/Libraries
60Requires: gtk2 >= %{gtk2_version}
61Requires: PolicyKit >= %{polkit_version}
62
63%description libs
64Libraries provided by PolicyKit-gnome
65
66%package devel
67License: LGPLv2+
68Summary: Headers, libraries and API docs for PolicyKit-gnome
69Group: Development/Libraries
70Requires: %{name} = %{version}-%{release}
71Requires: pkgconfig
72Requires: PolicyKit-devel >= %{polkit_version}
73Requires: PolicyKit-docs >= %{polkit_version}
74
75%description devel
76This package provides headers, libraries and API docs for
77PolicyKit-gnome.
78
79%prep
80%setup -q
81%patch0 -p0 -b .no-spawning-under-gdm
82%patch1 -p0 -b .fix-clickable-buttons
83
84
85%build
86%configure
87make
88
89%install
90rm -rf $RPM_BUILD_ROOT
91
92make install DESTDIR=$RPM_BUILD_ROOT
93
94desktop-file-install --delete-original  \
95  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
96  --remove-only-show-in=GNOME \
97  $RPM_BUILD_ROOT%{_datadir}/applications/polkit-gnome-authorization.desktop
98
99rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
100rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
101
102%find_lang %{name}
103
104%clean
105rm -rf $RPM_BUILD_ROOT
106
107
108%post
109export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
110gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/polkit-gnome.schemas >& /dev/null || :
111
112%pre
113if [ "$1" -gt 1 ]; then
114  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
115  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/polkit-gnome.schemas >& /dev/null || :
116fi
117
118%preun
119if [ "$1" -eq 0 ]; then
120  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
121  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/polkit-gnome.schemas >& /dev/null || :
122fi
123
124
125%files -f %{name}.lang
126%defattr(-,root,root,-)
127
128%doc README AUTHORS NEWS COPYING HACKING TODO
129
130%{_libexecdir}/polkit-gnome-manager
131%{_datadir}/dbus-1/services/org.gnome.PolicyKit.service
132%{_datadir}/dbus-1/services/org.gnome.PolicyKit.AuthorizationManager.service
133%{_datadir}/dbus-1/services/gnome-org.freedesktop.PolicyKit.AuthenticationAgent.service
134
135%{_bindir}/polkit-gnome-authorization
136%{_datadir}/applications/polkit-gnome-authorization.desktop
137%{_sysconfdir}/gconf/schemas/polkit-gnome.schemas
138
139%files libs
140
141%{_libdir}/lib*.so.*
142
143%files devel
144
145%{_libdir}/lib*.so
146%{_libdir}/pkgconfig/*
147%{_includedir}/*
148
149%dir %{_datadir}/gtk-doc/html/polkit-gnome
150%{_datadir}/gtk-doc/html/polkit-gnome/*
151
152%files demo
153%defattr(-,root,root,-)
154%{_bindir}/polkit-gnome-example
155%{_datadir}/PolicyKit/policy/*.policy
156
157%changelog
158* Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.9.2-2
159- rebuilt with rpm-4.8.1 for pkg-config
160
161* Fri Mar 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.2-1
162- new upstream release
163
164* Mon Aug 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9-1
165- new upstream release
166
167* Wed Jun 25 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.8-6
168- initial build for Vine Linux
169
170* Thu May  1 2008 David Zeuthen <davidz@redhat.com> - 0.8-5%{?dist}
171- Rebuild
172
173* Thu May  1 2008 David Zeuthen <davidz@redhat.com> - 0.8-4%{?dist}
174- Don't spawn stuff under gdm
175
176* Thu Apr 17 2008 David Zeuthen <davidz@redhat.com> - 0.8-3%{?dist}
177- Fix i18n (#442938)
178
179* Thu Apr 17 2008 Matthias Clasen <mclasen@redhat.com> - 0.8-2%{?dist}
180- Show the menu item in other desktops too (#442814)
181
182* Wed Apr 16 2008 David Zeuthen <davidz@redhat.com> - 0.8-1%{?dist}
183- Upstream release 0.8
184
185* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.7-3
186- Autorebuild for GCC 4.3
187
188* Tue Dec 18 2007 David Zeuthen <davidz@redhat.com> - 0.7-2%{?dist}
189- Avoid crashing when an authorization is blocked for a user without ~/.face
190
191* Thu Dec  6 2007 David Zeuthen <davidz@redhat.com> - 0.7-1%{?dist}
192- Update to latest upstream release
193
194* Mon Oct 22 2007 Matthias Clasen <mclasen@redhat.com> - 0.6-2
195- Rebuild against new dbus-glib
196
197* Thu Oct 11 2007 David Zeuthen <davidz@redhat.com> - 0.6-1%{?dist}
198- Update to latest upstream release
199
200* Tue Sep 25 2007 David Zeuthen <davidz@redhat.com> - 0.6-0.git20070925%{?dist}
201- Update to git snapshot
202
203* Mon Sep  3 2007 Matthias Clasen <mclasen@redhat.com> - 0.5-4
204- Add gettext BR
205
206* Fri Aug 31 2007 David Zeuthen <davidz@redhat.com> - 0.5-3%{?dist}
207- Rebuild
208
209* Fri Aug 31 2007 David Zeuthen <davidz@redhat.com> - 0.5-2%{?dist}
210- Require newer PolicyKit release
211
212* Fri Aug 31 2007 David Zeuthen <davidz@redhat.com> - 0.5-1%{?dist}
213- Upstream release 0.5
214
215* Tue Jul 31 2007 David Zeuthen <davidz@redhat.com> - 0.5-0.git20070731.4%{?dist}
216- Add BR for intltool
217
218* Tue Jul 31 2007 David Zeuthen <davidz@redhat.com> - 0.5-0.git20070731.3%{?dist}
219- Add BR for gnome-doc-utils
220
221* Tue Jul 31 2007 David Zeuthen <davidz@redhat.com> - 0.5-0.git20070731.2%{?dist}
222- Rebuild
223
224* Tue Jul 31 2007 David Zeuthen <davidz@redhat.com> - 0.5-0.git20070731.1%{?dist}
225- Rebuild and require PolicyKit >= 0.5
226
227* Tue Jul 31 2007 David Zeuthen <davidz@redhat.com> - 0.5-0.git20070731%{?dist}
228- Update to git snapshot
229
230* Wed Jul 25 2007 David Zeuthen <davidz@redhat.com> - 0.4-1%{?dist}
231- Update to 0.4
232
233* Tue Jun 19 2007 David Zeuthen <davidz@redhat.com> - 0.3-1%{?dist}
234- Initial build.
235
Note: See TracBrowser for help on using the repository browser.