source: projects/specs/trunk/u/uget/uget-vl.spec @ 6259

Revision 6259, 3.4 KB checked in by kudoh, 12 years ago (diff)
Line 
1%define _version 1.8.2
2Name:           uget
3Version:        %{_version}
4Release:        1%{?_dist_release}
5Summary:        Uget is a download manager that using gtk+2 and curl
6Summary(ja):    Uget - gtk+2 と curl を用いたダウンロードマネージャ
7
8Group:          Applications/Internet
9License:        LGPLv2+
10URL:            http://urlget.sourceforge.net/
11Source0:        http://downloads.sourceforge.net/urlget/%{name}-%{_version}.tar.gz
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires:  desktop-file-utils gettext
16BuildRequires:  glib2-devel => 2.22 openldap-devel
17BuildRequires:  curl-devel => 7.19.1
18BuildRequires:  perl-XML-Parser
19BuildRequires:  gstreamer-devel libnotify-devel
20
21%if %{?_dist_release} == "vl7"
22BuildRequires:  gtk3-devel
23%else
24BuildRequires:  gtk2-devel => 2.18
25%endif
26
27%description
28Uget is a download manager that using gtk+2 and curl.
29
30%description -l ja
31Uget は gtk+2 と curl を用いたダウンロードマネージャです。
32
33%prep
34%setup -q -n %{name}-%{version}
35
36%build
37%if %{?_dist_release} == "vl7"
38%configure --disable-plugin-aria2 --enable-appindicator=no --with-gtk3
39%else
40%configure --disable-plugin-aria2 --enable-appindicator=no
41%endif
42
43make -k %{?_smp_mflags}
44
45%install
46rm -rf $RPM_BUILD_ROOT
47make install \
48        DESTDIR=$RPM_BUILD_ROOT \
49        INSTALL="install -p"
50
51%find_lang %{name}
52
53desktop-file-install \
54        --dir $RPM_BUILD_ROOT%{_datadir}/applications/ \
55        %{name}-gtk.desktop
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%post
61touch --no-create %{_datadir}/icons/hicolor || :
62%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
63update-desktop-database > /dev/null 2>&1 || :
64
65
66%postun
67touch --no-create %{_datadir}/icons/hicolor || :
68%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
69update-desktop-database > /dev/null 2>&1 || :
70
71%files -f %{name}.lang
72%defattr(-,root,root,-)
73%doc COPYING ChangeLog README
74%{_bindir}/%{name}-gtk
75%{_datadir}/applications/%{name}-gtk.desktop
76%{_datadir}/icons/*
77%{_datadir}/sounds/*
78
79%changelog
80* Tue May 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.8.2-1
81- new upstream release
82
83* Sat Apr 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.8.1-1
84- new upstream release
85- set conditional branch for VineSeed and other
86
87* Thu Jun 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.8.0-1
88- new upstream release
89- added %%configure option --disable-plugin-aria2 --enable-appindicator=no
90
91* Thu May 5 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.4-1
92- new upstream release
93
94* Sun Dec 19 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.2a-1
95- new upstream release
96
97* Sat Oct 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.1-1
98- new upstream release
99
100* Thu Sep 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.0-1
101- new upstream release
102- dropt Pacth1
103- changed BuildRequires: gtk2-devel => 2.18, glib2-devel => 2.22, curl-devel => 7.19.1
104
105* Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0.3-1
106- new upstream release
107
108* Thu Mar 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0.2-1
109- new upstream release
110- applied new naming policy to spec
111
112* Wed Jan 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0.1-2
113- added Patch1 from Fedora to fix segv when invalid uri is passed to the argument
114
115* Wed Dec 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0.1-1
116- new upstream release
117- added BuildRequires:  gstreamer-devel libnotify-devel
118
119* Thu Oct 8 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0-1
120- initial build for VineSeed
121
122* Sat May  2 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.7-1
123- Initial packaging
Note: See TracBrowser for help on using the repository browser.