]> git.pld-linux.org Git - packages/PicasaWebDownloader.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 5 Nov 2007 20:16:25 +0000 (20:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    PicasaWebDownloader-url.patch -> 1.1
    PicasaWebDownloader.spec -> 1.1

PicasaWebDownloader-url.patch [new file with mode: 0644]
PicasaWebDownloader.spec [new file with mode: 0644]

diff --git a/PicasaWebDownloader-url.patch b/PicasaWebDownloader-url.patch
new file mode 100644 (file)
index 0000000..c8e9637
--- /dev/null
@@ -0,0 +1,15 @@
+--- 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 = 
diff --git a/PicasaWebDownloader.spec b/PicasaWebDownloader.spec
new file mode 100644 (file)
index 0000000..de92f27
--- /dev/null
@@ -0,0 +1,43 @@
+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
This page took 0.092241 seconds and 4 git commands to generate.