[drupal6-video/el6/master] New package.

sparks sparks at fedoraproject.org
Wed Mar 9 02:33:34 UTC 2011


commit b1a02f5f519acc26501a6913071fefeceea99abe
Author: Eric H Christensen <eric at christensenplace.us>
Date:   Tue Mar 8 21:33:21 2011 -0500

    New package.

 .gitignore         |    1 +
 drupal6-video.spec |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1849959 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/video-6.x-4.2-beta2.tar.gz
diff --git a/drupal6-video.spec b/drupal6-video.spec
new file mode 100644
index 0000000..f8f1eac
--- /dev/null
+++ b/drupal6-video.spec
@@ -0,0 +1,56 @@
+%global drupalver 6
+%if 0%{?fedora} <= 14
+%global drupal drupal
+%else
+# e.g. "drupal6"
+%global drupal drupal%{drupalver}
+%endif
+# e.g. "/usr/share/drupal6"
+%global drupaldir %{_datadir}/%{drupal}
+# Use upstream name as expressed in URL and tarball
+%global modname video
+
+Name:    drupal6-%{modname}
+Version: 6.x.4.2.beta2
+Release: 2%{?dist}
+Summary: Allows Creation of CCK Video Fields
+Group:   Applications/Publishing
+License: GPLv2+
+URL:     http://drupal.org/project/%{modname}
+Source0: http://ftp.drupal.org/files/projects/video-6.x-4.2-beta2.tar.gz
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires:  %{drupal} >= 6.0
+
+%description
+Video module allows you to upload video in any format, play video in any 
+format, transcode video to FLV using FFMPEG (can be extended to any 
+transcoder), automatically creates video thumbnails, use video thumbnails in 
+video node teaser, fast and very reliable API for converting videos and auto 
+thumbnailing, can be used as an all-in-one video solution for Drupal.
+
+%prep
+%setup -qn %{modname}
+
+%build
+
+%install
+rm -rf %{buildroot}
+install -d %{buildroot}%{drupaldir}/modules/%{modname}
+cp -pr * %{buildroot}%{drupaldir}/modules/%{modname}
+sed -i -e '/^#!\//, 1d' %{buildroot}%{drupaldir}/modules/%{modname}/video_scheduler.php
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE.txt
+%exclude %{drupaldir}/modules/%{modname}/LICENSE.txt
+%{drupaldir}/modules/%{modname}
+
+%changelog
+* Sun Mar 06 2011 Eric "Sparks" Christensen <sparks at fedoraproject.org> - 6.x.4.2.beta2-2
+- Fixed package name.
+* Sat Mar 05 2011 Eric "Sparks" Christensen <sparks at fedoraproject.org> - 6.x.4.2.beta2-1
+- New package.
diff --git a/sources b/sources
index e69de29..8f6d20b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c54574934aa75fccb21b044a8e8b54b0  video-6.x-4.2-beta2.tar.gz


More information about the scm-commits mailing list