]> git.pld-linux.org Git - packages/gwget.git/blob - gwget.spec
- updated to 0.92
[packages/gwget.git] / gwget.spec
1 #
2 # Conditional build:
3 %bcond_without  epiphany        # don't build epiphany extension
4
5 Summary:        A download manager for GNOME
6 Summary(pl):    Zarz±dca pobierania plików dla GNOME
7 Name:           gwget
8 Version:        0.92
9 Release:        1
10 License:        GPL
11 Group:          X11/Applications/Networking
12 Source0:        http://dl.sourceforge.net/gwget/%{name}-%{version}.tar.gz
13 # Source0-md5:  7e59df048afb194baf2761cb877e8920
14 Patch0:         %{name}-desktop.patch
15 URL:            http://gwget.sourceforge.net/
16 BuildRequires:  GConf2-devel
17 %{?with_epiphany:BuildRequires: epiphany-devel >= 1.4.0}
18 BuildRequires:  gtk+2-devel >= 2:2.4.0
19 BuildRequires:  intltool >= 0.11
20 BuildRequires:  libgnomeui-devel >= 2.0.0
21 BuildRequires:  perl-XML-Parser
22 BuildRequires:  pkgconfig
23 Requires:       wget
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Gwget is a download manager for GNOME.
28
29 %description -l pl
30 Gwget to zarz±dca pobierania plików dla GNOME.
31
32 %package -n epiphany-extension-gwget
33 Summary:        Epiphany extension - gwget
34 Summary(pl):    Rozszerzenie dla Epiphany - gwget
35 Group:          X11/Applications/Networking
36 Requires:       %{name} = %{version}-%{release}
37 Requires:       epiphany >= 1.4.0
38
39 %description -n epiphany-extension-gwget
40 Epiphany extension that uses gwget to download files.
41
42 %description -n epiphany-extension-gwget -l pl
43 Rozszerzenie dla Epiphany wykorzystuj±ce gwget do pobierania plików.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48
49 %build
50 %configure \
51         --disable-schemas-install \
52         %{!?with_epiphany: --disable-epiphany-extension}
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_libdir}/epiphany-1.4/extensions}
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT \
61         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
62
63 install pixmaps/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
64 install %{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
65
66 %if %{with epiphany}
67 rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany/extensions/*.{a,la}
68 mv $RPM_BUILD_ROOT%{_libdir}/epiphany/extensions/lib* $RPM_BUILD_ROOT%{_libdir}/epiphany-1.4/extensions
69 %endif
70
71 %find_lang %{name}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post
77 %gconf_schema_install
78
79 %files -f %{name}.lang
80 %defattr(644,root,root,755)
81 %doc AUTHORS ChangeLog NEWS README THANKS TODO
82 %attr(755,root,root) %{_bindir}/*
83 %{_datadir}/%{name}
84 %{_datadir}/idl/*
85 %{_desktopdir}/*
86 %{_libdir}/bonobo/servers/*
87 %{_sysconfdir}/gconf/schemas/*
88 %{_pixmapsdir}/*
89
90 %if %{with epiphany}
91 %files -n epiphany-extension-gwget
92 %defattr(644,root,root,755)
93 %attr(755,root,root)%{_libdir}/epiphany-1.4/extensions/libgwgetextension.so*
94 %endif
This page took 0.063933 seconds and 4 git commands to generate.