]> git.pld-linux.org Git - packages/subdownloader.git/commitdiff
- up to 2.1.0
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 6 Nov 2019 06:51:07 +0000 (07:51 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 6 Nov 2019 06:51:07 +0000 (07:51 +0100)
always-en.patch [deleted file]
egginfo.patch [deleted file]
subdownloader.spec

diff --git a/always-en.patch b/always-en.patch
deleted file mode 100644 (file)
index 19d2847..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- subdownloader-2.0.19/subdownloader/client/gui/main.py~     2017-02-13 20:10:12.000000000 +0200
-+++ subdownloader-2.0.19/subdownloader/client/gui/main.py      2018-02-04 13:09:27.174853433 +0200
-@@ -371,6 +371,8 @@
-             if 'subdownloader.mo' in files:
-                 self.interface_langs.append(_lang)
-+        # Always add english
-+        self.interface_langs.append('en')
-         log.debug('Found these translations languages: %r' %
-                   self.interface_langs)
diff --git a/egginfo.patch b/egginfo.patch
deleted file mode 100644 (file)
index 73565b7..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
---- subdownloader-2.1.0/setup.py~      2018-02-09 22:29:43.000000000 +0200
-+++ subdownloader-2.1.0/setup.py       2018-02-13 00:13:26.097980981 +0200
-@@ -19,7 +19,6 @@
-     return open(os.path.join(project_path, filename)).read()
- install_requires = [
--    "argparse >= 1.3.0",
-     "argcomplete >= 1.7.0",
-     "langdetect >= 1.0.7",
-     "pymediainfo >= 2.1.6",
-@@ -30,12 +29,6 @@
-     "docutils >= 0.14",
- ]
--# Workaround since python 2 has no PyQt5 release
--if sys.version_info.major > 2:
--    install_requires.extend([
--        "PyQt5 >= 5.0.0",
--    ])
--
- setup(
-     name=subdownloader.project.PROJECT_TITLE,
-     version=subdownloader.project.PROJECT_VERSION_FULL_STR,
index ab5ddda437ad6f0f1c582e363353e9319cf0a855..afef99baab84b951911a2b05b093530b89c777de 100644 (file)
@@ -1,24 +1,19 @@
-%global commit 2.1.0-rc2
 %define                module          subdownloader
 %define                egg_name        SubDownloader
 Summary:       Fast and Easy Subtitle Downloader
 Summary(pl.UTF-8):     Narzędzie do automatycznego ściągania/wysyłania podpisów do plików wideo
 Name:          subdownloader
 Version:       2.1.0
-Release:       0.2
+Release:       0.1
 License:       GPL v3
 Group:         X11/Applications/Multimedia
-#Source0:      https://launchpad.net/subdownloader/trunk/%{version}/+download/%{name}_%{version}.orig.tar.gz
-Source0:       https://github.com/subdownloader/subdownloader/archive/%{commit}/%{name}-%{commit}.tar.gz
-# Source0-md5: 35c195c0bf8d621e2f1396006ad2dae1
+Source0:       https://github.com/subdownloader/subdownloader/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 2ee94f8cb2fd1d8eb8742122273e0ae9
 Source1:       %{name}.desktop
 Source2:       %{name}.png
 # Source2-md5: de3d0cfa08b1572878cde6e3800205fa
 Source3:       %{name}.sh
 # site down, and was not in distfiles
-#Source:       http://starowa.one.pl/~uzi/pld/%{name}-locale-pl.tar.gz
-Patch0:                always-en.patch
-Patch1:                egginfo.patch
 URL:           http://www.subdownloader.net/
 BuildRequires: python3 >= 1:3.4
 BuildRequires: python3-PyQt5
@@ -62,18 +57,10 @@ Cechy:
 - i wiele więcej
 
 %prep
-%setup -qc
-mv subdownloader-%{commit}*/* .
-#%patch0 -p1
-%patch1 -p1
-
-#tar xzf %{SOURCE3}
+%setup -q
 
 %{__rm} scripts/gui/rc/images/icon32.ico
 
-# cleanup backups after patching
-find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
-
 %build
 %py3_build
 
This page took 0.137178 seconds and 4 git commands to generate.