--- /dev/null
+--- PicasaWebDownloader-1.1/Program.cs.orig 2007-08-20 14:10:44.000000000 +0200
++++ PicasaWebDownloader-1.1/Program.cs 2007-11-05 21:06:28.238055228 +0100
+@@ -36,10 +36,10 @@
+ static bool canonizePicasaUrl( string source, out Uri targetUri )
+ {
+ Regex pattern = new Regex(
+- @"^(http://picasaweb\.google\.com/" +
++ @"^(http://picasaweb\.google\.(\w|\.)+/" +
+ @"((?<username>\w(\w|\.)+)/(?<album>\w(\w|\.)+))" +
+ @"|(data/feed/base/user/(?<username>\w(\w|\.)+)/album(?<qual>id)/(?<album>\d+)))" +
+- @"(\?.*(?<authkey>authkey\=\w+))?",
++ @"(\?.*(?<authkey>authkey\=(\w|-)+))?",
+ RegexOptions.IgnoreCase | RegexOptions.ExplicitCapture | RegexOptions.IgnorePatternWhitespace );
+
+ string replacement =
--- /dev/null
+Summary: PicasaWeb Downloader
+Summary(pl.UTF-8): Narzędzie do ściągania albumów z serwisu PicasaWeb
+Name: PicasaWebDownloader
+Version: 1.1
+Release: 1
+License: WTFPL
+Group: Applications/Graphics
+Source0: http://www.tomergabel.com/content/binary/PicasaWebDownloader11.zip
+# Source0-md5: 3edba3a4973fce37c884b286a7e3e567
+Patch0: %{name}-url.patch
+URL: http://www.tomergabel.com/PicasaWeb+Downloader.aspx
+BuildRequires: mono-csharp
+Requires: mono
+ExcludeArch: i386
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PicasaWeb Downloader allows you to download albums from PicasaWeb site
+without having to use (MS Windows-based) Picasa application.
+
+%description -l pl.UTF-8
+PicasaWeb Downloader pozwala ściągać albumy z serwisu PicasaWeb bez
+potrzeby korzystania z aplikacji Picasa (przeznaczonej dla MS
+Windows).
+
+%prep
+%setup -q -c
+%patch0 -p1
+
+%build
+gmcs -out:PicasaWebDownloader.exe Program.cs AssemblyInfo.cs
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -D PicasaWebDownloader.exe $RPM_BUILD_ROOT%{_bindir}/PicasaWebDownloader.exe
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/PicasaWebDownloader.exe