source: projects/specs/branches/6/g/gwget/gwget-vl.spec @ 5621

Revision 5621, 3.5 KB checked in by kudoh, 12 years ago (diff)
Line 
1%define name    gwget
2%define version 1.0.4
3%define release 3%{?_dist_release}
4
5Summary:        Download manager for Gnome
6Summary(ja):    Gnome 用ダウンロードマネージャ
7Name:           %{name}
8Version:        %{version}
9Release:        %{release}
10Source0:        http://ftp.gnome.org/pub/GNOME/sources/gwget/0.99/%{name}-%{version}.tar.bz2
11License:        GPLv2+
12Group:          Applications/Internet
13URL:            http://www.gnome.org/projects/gwget/
14
15BuildRoot:      %{_tmppath}/%{name}-%{version}-root
16BuildRequires:  gtk2-devel >= 2.10
17BuildRequires:  libgnomeui-devel
18BuildRequires:  libglade2-devel, gnome-vfs2-devel
19BuildRequires:  dbus-devel
20BuildRequires:  libnotify-devel
21BuildRequires:  libSM-devel
22BuildRequires:  intltool >= 0.35.0
23BuildRequires:  gettext >= 0.14.1
24BuildRequires:  desktop-file-utils
25Requires:       wget, GConf2
26Requires(post): GConf2
27Requires(post): desktop-file-utils
28Requires(pre): GConf2
29Requires(preun): GConf2
30Requires(postun): desktop-file-utils
31
32%description
33Gwget it's a download manager for the Gnome Desktop.
34It supports resume, notification space, recursive download and
35drag & drop.
36
37%description -l ja
38Gwget は Gnome Desktop 向けのダウンロードマネージャです。
39レジュームや通知スペース、再帰ダウンロード、ドラッグ&ドロップ
40に対応しています。
41
42
43%prep
44%setup -q
45
46%build
47%configure --disable-epiphany-extension --disable-static
48make %{?_smp_mflags}
49
50
51%install
52%{__rm} -rf ${RPM_BUILD_ROOT}
53export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
54%makeinstall
55unset 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
65update-desktop-database -q
66export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
67gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gwget.schemas > /dev/null
68
69%pre
70if [ "$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
73fi
74
75%preun
76if [ "$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
79fi
80
81%postun
82update-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 Feb 12 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.4-3
96- rebuilt with rpm-4.8.1
97
98* Sun Jan 24 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.4-2
99- added BuildRequires: libSM-devel (see [BTS:VineLinux:0900])
100
101* Tue Oct 20 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.4-1
102- new upstream release
103
104* Sun Oct 11 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.2-1
105- new upstream release
106- added --disable-static in configure option
107- changed make %{?_smp_mflags}
108- added BuildRequires:  libnotify-devel, intltool >= 0.35.0, gettext >= 0.14.1, desktop-file-utils
109
110* Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.1-1
111- applied new versioning policy, spec in UTF-8
112- new upstream release
113
114* Wed Jul 25 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.99-0vl1
115- rebuild for Vine Seed.
116- add requried gtk2 version >= 2.10.
117
118* Wed Jul 25 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.98.2-0vl1
119- initial build for Vine Plus/4.0.
Note: See TracBrowser for help on using the repository browser.