[drupal6-fivestar] initial push

Anderson de Farias Silva afsilva at fedoraproject.org
Thu May 10 18:53:27 UTC 2012


commit 0606240d4e908916b72db957338d773a22fca691
Author: Anderson Silva <ansilva at redhat.com>
Date:   Thu May 10 14:49:29 2012 -0400

    initial push

 .gitignore            |    1 +
 drupal6-fivestar.spec |   60 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..945bdc0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fivestar-6.x-1.20.tar.gz
diff --git a/drupal6-fivestar.spec b/drupal6-fivestar.spec
new file mode 100644
index 0000000..fd218b0
--- /dev/null
+++ b/drupal6-fivestar.spec
@@ -0,0 +1,60 @@
+%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             fivestar
+
+Name:    drupal%{drupalver}-%{modname}
+Version: 1.20
+Release: 2%{?dist}
+Summary: Five Star 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
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires:  drupal6,  drupal6-votingapi
+
+%description
+Adds a clean, attractive voting widget to nodes  in Drupal
+
+%prep
+%setup -qn %{modname}
+
+%build
+
+%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,-)
+%doc README.txt LICENSE.txt
+%exclude %{drupal_modules}/%{modname}/README.txt
+%exclude %{drupal_modules}/%{modname}/LICENSE.txt
+%{drupal_modules}/%{modname}
+
+%changelog
+* Thu May 10 2012 Anderson Silva <ansilva at redhat.com> - 1.20-2
+- Upstream LICENSE.txt correct
+
+* Thu May 3 2012 Anderson Silva <ansilva at redhat.com> - 1.20-1
+- Security update from upstream 
+
+* Fri Mar 9 2012 Anderson Silva <ansilva at redhat.com> - 1.19-2
+- Update spec to comply with Fedora Packaging
+
+* Mon Mar 5 2012 Anderson Silva <ansilva at redhat.com> - 1.19-1
+- Initial rpm package
diff --git a/sources b/sources
index e69de29..07afa67 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b94b84f96c0c5ebeb9440c3fb1bdbbff  fivestar-6.x-1.20.tar.gz


More information about the scm-commits mailing list