]> git.pld-linux.org Git - packages/subdownloader.git/commitdiff
- initial release
authorBartłomiej Zimoń <cactus@pld-linux.org>
Mon, 28 May 2007 16:41:33 +0000 (16:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    subdownloader.desktop -> 1.1
    subdownloader.png -> 1.1
    subdownloader.spec -> 1.1

subdownloader.desktop [new file with mode: 0644]
subdownloader.png [new file with mode: 0644]
subdownloader.spec [new file with mode: 0644]

diff --git a/subdownloader.desktop b/subdownloader.desktop
new file mode 100644 (file)
index 0000000..90adbc1
--- /dev/null
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=SubDownloader
+Name[en_GB]=SubDownloader
+Name[es]=SubDownloader
+Comment=Automatic download/upload subtitles for videofiles
+Comment[pl]=Automatycznie przesyłaj podpisy do plików wideo
+Exec=subdownloader $@
+Terminal=false
+Type=Application
+Icon=subdownloader.png
+Categories=GNOME;Application;AudioVideo;
diff --git a/subdownloader.png b/subdownloader.png
new file mode 100644 (file)
index 0000000..3d96041
Binary files /dev/null and b/subdownloader.png differ
diff --git a/subdownloader.spec b/subdownloader.spec
new file mode 100644 (file)
index 0000000..ce6ddf0
--- /dev/null
@@ -0,0 +1,78 @@
+#
+# TODO:
+# - pl desc ;)
+# - fill license type
+# - add polish localization
+#
+Summary:       Tool for automatic download/upload subtitles for videofiles.
+Summary(pl.UTF-8): Narzędzie do automatycznego ściągania/wysyłania podpisów do plików wideo.
+Name:          subdownloader
+Version:       1.2.9
+Release:       0.1
+License:       ???
+Group:         X11/Applications/Games
+Source0:       http://www.vinalinux.com/projects/subdownloader/repository/sources.%{version}.zip
+# Source0-md5: 31bd12d5edc11f05f51ea43c58cfb9e4
+Source1:        %{name}.desktop
+Source2:        %{name}.png
+URL:           http://trac.opensubtitles.org/projects/subdowloader/
+BuildRequires: rpm-pythonprov
+Requires:      python >= 2.5
+Requires:      python-mmpython
+Requires:      python-imdb
+Requires:      python-wxPython >= 2.8
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Subdownloader is a Free OpenSource tool written in PYTHON for automatic 
+download/upload subtitles for videofiles (DIVX,MPEG,AVI,etc).
+
+Features:
+
+- no spyware, no adware, source code is available
+- it uses fast hashing algorithm (27 GB movies/7 seconds)
+- Search subtitles recursively from your divx folders
+- Upload entire series seasons' subtitles in less than 1 minute
+- Autodetect language of the subtitles and many more
+
+#%description -l pl.UTF-8
+
+
+%prep
+%setup -q -c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_bindir},%{_desktopdir},%{_pixmapsdir}}
+
+cp -fr conf            $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -fr data            $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -fr extra           $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -fr flags           $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -fr images          $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -fr lm              $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -fr locale          $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -fr flags           $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -fr preferences     $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -fr wxglade         $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -f *.py             $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+cp -f subdownloader.sh  $RPM_BUILD_ROOT%{_bindir}
+cp -f %{SOURCE1}  $RPM_BUILD_ROOT%{_desktopdir}
+cp -f %{SOURCE2}  $RPM_BUILD_ROOT%{_pixmapsdir}
+
+%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
+%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc TODO.txt license.txt tips.txt
+%{_datadir}/%{name}
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
+%attr(755,root,root) %{_bindir}/subdownloader.sh
This page took 0.1169 seconds and 4 git commands to generate.