[drupal6-imagecache] Initial commit (copied to master from origin/f19)

Shawn Iwinski siwinski at fedoraproject.org
Sun Jan 26 19:03:24 UTC 2014


commit 36099fe33e915293487ce5c16dfae2a5879d3955
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date:   Sun Jan 26 13:03:28 2014 -0500

    Initial commit (copied to master from origin/f19)

 .gitignore                           |    1 +
 drupal6-imagecache-fedora-README.txt |    6 +++
 drupal6-imagecache.spec              |   71 ++++++++++++++++++++++++++++++++++
 sources                              |    1 +
 4 files changed, 79 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9dad9f5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/imagecache-6.x-2.0-rc1.tar.gz
diff --git a/drupal6-imagecache-fedora-README.txt b/drupal6-imagecache-fedora-README.txt
new file mode 100644
index 0000000..651c936
--- /dev/null
+++ b/drupal6-imagecache-fedora-README.txt
@@ -0,0 +1,6 @@
+After installation, you must enable this module from the drupal
+administration.
+
+If upgrading this module seperately from the core drupal package, 
+be sure to run the http://hostname/drupal6/upgrade.php script after this
+rpm is upgraded.
diff --git a/drupal6-imagecache.spec b/drupal6-imagecache.spec
new file mode 100644
index 0000000..bd35afc
--- /dev/null
+++ b/drupal6-imagecache.spec
@@ -0,0 +1,71 @@
+%global drupalver 6
+%{?rhel: %{expand: %%global drupal drupal%%{drupalver}}}
+%if 0%{?fedora} >= 15
+%global drupal drupal%{drupalver}
+%endif
+%{!?drupal: %{expand: %%global drupal drupal}}
+# e.g. "/usr/share/drupal6"
+%global drupalbase           %{_datadir}/%{drupal}
+%global drupal_sites_all    %{drupalbase}/sites/all        
+%global drupal_modules      %{drupal_sites_all}/modules
+# Use upstream name as expressed in URL and tarball
+%global modname             imagecache
+%global upstream_version    2.0-rc1
+
+Name:    drupal%{drupalver}-%{modname}
+Version: 2.0
+Release: 5.rc1%{?dist}
+Summary: Image Cache Module for Drupal6
+Group:   Applications/Publishing
+License: GPLv2
+URL:     http://drupal.org/project/%{modname}
+Source0: http://ftp.drupal.org/files/projects/%{modname}-%{drupalver}.x-%{upstream_version}.tar.gz
+Source1: %{name}-fedora-README.txt
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires:  drupal6, drupal6-imageapi, php-date, php-pcre
+
+%description
+ImageCache allows you to setup presets for image processing.
+
+%prep
+%setup -qn %{modname}
+
+%build
+cp %{SOURCE1} .
+
+
+%install
+rm -rf %{buildroot}
+install -p -d %{buildroot}%{drupal_modules}/%{modname}
+find . -type f -exec install -m 0644 -D '{}' %{buildroot}%{drupal_modules}/%{modname}/'{}' \;
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc  %{name}-fedora-README.txt
+%doc %{drupal_modules}/%{modname}/LICENSE.txt
+%exclude %{drupal_modules}/%{modname}/%{name}-fedora-README.txt
+%exclude %{drupal_modules}/%{modname}/LICENSE.txt
+%{drupal_modules}/%{modname}
+
+%changelog
+* Fri Mar 22 2013 Anderson Silva <ansilva at redhat.com> - 2.0-5.rc1
+- Add LICENSE.txt
+- Add php-date, php-pcre requirements
+
+* Thu Jun 7 2012 Anderson Silva <ansilva at redhat.com> - 2.0-4.rc1
+- rc1 upstream release
+- update description
+- add drupal6-imageapi dependency
+
+* Wed Mar 21 2012 Anderson Silva <ansilva at redhat.com> - 2.0-3.beta12
+- Fix non-numeric version
+
+* Fri Mar 9 2012 Anderson Silva <ansilva at redhat.com> - 2.0-2.beta12
+- Update spec to comply with Fedora Packaging
+
+* Mon Mar 5 2012 Anderson Silva <ansilva at redhat.com> - 2.0-1.beta12
+- Initial rpm package
diff --git a/sources b/sources
index e69de29..5c0f3da 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2719a3b45c58f78350f4047e56c0fafe  imagecache-6.x-2.0-rc1.tar.gz


More information about the scm-commits mailing list