[drupal6-image/f13/master] New package.

sparks sparks at fedoraproject.org
Wed Mar 9 01:56:15 UTC 2011


commit c558b0f5234919293165f4baad37f89e21198b98
Author: Eric H Christensen <eric at christensenplace.us>
Date:   Tue Mar 8 20:55:59 2011 -0500

    New package.

 .gitignore         |    1 +
 drupal6-image.spec |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5510c48 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/image-6.x-1.1.tar.gz
diff --git a/drupal6-image.spec b/drupal6-image.spec
new file mode 100644
index 0000000..9dd8792
--- /dev/null
+++ b/drupal6-image.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 image
+
+Name:    drupal6-%{modname}
+Version: 6.x.1.1
+Release: 1%{?dist}
+Summary: Allows uploading, resizing and viewing of images
+Group:   Applications/Publishing
+License: GPLv2+
+URL:     http://drupal.org/project/%{modname}
+Source0: http://ftp.drupal.org/files/projects/image-6.x-1.1.tar.gz
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires:  %{drupal} >= 6.0
+
+%description
+This module allows users with proper permissions to upload images into Drupal. 
+Thumbnails and additional sizes are created automatically.  Images could be 
+posted individually to the front page, included in stories or grouped in 
+galleries.
+
+%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.1.1-1
+- New package.
diff --git a/sources b/sources
index e69de29..1917a2f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+929d921164a652d2b73b6be7420b221a  image-6.x-1.1.tar.gz


More information about the scm-commits mailing list