Author: cactus Date: Mon May 28 16:41:38 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - initial release
---- Files affected: SPECS: subdownloader.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/subdownloader.spec diff -u /dev/null SPECS/subdownloader.spec:1.1 --- /dev/null Mon May 28 18:41:38 2007 +++ SPECS/subdownloader.spec Mon May 28 18:41:33 2007 @@ -0,0 +1,88 @@ +# $Revision$, $Date$ +# +# 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 + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007/05/28 16:41:33 cactus +- initial release ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
