1 | %define name gwget |
---|
2 | %define version 1.0.4 |
---|
3 | %define release 2%{?_dist_release} |
---|
4 | |
---|
5 | Summary: Download manager for Gnome |
---|
6 | Summary(ja): Gnome 用ダウンロードマネージャ |
---|
7 | Name: %{name} |
---|
8 | Version: %{version} |
---|
9 | Release: %{release} |
---|
10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gwget/0.99/%{name}-%{version}.tar.bz2 |
---|
11 | License: GPLv2+ |
---|
12 | Group: Applications/Internet |
---|
13 | URL: http://www.gnome.org/projects/gwget/ |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | BuildRequires: gtk2-devel >= 2.10 |
---|
17 | BuildRequires: libgnomeui-devel |
---|
18 | BuildRequires: libglade2-devel, gnome-vfs2-devel |
---|
19 | BuildRequires: dbus-devel |
---|
20 | BuildRequires: libnotify-devel |
---|
21 | BuildRequires: libSM-devel |
---|
22 | BuildRequires: intltool >= 0.35.0 |
---|
23 | BuildRequires: gettext >= 0.14.1 |
---|
24 | BuildRequires: desktop-file-utils |
---|
25 | Requires: wget, GConf2 |
---|
26 | Requires(post): GConf2 |
---|
27 | Requires(post): desktop-file-utils |
---|
28 | Requires(pre): GConf2 |
---|
29 | Requires(preun): GConf2 |
---|
30 | Requires(postun): desktop-file-utils |
---|
31 | |
---|
32 | %description |
---|
33 | Gwget it's a download manager for the Gnome Desktop. |
---|
34 | It supports resume, notification space, recursive download and |
---|
35 | drag & drop. |
---|
36 | |
---|
37 | %description -l ja |
---|
38 | Gwget は Gnome Desktop 向けのダウンロードマネージャです。 |
---|
39 | レジュームや通知スペース、再帰ダウンロード、ドラッグ&ドロップ |
---|
40 | に対応しています。 |
---|
41 | |
---|
42 | |
---|
43 | %prep |
---|
44 | %setup -q |
---|
45 | |
---|
46 | %build |
---|
47 | %configure --disable-epiphany-extension --disable-static |
---|
48 | make %{?_smp_mflags} |
---|
49 | |
---|
50 | |
---|
51 | %install |
---|
52 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
53 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
54 | %makeinstall |
---|
55 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
56 | %find_lang %{name} |
---|
57 | |
---|
58 | #remove unnecessary files. |
---|
59 | %{__rm} -rf ${RPM_BUILD_ROOT}/%{_includedir}/gwget |
---|
60 | |
---|
61 | %clean |
---|
62 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
63 | |
---|
64 | %post |
---|
65 | update-desktop-database -q |
---|
66 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
67 | gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gwget.schemas > /dev/null |
---|
68 | |
---|
69 | %pre |
---|
70 | if [ "$1" -gt 1 ]; then |
---|
71 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
72 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gwget.schemas > /dev/null |
---|
73 | fi |
---|
74 | |
---|
75 | %preun |
---|
76 | if [ "$1" = "0" ] ; then |
---|
77 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
78 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gwget.schemas > /dev/null |
---|
79 | fi |
---|
80 | |
---|
81 | %postun |
---|
82 | update-desktop-database -q |
---|
83 | |
---|
84 | %files -f %{name}.lang |
---|
85 | %defattr(-,root,root) |
---|
86 | %doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO |
---|
87 | %{_bindir}/gwget |
---|
88 | %{_sysconfdir}/gconf/schemas/gwget.schemas |
---|
89 | %{_datadir}/applications/gwget.desktop |
---|
90 | %{_datadir}/gwget |
---|
91 | %{_datadir}/pixmaps/gwget.png |
---|
92 | %{_datadir}/dbus-1/services/org.gnome.gwget.service |
---|
93 | |
---|
94 | %changelog |
---|
95 | * Sun Jan 24 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.4-2 |
---|
96 | - added BuildRequires: libSM-devel (see [BTS:VineLinux:0900]) |
---|
97 | |
---|
98 | * Tue Oct 20 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.4-1 |
---|
99 | - new upstream release |
---|
100 | |
---|
101 | * Sun Oct 11 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.2-1 |
---|
102 | - new upstream release |
---|
103 | - added --disable-static in configure option |
---|
104 | - changed make %{?_smp_mflags} |
---|
105 | - added BuildRequires: libnotify-devel, intltool >= 0.35.0, gettext >= 0.14.1, desktop-file-utils |
---|
106 | |
---|
107 | * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.1-1 |
---|
108 | - applied new versioning policy, spec in UTF-8 |
---|
109 | - new upstream release |
---|
110 | |
---|
111 | * Wed Jul 25 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.99-0vl1 |
---|
112 | - rebuild for Vine Seed. |
---|
113 | - add requried gtk2 version >= 2.10. |
---|
114 | |
---|
115 | * Wed Jul 25 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.98.2-0vl1 |
---|
116 | - initial build for Vine Plus/4.0. |
---|