[drupal7-i18n_boxes] Initial import (#952444)

Shawn Iwinski siwinski at fedoraproject.org
Thu Jun 13 02:40:58 UTC 2013


commit c91b24112d9e852fe3dceb7e91dce7317c34a6f9
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date:   Wed Jun 12 22:40:46 2013 -0400

    Initial import (#952444)

 .gitignore                        |    1 +
 drupal7-i18n_boxes-RPM-README.txt |    5 +++
 drupal7-i18n_boxes.spec           |   65 +++++++++++++++++++++++++++++++++++++
 sources                           |    1 +
 4 files changed, 72 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3b81982 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/i18n_boxes-7.x-1.0.tar.gz
diff --git a/drupal7-i18n_boxes-RPM-README.txt b/drupal7-i18n_boxes-RPM-README.txt
new file mode 100644
index 0000000..e15a506
--- /dev/null
+++ b/drupal7-i18n_boxes-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-i18n_boxes.spec b/drupal7-i18n_boxes.spec
new file mode 100644
index 0000000..646d602
--- /dev/null
+++ b/drupal7-i18n_boxes.spec
@@ -0,0 +1,65 @@
+%{?drupal7_find_provides_and_requires}
+
+%global module_name i18n_boxes
+
+Name:          drupal7-%{module_name}
+Version:       1.0
+Release:       2%{?dist}
+Summary:       Provides the ability to localize Boxes blocks
+
+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-ctools
+Requires:      drupal7-i18n
+Requires:      drupal7(boxes)
+#Requires:      drupal7(ctools)
+#Requires:      drupal7(i18n_string)
+
+%description
+This module enables block titles and block content to be exported to code
+(via boxes) and then be translated (via i18n_string).
+
+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
+* Sun Jun 09 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 1.0-2
+- Updated for drupal7-rpmbuild 7.22-5
+
+* Mon Apr 15 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 1.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..987cdcc 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a39337e365a90aa8dcdac81ea6d0b8a0  i18n_boxes-7.x-1.0.tar.gz


More information about the scm-commits mailing list