3 %bcond_without epiphany # don't build epiphany extension
5 Summary: A download manager for GNOME
6 Summary(pl): Zarz±dca pobierania plików dla GNOME
11 Group: X11/Applications/Networking
12 Source0: http://dl.sourceforge.net/gwget/%{name}-%{version}.tar.gz
13 # Source0-md5: d1ff8499fe00995e8bb02688f36b9ae0
14 Patch0: %{name}-desktop.patch
15 URL: http://gwget.sourceforge.net/
16 BuildRequires: GConf2-devel
17 BuildRequires: gtk+2-devel >= 2:2.4.0
18 BuildRequires: intltool >= 0.11
19 BuildRequires: libgnomeui-devel >= 2.0.0
20 BuildRequires: perl-XML-Parser
21 BuildRequires: pkgconfig
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Gwget is a download manager for GNOME.
29 Gwget to zarz±dca pobierania plików dla GNOME.
31 %package -n epiphany-extension-gwget
32 Summary: Epiphany extension - gwget
33 Summary(pl): Rozszerzenie dla Epiphany - gwget
34 Group: X11/Applications/Networking
36 BuildRequires: epiphany-devel >= 1.4.0
38 Requires: %{name} = %{version}-%{release}
39 Requires: epiphany >= 1.4.0
41 %description -n epiphany-extension-gwget
42 Epiphany extension that uses gwget to download files.
44 %description -n epiphany-extension-gwget -l pl
45 Rozszerzenie dla Epiphany wykorzystuj±ce gwget do pobierania plików.
53 --disable-schemas-install \
55 --enable-epiphany-extension
57 --disable-epiphany-extension
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_libdir}/epiphany-1.4/extensions}
66 DESTDIR=$RPM_BUILD_ROOT \
67 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
69 install pixmaps/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
70 install %{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
73 rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany/extensions/*.{a,la}
74 mv $RPM_BUILD_ROOT%{_libdir}/epiphany/extensions/lib* $RPM_BUILD_ROOT%{_libdir}/epiphany-1.4/extensions
80 rm -rf $RPM_BUILD_ROOT
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog NEWS README THANKS TODO
88 %attr(755,root,root) %{_bindir}/*
92 %{_libdir}/bonobo/servers/*
93 %{_sysconfdir}/gconf/schemas/*
97 %files -n epiphany-extension-gwget
98 %defattr(644,root,root,755)
99 %attr(755,root,root)%{_libdir}/epiphany-1.4/extensions/libgwgetextension.so*