diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0d82924 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +urlgfe-1.0.2.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 9c8de53..0000000 --- a/dead.package +++ /dev/null @@ -1,3 +0,0 @@ -2009-07-27 Mamoru Tasaka - -Renamed to uget, which has been in Fedora since 2009-05-04 diff --git a/sources b/sources new file mode 100644 index 0000000..2345a6c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +d54bacbb107ae29a611dd3ec7bd597a2 urlgfe-1.0.2.tar.gz diff --git a/urlgfe.spec b/urlgfe.spec new file mode 100644 index 0000000..fcce804 --- /dev/null +++ b/urlgfe.spec @@ -0,0 +1,76 @@ +Name: urlgfe +Version: 1.0.2 +Release: 1%{?dist} +Summary: Urlgfe download manager + +Group: Applications/Internet +License: LGPLv2+ +URL: http://urlget.sourceforge.net/ +Source0: http://downloads.sourceforge.net/urlget/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: curl-devel +BuildRequires: expat-devel +BuildRequires: gawk +BuildRequires: gtk2-devel +BuildRequires: krb5-devel +BuildRequires: pcre-devel +BuildRequires: desktop-file-utils + +%description +Urlgfe is a download manager that uses GTK+2 ,libcurl, and pcre. + +It allows you to classify URLs before downloading them, and +allows you to import URLs from HTML files. Every category has +an independent configuration that can be inherited by +each download in that category. + +%prep +%setup -q + +%build +%configure +%{__sed} -i.mkdir -e 's|@MKINSTALLDIRS@|install-sh -d|' po/Makefile +%{__make} %{?_smp_mflags} + +%install +%{__rm} -rf $RPM_BUILD_ROOT +%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -c -p" + +desktop-file-install \ + --delete-original \ + --vendor fedora \ + --remove-category Application \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications \ + $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop + +for f in [A-Z]* ; do \ + %{__sed} -i.encoding -e 's|\r||g' $f +done + +%{find_lang} %{name} + +%clean +%{__rm} -rf $RPM_BUILD_ROOT + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING COPYRIGHT ChangeLog NEWS +%doc README + +%{_bindir}/%{name} +%{_datadir}/pixmaps/%{name}*.png +%{_datadir}/applications/fedora-%{name}.desktop + +%changelog +* Wed Aug 29 2007 Mamoru Tasaka - 1.0.2-1 +- 1.0.2 + +* Wed Aug 22 2007 Mamoru Tasaka - 1.0-1.dist.2 +- Mass rebuild (buildID or binutils issue) + +* Fri Aug 3 2007 Mamoru Tasaka - 1.0-1.dist.1 +- License update + +* Wed Nov 29 2006 Mamoru Tasaka - 1.0-1 +- Initial packaging to import to Fedora Extras.