[drupal7-l10n_pconfig] Initial import (#959647)

Shawn Iwinski siwinski at fedoraproject.org
Fri Jun 28 20:47:51 UTC 2013


commit 49bd8323486d5f3cd26719da2fb60b450a7a8550
Author: Shawn Iwinski <siwinski at redhat.com>
Date:   Fri Jun 28 16:47:42 2013 -0400

    Initial import (#959647)

 .gitignore                          |    1 +
 drupal7-l10n_pconfig-RPM-README.txt |    5 +++
 drupal7-l10n_pconfig.spec           |   66 +++++++++++++++++++++++++++++++++++
 sources                             |    1 +
 4 files changed, 73 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..853bffb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/l10n_pconfig-7.x-1.2.tar.gz
diff --git a/drupal7-l10n_pconfig-RPM-README.txt b/drupal7-l10n_pconfig-RPM-README.txt
new file mode 100644
index 0000000..e15a506
--- /dev/null
+++ b/drupal7-l10n_pconfig-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-l10n_pconfig.spec b/drupal7-l10n_pconfig.spec
new file mode 100644
index 0000000..81cdb49
--- /dev/null
+++ b/drupal7-l10n_pconfig.spec
@@ -0,0 +1,66 @@
+%{?drupal7_find_provides_and_requires}
+
+%global module_name l10n_pconfig
+
+Name:          drupal7-%{module_name}
+Version:       1.2
+Release:       2%{?dist}
+Summary:       Plural formula configurator
+
+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(locale)
+
+%description
+The plural formula configurator sets sensible defaults for plural forms when
+adding languages and lets you edit the plural formula for all languages on the
+web interface.
+
+Drupal does not expose these fields for editing due to the complexity of plural
+forms. You should make sure to only give permissions to edit language details
+to those, who will likely not screw up your plural formulas.
+
+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 16 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 1.2-2
+- Updated for drupal7-rpmbuild 7.22-5
+
+* Fri May 03 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 1.2-1
+- Initial package
diff --git a/sources b/sources
index e69de29..5411e89 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8f13ba54cd22209bff49c63656d86ec5  l10n_pconfig-7.x-1.2.tar.gz


More information about the scm-commits mailing list