]> git.pld-linux.org Git - packages/gnome-packagekit.git/blob - gnome-packagekit.spec
- up to 0.3.12
[packages/gnome-packagekit.git] / gnome-packagekit.spec
1 Summary:        GNOME PackageKit Client
2 Name:           gnome-packagekit
3 Version:        0.3.12
4 Release:        1
5 License:        GPL v2+
6 Group:          X11/Applications
7 Source0:        http://www.packagekit.org/releases/%{name}-%{version}.tar.gz
8 # Source0-md5:  97545c284c74c974ee0a259af9eaf461
9 URL:            http://www.packagekit.org/
10 BuildRequires:  GConf2-devel
11 BuildRequires:  PackageKit-devel >= 0.3.4
12 BuildRequires:  PolicyKit-gnome-devel >= 0.8
13 BuildRequires:  autoconf >= 2.52
14 BuildRequires:  automake
15 BuildRequires:  dbus-devel >= 1.2.0
16 BuildRequires:  dbus-glib-devel >= 0.74
17 BuildRequires:  gettext-devel
18 BuildRequires:  gnome-doc-utils
19 BuildRequires:  gtk+2-devel >= 2:2.12.8
20 BuildRequires:  intltool >= 0.35.0
21 BuildRequires:  libglade2-devel >= 1:2.6.2
22 BuildRequires:  libnotify-devel >= 0.4.4
23 BuildRequires:  libsexy-devel >= 0.1.11
24 BuildRequires:  libtool
25 BuildRequires:  pkgconfig
26 BuildRequires:  rpmbuild(find_lang) >= 1.23
27 BuildRequires:  rpmbuild(macros) >= 1.311
28 BuildRequires:  unique-devel >= 0.9.4
29 Requires(post,postun):  desktop-file-utils
30 Requires(post,postun):  gtk+2
31 Requires(post,preun):   GConf2
32 Requires:       PackageKit >= 0.3.1
33 Requires:       PolicyKit-gnome >= 0.8
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 This package provides session applications for the PackageKit API.
38 There are several utilities designed for installing, updating and
39 removing packages.
40
41 %prep
42 %setup -q
43
44 %build
45 %{__intltoolize}
46 %{__libtoolize}
47 %{__aclocal}
48 %{__autoconf}
49 %{__autoheader}
50 %{__automake}
51 %configure \
52         --disable-scrollkeeper \
53         --disable-schemas-install
54
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} --with-gnome --with-omf
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post
69 %gconf_schema_install gnome-packagekit.schemas
70 %update_icon_cache hicolor
71 %update_desktop_database
72
73 %preun
74 %gconf_schema_uninstall gnome-packagekit.schemas
75
76 %postun
77 %update_icon_cache hicolor
78 %update_desktop_database_postun
79
80 %files -f %{name}.lang
81 %defattr(644,root,root,755)
82 %doc AUTHORS ChangeLog COPYING NEWS README
83 %attr(755,root,root) %{_bindir}/gpk-application
84 %attr(755,root,root) %{_bindir}/gpk-backend-status
85 %attr(755,root,root) %{_bindir}/gpk-install-catalog
86 %attr(755,root,root) %{_bindir}/gpk-install-local-file
87 %attr(755,root,root) %{_bindir}/gpk-install-mime-type
88 %attr(755,root,root) %{_bindir}/gpk-install-package-name
89 %attr(755,root,root) %{_bindir}/gpk-install-provide-file
90 %attr(755,root,root) %{_bindir}/gpk-log
91 %attr(755,root,root) %{_bindir}/gpk-prefs
92 %attr(755,root,root) %{_bindir}/gpk-repo
93 %attr(755,root,root) %{_bindir}/gpk-update-icon
94 %attr(755,root,root) %{_bindir}/gpk-update-viewer
95 %{_datadir}/gnome-packagekit
96 %{_sysconfdir}/gconf/schemas/gnome-packagekit.schemas
97 %{_datadir}/gnome/autostart/gpk-update-icon.desktop
98 %{_iconsdir}/hicolor/*/*/*
99 %{_desktopdir}/gpk-application.desktop
100 %{_desktopdir}/gpk-install-catalog.desktop
101 %{_desktopdir}/gpk-install-file.desktop
102 %{_desktopdir}/gpk-log.desktop
103 %{_desktopdir}/gpk-prefs.desktop
104 %{_desktopdir}/gpk-repo.desktop
105 %{_desktopdir}/gpk-update-viewer.desktop
106 %{_mandir}/man1/gpk-install-local-file.1*
107 %{_mandir}/man1/gpk-install-mime-type.1*
108 %{_mandir}/man1/gpk-install-package-name.1*
109 %{_mandir}/man1/gpk-install-provide-file.1*
110 %{_mandir}/man1/gpk-prefs.1*
111 %{_mandir}/man1/gpk-repo.1*
112 %{_mandir}/man1/gpk-update-icon.1*
113 %{_mandir}/man1/gpk-update-viewer.1*
This page took 0.034999 seconds and 4 git commands to generate.