]> git.pld-linux.org Git - packages/rsget.git/commitdiff
- 0.6 epoch 1, maintainer has changed master auto/ti/rsget-0_6-1
authorPaweł Gołaszewski <blues@pld-linux.org>
Sat, 19 Dec 2009 17:24:55 +0000 (17:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rsget.patch -> 1.2
    rsget.spec -> 1.7

rsget.patch [deleted file]
rsget.spec

diff --git a/rsget.patch b/rsget.patch
deleted file mode 100644 (file)
index 7317f20..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
---- rsget.sh.orig      2009-02-12 16:31:07.000000000 +0100
-+++ rsget.sh   2009-10-13 08:23:18.000000000 +0200
-@@ -3,7 +3,7 @@
- # Piotr Jachacy
- # jachacy@gmail.com
- #
--# ostatnia modyfikacja: 14.10.2008
-+# ostatnia modyfikacja: 13.10.2009
- #
- # /* This program is free software. It comes without any warranty, to
- # * the extent permitted by applicable law. You can redistribute it
-@@ -49,6 +49,27 @@
-                       odliczanie $minuty
-                       
-                       pobierz $1
-+              elif [ -n "$(echo "$link" | grep "Currently a lot of users are downloading files.")" ]
-+              then
-+                      minuty=$(echo "$link" | grep "Please try again in" | sed -e "s/.*in \([0-9]*\) minutes.*/\1/")
-+
-+                      echo "Serwer jest przeciążony. Musisz odczekać około $minuty minut"
-+
-+                      minuty=$[$minuty*60+30]
-+
-+                      odliczanie $minuty
-+
-+                      pobierz $1
-+              elif [ -n "$(echo "$link" | grep "We regret that currently we have no available slots for free users.")" ]
-+              then
-+                      minuty=$(echo "$link" | grep "Unfortunately you will have to wait" | sed -e "s/.*wait \([0-9]*\) minutes.*/\1/")
-+                      echo "Brak wolnych slotów dla użytkowników darmowych. Musisz odczekać około $minuty minut"
-+
-+                      minuty=$[$minuty*60+30]
-+
-+                      odliczanie $minuty
-+
-+                      pobierz $1
-               else
-                       czas=$(echo "$link" | grep "var c" | sed -e "s/var c=\([0-9]*\);.*/\1/")
index 60c46b318d53886a693fe4a04d80e462d009a358..f13fa87985b9acc92744e07a86f67ca1305d03ec 100644 (file)
@@ -1,17 +1,20 @@
+# TODO:
+# - /home/users/blues/.rsget-mod/common.sh: line 65: /usr/bin/rsget: Brak dost�pu
+#   .rsget-mod/common.sh is downloaded on first run.
 #
 Summary:       A console-based RapidShare files downloader
 Summary(pl.UTF-8):     Konsolowy skrypt do pobierania plików z RapidShare
 Name:          rsget
-Version:       20091013
+Version:       0.6
 Release:       1
+Epoch:         1
 License:       WTFPL
 Group:         Applications
-Source0:       http://jachacy.mm5.pl/pub/%{name}.sh
-# Source0-md5: f783eee9d3fba101289d4213ed383217
+Source0:       http://rs.nerdblog.pl/stable/latest/%{name}-mod.sh
+# Source0-md5: d768c0e3adeb13db020a201b44a01c93
 Source1:       http://sam.zoy.org/wtfpl/COPYING
 # Source1-md5: 65a4a3db35cb4ac63386bdc70687d1e5
-Patch0:                %{name}.patch
-URL:           http://jachacy.jogger.pl/2008/07/03/rsget-sh-skrypt-automatyzujacy-pobieranie-z-rapidshare-com/
+URL:           http://rs.nerdblog.pl/
 Requires:      bash
 Requires:      grep
 Requires:      sed
@@ -30,17 +33,17 @@ RapidShare.
 %setup -q -c -T
 cp %{SOURCE0} .
 cp %{SOURCE1} .
-%patch0
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
-install rsget.sh $RPM_BUILD_ROOT%{_bindir}/rsget
+
+install %{name}-mod.sh $RPM_BUILD_ROOT%{_bindir}/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/rsget
 %doc COPYING
+%attr(755,root,root) %{_bindir}/%{name}
This page took 0.098874 seconds and 4 git commands to generate.