New version with modified SPEC.

epel9
root 12 years ago
parent a4a3049971
commit e133e75b97

1
.gitignore vendored

@ -5,3 +5,4 @@
/youtube-dl-2013.05.07.tar.gz /youtube-dl-2013.05.07.tar.gz
/youtube-dl-2013.05.23.tar.gz /youtube-dl-2013.05.23.tar.gz
/youtube-dl-2013.06.31.tar.gz /youtube-dl-2013.06.31.tar.gz
/youtube-dl-2013.07.02.tar.gz

@ -1,3 +1,4 @@
139ffe39568318a5939edf05afbac4d0 youtube-dl-2013.05.14.tar.gz 139ffe39568318a5939edf05afbac4d0 youtube-dl-2013.05.14.tar.gz
6cb4ee904456d102d4f3edb68272ca50 youtube-dl-2013.05.23.tar.gz 6cb4ee904456d102d4f3edb68272ca50 youtube-dl-2013.05.23.tar.gz
83638449553afa6bedce40edc254d182 youtube-dl-2013.06.31.tar.gz 83638449553afa6bedce40edc254d182 youtube-dl-2013.06.31.tar.gz
89f7959dec2a7e669887b509bb101358 youtube-dl-2013.07.02.tar.gz

@ -1,7 +1,7 @@
Name: youtube-dl Name: youtube-dl
Version: 2013.06.31 Version: 2013.07.02
Release: 1%{?dist} 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 License: Public Domain
URL: http://youtube-dl.org URL: http://youtube-dl.org
Source0: http://youtube-dl.org/downloads/%{version}/%{name}-%{version}.tar.gz Source0: http://youtube-dl.org/downloads/%{version}/%{name}-%{version}.tar.gz
@ -16,28 +16,37 @@ BuildRequires: python
Requires: python Requires: python
%description %description
Small command-line program to download videos from YouTube. Small command-line program to download videos from YouTube and other sites.
%prep %prep
%setup -cqTn %{name}-%{version} %setup -qn %{name}
gzip -dc %{SOURCE0} | tar --strip-components=1 -xvvf -
%build %build
make make %{?_smp_mflags}
%install %install
make install DESTDIR="%{buildroot}" PREFIX="%{_prefix}" MANDIR="%{_mandir}" make install DESTDIR="%{buildroot}" \
PREFIX="%{_prefix}" \
MANDIR="%{_mandir}" \
PYTHON="%{_bindir}/python"
mkdir -p %{buildroot}%{_sysconfdir} mkdir -p %{buildroot}%{_sysconfdir}
install -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir} install -p -m644 %{S:1} %{buildroot}%{_sysconfdir}
%check
make test
%files %files
%doc CHANGELOG LICENSE %doc LICENSE
%{_bindir}/%{name} %{_bindir}/%{name}
%{_mandir}/man1/%{name}.1* %{_mandir}/man1/%{name}.1*
%config(noreplace) %{_sysconfdir}/%{name}.conf %config(noreplace) %{_sysconfdir}/%{name}.conf
%{_sysconfdir}/bash_completion.d/%{name} %{_sysconfdir}/bash_completion.d/%{name}
%changelog %changelog
* Tue Jul 02 2013 Christopher Meng <rpm@cicku.me> - 2013.07.02-1
- Update to new release.
- SPEC cleanup.
* Wed Jun 26 2013 Christopher Meng <rpm@cicku.me> - 2013.06.31-1 * Wed Jun 26 2013 Christopher Meng <rpm@cicku.me> - 2013.06.31-1
- Update to new release. - Update to new release.

Loading…
Cancel
Save