[drupal7-languageicons] Initial import (#959662)

Shawn Iwinski siwinski at fedoraproject.org
Fri Jun 28 22:03:59 UTC 2013


commit 2421465a48206d7df3d2bd13881b86e0bafe6440
Author: Shawn Iwinski <siwinski at redhat.com>
Date:   Fri Jun 28 18:03:50 2013 -0400

    Initial import (#959662)

 .gitignore                           |    1 +
 drupal7-languageicons-RPM-README.txt |    5 +++
 drupal7-languageicons.spec           |   62 ++++++++++++++++++++++++++++++++++
 sources                              |    1 +
 4 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b62dd62 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/languageicons-7.x-1.0.tar.gz
diff --git a/drupal7-languageicons-RPM-README.txt b/drupal7-languageicons-RPM-README.txt
new file mode 100644
index 0000000..e15a506
--- /dev/null
+++ b/drupal7-languageicons-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-languageicons.spec b/drupal7-languageicons.spec
new file mode 100644
index 0000000..602e86f
--- /dev/null
+++ b/drupal7-languageicons.spec
@@ -0,0 +1,62 @@
+%{?drupal7_find_provides_and_requires}
+
+%global module_name languageicons
+
+Name:          drupal7-%{module_name}
+Version:       1.0
+Release:       2%{?dist}
+Summary:       Adds icons to language links
+
+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
+This module provides icons for language links, both for the Language
+switcher block and (optionally) for node links. It is a spin-off from
+Internationalization (i18n) package.
+
+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-2
+- Updated for drupal7-rpmbuild 7.22-5
+
+* Fri May 03 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 1.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..2f6478f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e0c36d4b6ede591030a0c3f8995d012b  languageicons-7.x-1.0.tar.gz


More information about the scm-commits mailing list