2 %define epiphany_version 2.24
4 Summary: Download manager for GNOME
5 Summary(pl.UTF-8): Zarządca pobierania plików dla GNOME
10 Group: X11/Applications/Networking
11 Source0: http://ftp.gnome.org/pub/GNOME/sources/gget/0.0/%{name}-%{version}.tar.bz2
12 # Source0-md5: fb997cac66287c18da74bb7b6d6a07e9
13 Patch0: %{name}-desktop.patch
14 Patch1: %{name}-dont-hardcode-python-version.patch
15 URL: http://live.gnome.org/GGet
16 BuildRequires: GConf2-devel
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: epiphany-devel >= 2.24.0
20 BuildRequires: gettext-devel
21 BuildRequires: gtk+2-devel >= 2:2.12.0
22 BuildRequires: intltool >= 0.33.0
23 BuildRequires: libtool
24 BuildRequires: pkgconfig
25 BuildRequires: python >= 1:2.5
26 BuildRequires: python-dbus-devel >= 0.82
27 BuildRequires: python-devel >= 1:2.5
28 BuildRequires: python-gnome-devel >= 2.16.0
29 BuildRequires: python-gnome-extras-devel >= 2.14.2
30 BuildRequires: python-pygtk-devel >= 2:2.12.0
31 BuildRequires: python-pynotify-devel >= 0.1.1
32 BuildRequires: rpmbuild(macros) >= 1.311
33 Requires(post,postun): desktop-file-utils
34 Requires(post,postun): gtk+2
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 GGet is a download manager for GNOME.
40 %description -l pl.UTF-8
41 GGet jest zarządcą pobierania plików dla GNOME.
43 %package -n epiphany-extension-gget
44 Summary: Epiphany extension - GGet
45 Summary(pl.UTF-8): Rozszerzenie dla Epiphany - GGet
46 Group: X11/Applications/Networking
47 Requires: %{name} = %{version}-%{release}
48 Requires: epiphany >= 2.24
50 %description -n epiphany-extension-gget
51 Epiphany extension that uses GGet to download files.
53 %description -n epiphany-extension-gget -l pl.UTF-8
54 Rozszerzenie dla Epiphany wykorzystujące GGet do pobierania plików.
69 --disable-schemas-install
73 rm -rf $RPM_BUILD_ROOT
76 DESTDIR=$RPM_BUILD_ROOT
79 %py_postclean %{_libdir}/epiphany/%{epiphany_version}/extensions
84 rm -rf $RPM_BUILD_ROOT
87 %update_desktop_database
88 %update_icon_cache hicolor
89 %gconf_schema_install gget.schemas
92 %gconf_schema_uninstall gget.schemas
95 %update_desktop_database_postun
96 %update_icon_cache hicolor
98 %files -f %{name}.lang
99 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_bindir}/gget
102 %{_desktopdir}/gget.desktop
103 %{_datadir}/dbus-1/services/org.gnome.gget.service
105 %{_iconsdir}/hicolor/*/*/*.png
106 %{_iconsdir}/hicolor/*/*/*.svg
107 %{_sysconfdir}/gconf/schemas/gget.schemas
108 %dir %{py_sitescriptdir}/gget
109 %{py_sitescriptdir}/gget/*.py[co]
111 %files -n epiphany-extension-gget
112 %defattr(644,root,root,755)
113 %{_libdir}/epiphany/%{epiphany_version}/extensions/gget-epiphany.py[co]
114 %{_libdir}/epiphany/%{epiphany_version}/extensions/gget.ephy-extension