[drupal7-l10n_update] Initial import (#959653)

Shawn Iwinski siwinski at fedoraproject.org
Fri Jun 28 21:55:50 UTC 2013


commit 1ea655dd765168d8550754dd6b6a39cc614f14a9
Author: Shawn Iwinski <siwinski at redhat.com>
Date:   Fri Jun 28 17:55:40 2013 -0400

    Initial import (#959653)

 .gitignore                         |    1 +
 drupal7-l10n_update-RPM-README.txt |    5 +++
 drupal7-l10n_update.spec           |   67 ++++++++++++++++++++++++++++++++++++
 sources                            |    1 +
 4 files changed, 74 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1a7b4c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/l10n_update-7.x-1.0-beta3.tar.gz
diff --git a/drupal7-l10n_update-RPM-README.txt b/drupal7-l10n_update-RPM-README.txt
new file mode 100644
index 0000000..e15a506
--- /dev/null
+++ b/drupal7-l10n_update-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_update.spec b/drupal7-l10n_update.spec
new file mode 100644
index 0000000..3e8192c
--- /dev/null
+++ b/drupal7-l10n_update.spec
@@ -0,0 +1,67 @@
+%{?drupal7_find_provides_and_requires}
+
+%global module_name l10n_update
+%global pre_release beta3 
+
+Name:          drupal7-%{module_name}
+Version:       1.0
+Release:       0.2.%{pre_release}%{?dist}
+Summary:       Provides automatic downloads and updates for translations
+
+Group:         Applications/Publishing
+License:       GPLv2+
+URL:           http://drupal.org/project/%{module_name}
+Source0:       http://ftp.drupal.org/files/projects/%{module_name}-7.x-%{version}-%{pre_release}.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)
+# phpci
+Requires:      php-date
+Requires:      php-pcre
+Requires:      php-xml
+
+%description
+Automatically download and update your translations fetching them from
+localize.drupal.org (http://localize.drupal.org/) or any other
+Localization server (http://drupal.org/project/l10n_server).
+
+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.0-0.2.beta3
+- Updated for drupal7-rpmbuild 7.22-5
+
+* Fri May 03 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 1.0-0.1.beta3
+- Initial package
diff --git a/sources b/sources
index e69de29..4be0d5f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+776d4b0ede890a42128f31dd0492e36b  l10n_update-7.x-1.0-beta3.tar.gz


More information about the scm-commits mailing list