]> git.pld-linux.org Git - packages/gnome-packagekit.git/blame - gnome-packagekit.spec
- added -update-viewer-crash.patch
[packages/gnome-packagekit.git] / gnome-packagekit.spec
CommitLineData
dc2056d5 1Summary: GNOME PackageKit Client
365409bc 2Summary(pl.UTF-8): Klient PackageKit dla GNOME
dc2056d5 3Name: gnome-packagekit
0a213ce3 4Version: 2.27.1
5Release: 0.1
dc2056d5
MB
6License: GPL v2+
7Group: X11/Applications
94b8a0a1 8Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.gz
0a213ce3 9# Source0-md5: 7a38bcdfda3e712365f674c51565e845
a8214fbf 10Patch0: %{name}-update-viewer-crash.patch
dc2056d5
MB
11URL: http://www.packagekit.org/
12BuildRequires: GConf2-devel
365409bc 13BuildRequires: PackageKit-devel >= 0.4.3
dd2f25d2 14BuildRequires: PolicyKit-gnome-devel >= 0.8
dc2056d5
MB
15BuildRequires: autoconf >= 2.52
16BuildRequires: automake
dd2f25d2 17BuildRequires: dbus-devel >= 1.2.0
dc2056d5
MB
18BuildRequires: dbus-glib-devel >= 0.74
19BuildRequires: gettext-devel
365409bc 20BuildRequires: gnome-common
dc2056d5 21BuildRequires: gnome-doc-utils
365409bc 22BuildRequires: gnome-menus-devel >= 2.24.1
dc2056d5
MB
23BuildRequires: gtk+2-devel >= 2:2.12.8
24BuildRequires: intltool >= 0.35.0
25BuildRequires: libglade2-devel >= 1:2.6.2
26BuildRequires: libnotify-devel >= 0.4.4
27BuildRequires: libsexy-devel >= 0.1.11
28BuildRequires: libtool
29BuildRequires: pkgconfig
dd2f25d2
MB
30BuildRequires: rpmbuild(find_lang) >= 1.23
31BuildRequires: rpmbuild(macros) >= 1.311
6c9bfb17 32BuildRequires: libunique-devel >= 0.9.4
cf37584d 33Requires(post,postun): desktop-file-utils
dd2f25d2 34Requires(post,postun): gtk+2
dc2056d5 35Requires(post,preun): GConf2
365409bc 36Requires: PackageKit >= 0.4.3
dd2f25d2 37Requires: PolicyKit-gnome >= 0.8
dc2056d5
MB
38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40%description
41This package provides session applications for the PackageKit API.
42There are several utilities designed for installing, updating and
43removing packages.
44
365409bc
MB
45%description -l pl.UTF-8
46Ten pakiet dostarcza aplikacje sesji dla API PackageKit. Zawiera kilka
47narzędzi stworzonych do instalacji, aktualizacji i usuwania pakietów.
48
49%package -n python-gnome-packagekit
50Summary: Widgets to use PackageKit in GTK+ applications
51Summary(pl.UTF-8): Widgety do użycia PackageKit w aplikacjach GTK+
52Group: Libraries/Python
53Requires: gnome-packagekit
54Requires: python-packagekit
55Requires: python-pygtk-gtk
56
57%description -n python-gnome-packagekit
58This module provides widgets to use PackageKit in GTK+ applications.
59
60%description -n python-gnome-packagekit -l pl.UTF-8
61Ten moduł dostarcza widgety do użycia PackageKit w aplikacjach GTK+.
62
dc2056d5
MB
63%prep
64%setup -q
a8214fbf 65%patch0 -p1
dc2056d5
MB
66
67%build
68%{__intltoolize}
69%{__libtoolize}
365409bc 70%{__aclocal} -I m4
dc2056d5
MB
71%{__autoconf}
72%{__autoheader}
73%{__automake}
74%configure \
75 --disable-scrollkeeper \
76 --disable-schemas-install
77
78%{__make}
79
80%install
81rm -rf $RPM_BUILD_ROOT
82
83%{__make} install \
84 DESTDIR=$RPM_BUILD_ROOT
85
365409bc
MB
86%py_postclean
87
dc2056d5
MB
88%find_lang %{name} --with-gnome --with-omf
89
90%clean
91rm -rf $RPM_BUILD_ROOT
92
93%post
94%gconf_schema_install gnome-packagekit.schemas
dd2f25d2 95%update_icon_cache hicolor
cf37584d 96%update_desktop_database
dc2056d5
MB
97
98%preun
99%gconf_schema_uninstall gnome-packagekit.schemas
100
dd2f25d2
MB
101%postun
102%update_icon_cache hicolor
cf37584d 103%update_desktop_database_postun
dd2f25d2 104
dc2056d5
MB
105%files -f %{name}.lang
106%defattr(644,root,root,755)
107%doc AUTHORS ChangeLog COPYING NEWS README
3ed22251
PZ
108%attr(755,root,root) %{_bindir}/gpk-application
109%attr(755,root,root) %{_bindir}/gpk-backend-status
cf37584d 110%attr(755,root,root) %{_bindir}/gpk-install-catalog
dd2f25d2
MB
111%attr(755,root,root) %{_bindir}/gpk-install-local-file
112%attr(755,root,root) %{_bindir}/gpk-install-mime-type
113%attr(755,root,root) %{_bindir}/gpk-install-package-name
114%attr(755,root,root) %{_bindir}/gpk-install-provide-file
3ed22251
PZ
115%attr(755,root,root) %{_bindir}/gpk-log
116%attr(755,root,root) %{_bindir}/gpk-prefs
117%attr(755,root,root) %{_bindir}/gpk-repo
365409bc 118%attr(755,root,root) %{_bindir}/gpk-service-pack
3ed22251
PZ
119%attr(755,root,root) %{_bindir}/gpk-update-icon
120%attr(755,root,root) %{_bindir}/gpk-update-viewer
725adef6 121%attr(755,root,root) %{_bindir}/gpk-update-viewer2
dc2056d5
MB
122%{_datadir}/gnome-packagekit
123%{_sysconfdir}/gconf/schemas/gnome-packagekit.schemas
3ed22251 124%{_datadir}/gnome/autostart/gpk-update-icon.desktop
dd2f25d2 125%{_iconsdir}/hicolor/*/*/*
3ed22251 126%{_desktopdir}/gpk-application.desktop
cf37584d 127%{_desktopdir}/gpk-install-catalog.desktop
3ed22251
PZ
128%{_desktopdir}/gpk-install-file.desktop
129%{_desktopdir}/gpk-log.desktop
130%{_desktopdir}/gpk-prefs.desktop
131%{_desktopdir}/gpk-repo.desktop
365409bc 132%{_desktopdir}/gpk-service-pack.desktop
3ed22251 133%{_desktopdir}/gpk-update-viewer.desktop
dd2f25d2
MB
134%{_mandir}/man1/gpk-install-local-file.1*
135%{_mandir}/man1/gpk-install-mime-type.1*
136%{_mandir}/man1/gpk-install-package-name.1*
137%{_mandir}/man1/gpk-install-provide-file.1*
138%{_mandir}/man1/gpk-prefs.1*
139%{_mandir}/man1/gpk-repo.1*
140%{_mandir}/man1/gpk-update-icon.1*
141%{_mandir}/man1/gpk-update-viewer.1*
365409bc
MB
142
143%files -n python-gnome-packagekit
144%defattr(644,root,root,755)
145%{py_sitescriptdir}/packagekit/*.py[co]
This page took 0.098629 seconds and 4 git commands to generate.