diff --git a/.gitignore b/.gitignore index 6e510e2..c7198ea 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /youtube-dl-2013.01.02.tar.gz /youtube-dl-2013.01.13.tar.gz /youtube-dl-2013.04.18.tar.gz +/youtube-dl-2013.05.07.tar.gz diff --git a/sources b/sources index ef97508..96f9c65 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f1ba09cfd9ca75df1b3bd721bd1e61f1 youtube-dl-2013.04.18.tar.gz +f525dfa558c06b4360cc38aaadf0ae7a youtube-dl-2013.05.07.tar.gz diff --git a/youtube-dl-2012.10.09-DESTDIR.patch b/youtube-dl-2012.10.09-DESTDIR.patch deleted file mode 100644 index cb26def..0000000 --- a/youtube-dl-2012.10.09-DESTDIR.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -up youtube-dl-2012.10.09/Makefile.DESTDIR youtube-dl-2012.10.09/Makefile ---- youtube-dl-2012.10.09/Makefile.DESTDIR 2012-10-09 15:53:20.000000000 +0200 -+++ youtube-dl-2012.10.09/Makefile 2012-10-25 20:52:01.950205187 +0200 -@@ -5,10 +5,17 @@ clean: - rm -f youtube-dl youtube-dl.exe youtube-dl.1 LATEST_VERSION - - PREFIX=/usr/local -+BINDIR=$(PREFIX)/bin -+MANDIR=$(PREFIX)/man -+SYSCONFDIR=/etc -+ - install: youtube-dl youtube-dl.1 youtube-dl.bash-completion -- install -m 755 --owner root --group root youtube-dl $(PREFIX)/bin/ -- install -m 644 --owner root --group root youtube-dl.1 $(PREFIX)/man/man1 -- install -m 644 --owner root --group root youtube-dl.bash-completion /etc/bash_completion.d/youtube-dl -+ install -d $(DESTDIR)$(BINDIR) -+ install -m 755 youtube-dl $(DESTDIR)$(BINDIR) -+ install -d $(DESTDIR)$(MANDIR)/man1 -+ install -m 644 youtube-dl.1 $(DESTDIR)$(MANDIR)/man1 -+ install -d $(DESTDIR)$(SYSCONFDIR)/bash_completion.d -+ install -m 644 youtube-dl.bash-completion $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/youtube-dl - - .PHONY: all clean install README.md youtube-dl.bash-completion - # TODO un-phony README.md and youtube-dl.bash_completion by reading from .in files and generating from them diff --git a/youtube-dl.spec b/youtube-dl.spec index 675f4b9..48a8313 100644 --- a/youtube-dl.spec +++ b/youtube-dl.spec @@ -1,12 +1,11 @@ Name: youtube-dl -Version: 2013.04.18 +Version: 2013.05.07 Release: 1%{?dist} Summary: Small command-line program to download videos from YouTube -Summary(pl): Tekstowy program do pobierania filmów z youtube.com Group: Applications/Multimedia License: Public Domain -URL: http://rg3.github.com/youtube-dl/ -Source0: https://github.com/rg3/%{name}/tarball/%{version}/%{name}-%{version}.tar.gz +URL: http://youtube-dl.org +Source0: http://youtube-dl.org/downloads/%{version}/%{name}-%{version}.tar.gz Source1: %{name}.conf BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -21,15 +20,9 @@ BuildRequires: python >= 2.6 %description Small command-line program to download videos from YouTube. -%description -l pl -youtube-dl to mały tekstowy program służący do pobierania filmów z -youtube.com. - %prep %setup -cqTn %{name}-%{version} gzip -dc %{SOURCE0} | tar --strip-components=1 -xvvf - -rm youtube-dl{,.exe} - %build make @@ -45,12 +38,16 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) +%doc CHANGELOG LICENSE %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %config(noreplace) %{_sysconfdir}/%{name}.conf %{_sysconfdir}/bash_completion.d/%{name} %changelog +* Wed May 08 2013 Christopher Meng - 2013.05.07-1 +- Update to new release + * Thu Apr 18 2013 Till Maas - 2013.04.18-1 - Update to new release