From e133e75b971ecd805fc94698673a2d1645cf77bf Mon Sep 17 00:00:00 2001 From: root Date: Jul 02 2013 15:02:00 +0000 Subject: New version with modified SPEC. --- diff --git a/.gitignore b/.gitignore index 03af923..7ef9d93 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /youtube-dl-2013.05.07.tar.gz /youtube-dl-2013.05.23.tar.gz /youtube-dl-2013.06.31.tar.gz +/youtube-dl-2013.07.02.tar.gz diff --git a/sources b/sources index 4b3dedf..03cfac6 100644 --- a/sources +++ b/sources @@ -1,3 +1,4 @@ 139ffe39568318a5939edf05afbac4d0 youtube-dl-2013.05.14.tar.gz 6cb4ee904456d102d4f3edb68272ca50 youtube-dl-2013.05.23.tar.gz 83638449553afa6bedce40edc254d182 youtube-dl-2013.06.31.tar.gz +89f7959dec2a7e669887b509bb101358 youtube-dl-2013.07.02.tar.gz diff --git a/youtube-dl.spec b/youtube-dl.spec index 053cd02..4eb935d 100644 --- a/youtube-dl.spec +++ b/youtube-dl.spec @@ -1,7 +1,7 @@ Name: youtube-dl -Version: 2013.06.31 +Version: 2013.07.02 Release: 1%{?dist} -Summary: A small command-line program to download videos from YouTube.com and other sites +Summary: A small command-line program to download online videos License: Public Domain URL: http://youtube-dl.org Source0: http://youtube-dl.org/downloads/%{version}/%{name}-%{version}.tar.gz @@ -16,28 +16,37 @@ BuildRequires: python Requires: python %description -Small command-line program to download videos from YouTube. +Small command-line program to download videos from YouTube and other sites. %prep -%setup -cqTn %{name}-%{version} -gzip -dc %{SOURCE0} | tar --strip-components=1 -xvvf - +%setup -qn %{name} %build -make +make %{?_smp_mflags} %install -make install DESTDIR="%{buildroot}" PREFIX="%{_prefix}" MANDIR="%{_mandir}" +make install DESTDIR="%{buildroot}" \ + PREFIX="%{_prefix}" \ + MANDIR="%{_mandir}" \ + PYTHON="%{_bindir}/python" mkdir -p %{buildroot}%{_sysconfdir} -install -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir} +install -p -m644 %{S:1} %{buildroot}%{_sysconfdir} + +%check +make test %files -%doc CHANGELOG LICENSE +%doc LICENSE %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %config(noreplace) %{_sysconfdir}/%{name}.conf %{_sysconfdir}/bash_completion.d/%{name} %changelog +* Tue Jul 02 2013 Christopher Meng - 2013.07.02-1 +- Update to new release. +- SPEC cleanup. + * Wed Jun 26 2013 Christopher Meng - 2013.06.31-1 - Update to new release.