[drupal7-file_entity] Initial import (#950681)

Shawn Iwinski siwinski at fedoraproject.org
Sun Jun 23 00:58:22 UTC 2013


commit e482fa89ba1e227c9d96b1fb01bf960114a9c910
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date:   Sat Jun 22 20:58:02 2013 -0400

    Initial import (#950681)

 .gitignore                         |    1 +
 drupal7-file_entity-RPM-README.txt |    5 +++
 drupal7-file_entity.spec           |   69 ++++++++++++++++++++++++++++++++++++
 sources                            |    1 +
 4 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..42a1267 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/file_entity-7.x-2.0-unstable7.tar.gz
diff --git a/drupal7-file_entity-RPM-README.txt b/drupal7-file_entity-RPM-README.txt
new file mode 100644
index 0000000..e15a506
--- /dev/null
+++ b/drupal7-file_entity-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-file_entity.spec b/drupal7-file_entity.spec
new file mode 100644
index 0000000..99e6761
--- /dev/null
+++ b/drupal7-file_entity.spec
@@ -0,0 +1,69 @@
+%{?drupal7_find_provides_and_requires}
+
+%global module_name file_entity
+%global pre_release unstable7
+
+Name:          drupal7-%{module_name}
+Version:       2.0
+Release:       0.2.%{pre_release}%{?dist}
+Summary:       File entity (fieldable files)
+
+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-ctools
+#Requires:      drupal7(ctools)
+Requires:      drupal7(field)
+Requires:      drupal7(file)
+# phpci
+Requires:      php-spl
+
+%description
+File entity provides interfaces for managing files. It also extends the core
+file entity, allowing files to be fieldable, grouped into types, viewed (using
+display modes) and formatted using field formatters. File entity integrates
+with a number of modules, exposing files to Views, Entity API, Token and more.
+
+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> 2.0-0.2.unstable7
+- Updated for drupal7-rpmbuild 7.22-5
+
+* Wed Apr 10 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 2.0-0.1.unstable7
+- Initial package
diff --git a/sources b/sources
index e69de29..428b68e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+db2a9fe38cc77b43d624f4d4449ba1f0  file_entity-7.x-2.0-unstable7.tar.gz


More information about the scm-commits mailing list