[drupal7-panels] Updated to 3.5 (BZ #1187881)

Shawn Iwinski siwinski at fedoraproject.org
Sun Feb 8 04:23:56 UTC 2015


commit 40fd75183b053019101e6c9bb4a78de1e4875de2
Author: Shawn Iwinski <siwinski at redhat.com>
Date:   Sat Feb 7 23:23:05 2015 -0500

    Updated to 3.5 (BZ #1187881)
    
    - Spec cleanup

 .gitignore                    |    1 +
 drupal7-panels-RPM-README.txt |    5 ---
 drupal7-panels.spec           |   64 +++++++++++++++++++++++++++-------------
 sources                       |    2 +-
 4 files changed, 45 insertions(+), 27 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8915ce6..63f68a6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /panels-7.x-3.4.tar.gz
+/panels-7.x-3.5.tar.gz
diff --git a/drupal7-panels.spec b/drupal7-panels.spec
index b703525..0aae0ca 100644
--- a/drupal7-panels.spec
+++ b/drupal7-panels.spec
@@ -3,41 +3,56 @@
 %global module panels
 
 Name:          drupal7-%{module}
-Version:       3.4
+Version:       3.5
 Release:       1%{?dist}
-Summary:       It allows a site administrator to create customized layouts
+Summary:       Allows a site administrator to create customized layouts
 
 Group:         Applications/Publishing
 License:       GPLv2+
 URL:           http://drupal.org/project/%{module}
 Source0:       http://ftp.drupal.org/files/projects/%{module}-7.x-%{version}.tar.gz
-Source1:       %{name}-RPM-README.txt
 
 BuildArch:     noarch
 BuildRequires: drupal7-rpmbuild >= 7.23-3
 
-# phpcompatinfo (computed from version 2.0)
+# phpcompatinfo (computed from version 3.5)
+Requires:      php-date
 Requires:      php-pcre
+Requires:      php-spl
 
 %description
-The Panels module allows a site administrator
-to create customized layouts for multiple uses.
-At its core it is a drag and drop content manager
-that lets you visually design a layout
-and place content within that layout.
-Integration with other systems allows you
-to create nodes that use this, landing pages that use this,
-and even override system pages such as taxonomy
-and the node page so that you can customize the layout of your site
-with very fine grained permissions.
-
-This package provides the following Drupal module(s):
+The Panels module allows a site administrator to create customized layouts for
+multiple uses. At its core it is a drag and drop content manager that lets you
+visually design a layout and place content within that layout. Integration with
+other systems allows you to create nodes that use this, landing pages that use
+this, and even override system pages such as taxonomy and the node page so that
+you can customize the layout of your site with very fine grained permissions.
+
+This package provides the following Drupal modules:
 * %{module}
+* %{module}_ipe
+* %{module}_mini
+* %{module}_node
+* i18n_%{module}
 
 
 %prep
 %setup -qn %{module}
-cp -p %{SOURCE1} .
+
+# RPM README
+cat > RPM-README.txt <<'RPM_README'
+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.
+RPM_README
+
+# Docs
+mkdir -p docs/i18n_panels
+mv *.txt docs/
+mv i18n_panels/*.txt docs/i18n_panels/
+mv docs/LICENSE.txt .
 
 
 %build
@@ -45,16 +60,23 @@ cp -p %{SOURCE1} .
 
 
 %install
-mkdir -pm 0755 %{buildroot}%{drupal7_modules}/%{module}
+mkdir -p %{buildroot}%{drupal7_modules}/%{module}
 cp -pr * %{buildroot}%{drupal7_modules}/%{module}/
 
 
 %files
-%doc *.txt
+%{!?_licensedir:%global license %%doc}
+%license LICENSE.txt
+%doc docs/*
 %{drupal7_modules}/%{module}
-%exclude %{drupal7_modules}/%{module}/*.txt
+%exclude %{drupal7_modules}/%{module}/docs
+%exclude %{drupal7_modules}/%{module}/LICENSE.txt
 
 
 %changelog
-* Mon May 26 2014 Peter Borsa <peter.borsa at gmail.com> 3.4-1
+* Tue Feb 03 2015 Shawn Iwinski <shawn.iwinski at gmail.com> - 3.5-1
+- Updated to 3.5 (BZ #1187881)
+- Spec cleanup
+
+* Mon May 26 2014 Peter Borsa <peter.borsa at gmail.com> - 3.4-1
 - Initial package
diff --git a/sources b/sources
index cb072fc..e49a669 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7bb3c23efa8ad70811641a026dd43e42  panels-7.x-3.4.tar.gz
+6320feeafda924c97c026acf87a3f44f  panels-7.x-3.5.tar.gz


More information about the scm-commits mailing list