[drupal7-cs_adaptive_image] Initial import (#959669)

Shawn Iwinski siwinski at fedoraproject.org
Mon Jul 8 15:16:53 UTC 2013


commit 2f79c6b0942046c2cf85fb172f4d431b2a43c016
Author: Shawn Iwinski <siwinski at redhat.com>
Date:   Mon Jul 8 11:16:46 2013 -0400

    Initial import (#959669)

 .gitignore                               |    1 +
 drupal7-cs_adaptive_image-RPM-README.txt |    5 ++
 drupal7-cs_adaptive_image.spec           |   76 ++++++++++++++++++++++++++++++
 sources                                  |    1 +
 4 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0ddfc4a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/cs_adaptive_image-7.x-1.0.tar.gz
diff --git a/drupal7-cs_adaptive_image-RPM-README.txt b/drupal7-cs_adaptive_image-RPM-README.txt
new file mode 100644
index 0000000..e15a506
--- /dev/null
+++ b/drupal7-cs_adaptive_image-RPM-README.txt
@@ -0,0 +1,5 @@
+After installation, you must enable this module from the Drupal administration
+page.
+
+If upgrading this module separately from the core Drupal package, be sure to
+run the http://hostname/drupal7/upgrade.php script after this RPM is upgraded.
diff --git a/drupal7-cs_adaptive_image.spec b/drupal7-cs_adaptive_image.spec
new file mode 100644
index 0000000..dd87965
--- /dev/null
+++ b/drupal7-cs_adaptive_image.spec
@@ -0,0 +1,76 @@
+%{?drupal7_find_provides_and_requires}
+
+%global module_name cs_adaptive_image
+
+Name:          drupal7-%{module_name}
+Version:       1.0
+Release:       2%{?dist}
+Summary:       Client-side adaptive image
+
+Group:         Applications/Publishing
+License:       GPLv2+
+URL:           http://drupal.org/project/%{module_name}
+Source0:       http://ftp.drupal.org/files/projects/%{module_name}-7.x-%{version}.tar.gz
+Source1:       %{name}-RPM-README.txt
+
+BuildArch:     noarch
+BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: drupal7-rpmbuild >= 7.22-5
+
+Requires:      drupal7(image)
+
+%description
+The Client-side adaptive image module helps build responsive web designs with
+fluid images by providing an Image field formatter that allows you to select
+appropriate image styles for various client widths. With this module, you can
+ensure that for each Image field only the most appropriately sized image gets
+downloaded by the client.
+
+You can serve light images to mobile users while still providing the best
+quality images to visitors equipped with large screens.
+
+Some highlights:
+* Per-field configuration (for each view mode)
+* Relies on JavaScript but provides a clean fallback for clients lacking it
+* No cookies required
+* No external libraries required
+* No extra server configuration needed
+* Does not attempt to perform any client OS detection
+* Reverse proxy cache friendly
+
+This package provides the following Drupal module:
+* %{module_name}
+
+
+%prep
+%setup -q -n %{module_name}
+cp -p %{SOURCE1} .
+
+
+%build
+# Empty build section, nothing to build
+
+
+%install
+rm -rf %{buildroot}
+mkdir -p -m 0755 %{buildroot}%{drupal7_modules}/%{module_name}
+cp -pr * %{buildroot}%{drupal7_modules}/%{module_name}/
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc *.txt
+%{drupal7_modules}/%{module_name}
+%exclude %{drupal7_modules}/%{module_name}/*.txt
+
+
+%changelog
+* Sat Jun 15 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 1.0-2
+- Updated for drupal7-rpmbuild 7.22-5
+
+* Sat May 04 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 1.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..bfeba62 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9889bca06fae12145d4cb13542286483  cs_adaptive_image-7.x-1.0.tar.gz


More information about the scm-commits mailing list