]>
Commit | Line | Data |
---|---|---|
1 | Summary: GNOME PackageKit Client | |
2 | Summary(pl.UTF-8): Klient PackageKit dla GNOME | |
3 | Name: gnome-packagekit | |
4 | Version: 3.0.3 | |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: X11/Applications | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-packagekit/3.0/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: df13a56adbd97fa018b2cbd10ab5a3e6 | |
10 | URL: http://www.packagekit.org/ | |
11 | BuildRequires: PackageKit-devel >= 0.6.8 | |
12 | BuildRequires: autoconf >= 2.65 | |
13 | BuildRequires: automake >= 1.11 | |
14 | BuildRequires: dbus-devel >= 1.2.0 | |
15 | BuildRequires: dbus-glib-devel >= 0.74 | |
16 | BuildRequires: docbook-dtd41-sgml | |
17 | BuildRequires: fontconfig-devel | |
18 | BuildRequires: gettext-devel | |
19 | BuildRequires: glib2-devel >= 1:2.26.0 | |
20 | BuildRequires: gnome-common | |
21 | BuildRequires: gnome-doc-utils | |
22 | BuildRequires: gnome-menus-devel >= 2.24.1 | |
23 | BuildRequires: gtk+3-devel >= 3.0.0 | |
24 | BuildRequires: gtk-doc >= 1.9 | |
25 | BuildRequires: intltool >= 0.35.0 | |
26 | BuildRequires: libcanberra-devel >= 0.10 | |
27 | BuildRequires: libcanberra-gtk3-devel >= 0.10 | |
28 | BuildRequires: libnotify-devel >= 0.7.0 | |
29 | BuildRequires: libtool | |
30 | BuildRequires: libxslt-progs | |
31 | BuildRequires: pkgconfig | |
32 | BuildRequires: python | |
33 | BuildRequires: rpm-pythonprov | |
34 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
35 | BuildRequires: rpmbuild(macros) >= 1.311 | |
36 | BuildRequires: udev-glib-devel | |
37 | BuildRequires: upower-devel >= 0.9.0 | |
38 | Requires(post,postun): desktop-file-utils | |
39 | Requires(post,postun): gtk-update-icon-cache | |
40 | Requires(post,postun): hicolor-icon-theme | |
41 | Requires(post,preun): glib2 >= 1:2.26.0 | |
42 | Requires: PackageKit >= 0.6.8 | |
43 | Requires: polkit-gnome >= 0.92 | |
44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
45 | ||
46 | %description | |
47 | This package provides session applications for the PackageKit API. | |
48 | There are several utilities designed for installing, updating and | |
49 | removing packages. | |
50 | ||
51 | %description -l pl.UTF-8 | |
52 | Ten pakiet dostarcza aplikacje sesji dla API PackageKit. Zawiera kilka | |
53 | narzędzi stworzonych do instalacji, aktualizacji i usuwania pakietów. | |
54 | ||
55 | %package -n python-gnome-packagekit | |
56 | Summary: Widgets to use PackageKit in GTK+ applications | |
57 | Summary(pl.UTF-8): Widgety do użycia PackageKit w aplikacjach GTK+ | |
58 | Group: Libraries/Python | |
59 | Requires: gnome-packagekit = %{version}-%{release} | |
60 | Requires: python-packagekit | |
61 | Requires: python-pygtk-gtk | |
62 | ||
63 | %description -n python-gnome-packagekit | |
64 | This module provides widgets to use PackageKit in GTK+ applications. | |
65 | ||
66 | %description -n python-gnome-packagekit -l pl.UTF-8 | |
67 | Ten moduł dostarcza widgety do użycia PackageKit w aplikacjach GTK+. | |
68 | ||
69 | %prep | |
70 | %setup -q | |
71 | ||
72 | %build | |
73 | %{__libtoolize} | |
74 | %{__aclocal} | |
75 | %{__autoconf} | |
76 | %{__autoheader} | |
77 | %{__automake} | |
78 | %configure \ | |
79 | --disable-silent-rules \ | |
80 | --disable-scrollkeeper \ | |
81 | --disable-schemas-compile | |
82 | ||
83 | %{__make} | |
84 | ||
85 | %install | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %{__make} install \ | |
89 | DESTDIR=$RPM_BUILD_ROOT | |
90 | ||
91 | %py_postclean | |
92 | ||
93 | %find_lang %{name} --with-gnome --with-omf | |
94 | ||
95 | %clean | |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
98 | %post | |
99 | %update_icon_cache hicolor | |
100 | %update_desktop_database | |
101 | %glib_compile_schemas | |
102 | ||
103 | %postun | |
104 | %update_icon_cache hicolor | |
105 | %update_desktop_database_postun | |
106 | %glib_compile_schemas | |
107 | ||
108 | %files -f %{name}.lang | |
109 | %defattr(644,root,root,755) | |
110 | %doc AUTHORS ChangeLog COPYING NEWS README | |
111 | %attr(755,root,root) %{_bindir}/gpk-application | |
112 | %attr(755,root,root) %{_bindir}/gpk-dbus-service | |
113 | %attr(755,root,root) %{_bindir}/gpk-distro-upgrade | |
114 | %attr(755,root,root) %{_bindir}/gpk-install-catalog | |
115 | %attr(755,root,root) %{_bindir}/gpk-install-local-file | |
116 | %attr(755,root,root) %{_bindir}/gpk-install-mime-type | |
117 | %attr(755,root,root) %{_bindir}/gpk-install-package-name | |
118 | %attr(755,root,root) %{_bindir}/gpk-install-provide-file | |
119 | %attr(755,root,root) %{_bindir}/gpk-log | |
120 | %attr(755,root,root) %{_bindir}/gpk-prefs | |
121 | %attr(755,root,root) %{_bindir}/gpk-service-pack | |
122 | %attr(755,root,root) %{_bindir}/gpk-update-viewer | |
123 | %{_libdir}/gnome-settings-daemon-3.0/gtk-modules/gpk-pk-gtk-module.desktop | |
124 | %{_datadir}/GConf/gsettings/org.gnome.packagekit.gschema.migrate | |
125 | %{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service | |
126 | %{_datadir}/glib-2.0/schemas/org.gnome.packagekit.gschema.xml | |
127 | %{_datadir}/gnome-packagekit | |
128 | %{_iconsdir}/hicolor/*/*/* | |
129 | %{_desktopdir}/gpk-application.desktop | |
130 | %{_desktopdir}/gpk-distro-upgrade.desktop | |
131 | %{_desktopdir}/gpk-install-catalog.desktop | |
132 | %{_desktopdir}/gpk-install-local-file.desktop | |
133 | %{_desktopdir}/gpk-log.desktop | |
134 | %{_desktopdir}/gpk-prefs.desktop | |
135 | %{_desktopdir}/gpk-service-pack.desktop | |
136 | %{_desktopdir}/gpk-update-viewer.desktop | |
137 | %{_mandir}/man1/gpk-application.1* | |
138 | %{_mandir}/man1/gpk-backend-status.1* | |
139 | %{_mandir}/man1/gpk-install-local-file.1* | |
140 | %{_mandir}/man1/gpk-install-mime-type.1* | |
141 | %{_mandir}/man1/gpk-install-package-name.1* | |
142 | %{_mandir}/man1/gpk-install-provide-file.1* | |
143 | %{_mandir}/man1/gpk-prefs.1* | |
144 | %{_mandir}/man1/gpk-repo.1* | |
145 | %{_mandir}/man1/gpk-update-icon.1* | |
146 | %{_mandir}/man1/gpk-update-viewer.1* | |
147 | ||
148 | %files -n python-gnome-packagekit | |
149 | %defattr(644,root,root,755) | |
150 | %{py_sitescriptdir}/packagekit/*.py[co] |