[drupal6-votingapi] Initial import (#802862).

Wesley S. Hearn jknife at fedoraproject.org
Thu Mar 15 12:49:17 UTC 2012


commit 690252b3432dbb440780457048777de185450cd7
Author: Wesley Hearn <whearn at redhat.com>
Date:   Thu Mar 15 08:49:11 2012 -0400

    Initial import (#802862).

 .gitignore                          |    1 +
 drupal6-votingapi-fedora-README.txt |    6 +++
 drupal6-votingapi.spec              |   68 +++++++++++++++++++++++++++++++++++
 sources                             |    1 +
 4 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0aacde5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/votingapi-6.x-2.3.tar.gz
diff --git a/drupal6-votingapi-fedora-README.txt b/drupal6-votingapi-fedora-README.txt
new file mode 100644
index 0000000..651c936
--- /dev/null
+++ b/drupal6-votingapi-fedora-README.txt
@@ -0,0 +1,6 @@
+After installation, you must enable this module from the drupal
+administration.
+
+If upgrading this module seperately from the core drupal package, 
+be sure to run the http://hostname/drupal6/upgrade.php script after this
+rpm is upgraded.
diff --git a/drupal6-votingapi.spec b/drupal6-votingapi.spec
new file mode 100644
index 0000000..45423e9
--- /dev/null
+++ b/drupal6-votingapi.spec
@@ -0,0 +1,68 @@
+%global drupalver 6
+%{?rhel: %{expand: %%global drupal drupal%%{drupalver}}}
+%if 0%{?fedora} >= 15
+%global drupal drupal%{drupalver}
+%endif
+%{!?drupal: %{expand: %%global drupal drupal}}
+
+# e.g. "/usr/share/drupal6"
+%global drupalbase           %{_datadir}/%{drupal}
+%global drupal_sites_all    %{drupalbase}/sites/all        
+%global drupal_modules      %{drupal_sites_all}/modules
+
+# Use upstream name as expressed in URL and tarball
+%global modname             votingapi
+
+Name:    drupal%{drupalver}-%{modname}
+Version: 2.3
+Release: 5%{?dist}
+Summary: Voting API module for Drupal6
+Group:   Applications/Publishing
+License: GPLv2
+URL:     http://drupal.org/project/%{modname}
+Source0: http://ftp.drupal.org/files/projects/%{modname}-%{drupalver}.x-%{version}.tar.gz
+Source1: %{name}-fedora-README.txt
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires:  drupal6
+
+%description
+VotingAPI for Drupal 6 helps developers who want to use a standardized API
+and schema for storing, retrieving, and tabulating votes for Drupal content.
+
+%prep
+%setup -qn %{modname}
+
+%build
+cp %{SOURCE1} .
+
+%install
+rm -rf %{buildroot}
+install -d %{buildroot}%{drupal_modules}/%{modname}
+find . -type f -exec install -m 0644 -D '{}' %{buildroot}%{drupal_modules}/%{modname}/'{}' \;
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+# Remember to include other documentation text here as well
+%doc LICENSE.txt %{name}-fedora-README.txt
+# Remember to exclude all documentation texts from above
+%{drupal_modules}/%{modname}
+
+%changelog
+* Wed Mar 14 2012 Wesley Hearn <whearn at redhat.com> - 2.3-5
+- Changed License from GPLv2+ to GPLv2
+
+* Wed Mar 14 2012 Wesley Hearn <whearn at redhat.com> - 2.3-4
+- Fixed License.txt
+
+* Tue Mar 13 2012 Wesley Hearn <whearn at redhat.com> - 2.3-3
+- Updated the description
+
+* Fri Mar 9 2012 Anderson Silva <ansilva at redhat.com> - 2.3-2
+- Update spec to comply with Fedora Packaging
+
+* Mon Mar 5 2012 Anderson Silva <ansilva at redhat.com> - 2.3-1
+- Initial rpm package
diff --git a/sources b/sources
index e69de29..6ae890f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d448a23d95204b05a927067d0aa4a704  votingapi-6.x-2.3.tar.gz


More information about the scm-commits mailing list