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

sparks sparks at fedoraproject.org
Wed Mar 9 01:41:10 UTC 2011


commit 5f7283d4c84e2b11bc0217da12b7ac1933bb8000
Author: Eric H Christensen <eric at christensenplace.us>
Date:   Tue Mar 8 20:40:57 2011 -0500

    New package.

 .gitignore             |    1 +
 drupal6-filefield.spec |   52 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..49de935 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/filefield-6.x-3.9.tar.gz
diff --git a/drupal6-filefield.spec b/drupal6-filefield.spec
new file mode 100644
index 0000000..114ae81
--- /dev/null
+++ b/drupal6-filefield.spec
@@ -0,0 +1,52 @@
+%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 filefield
+
+Name:    drupal6-%{modname}
+Version: 6.x.3.9
+Release: 1%{?dist}
+Summary: Defines a file field type
+Group:   Applications/Publishing
+License: GPLv2+
+URL:     http://drupal.org/project/%{modname}
+Source0: http://ftp.drupal.org/files/projects/filefield-6.x-3.9.tar.gz
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires:  %{drupal} >= 6.0
+
+%description
+FileField provides a universal file upload field for CCK. It is a robust 
+alternative to core's Upload module and an absolute must for users uploading a
+large number of files. Great for managing video and audio files for podcasts on
+your own site.
+
+%prep
+%setup -qn %{modname}
+
+%build
+
+%install
+rm -rf %{buildroot}
+install -d %{buildroot}%{drupaldir}/modules/%{modname}
+cp -pr * %{buildroot}%{drupaldir}/modules/%{modname}
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE.txt 
+%exclude %{drupaldir}/modules/%{modname}/LICENSE.txt
+%{drupaldir}/modules/%{modname}
+
+%changelog
+* Sat Mar 05 2011 Eric "Sparks" Christensen <sparks at fedoraproject.org> - 6.x.3.9-1
+- New package
diff --git a/sources b/sources
index e69de29..b1ab73a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+43aff980408beff7d8f5554282aad15b  filefield-6.x-3.9.tar.gz


More information about the scm-commits mailing list