[drupal6-faq/f18] initial commit

Anderson de Farias Silva afsilva at fedoraproject.org
Sat Mar 23 14:35:44 UTC 2013


commit 7e1415b52116b764d092ef88c9c5cacebe634839
Author: Anderson Silva <ansilva at redhat.com>
Date:   Sat Mar 23 10:35:41 2013 -0400

    initial commit

 .gitignore                    |    1 +
 drupal6-faq-fedora-README.txt |    6 +++
 drupal6-faq.spec              |   73 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 4 files changed, 81 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4b105c0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/faq-6.x-1.13.tar.gz
diff --git a/drupal6-faq-fedora-README.txt b/drupal6-faq-fedora-README.txt
new file mode 100644
index 0000000..651c936
--- /dev/null
+++ b/drupal6-faq-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-faq.spec b/drupal6-faq.spec
new file mode 100644
index 0000000..719c4ff
--- /dev/null
+++ b/drupal6-faq.spec
@@ -0,0 +1,73 @@
+%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             faq
+
+Name:    drupal%{drupalver}-%{modname}
+Version: 1.13
+Release: 6%{?dist}
+Summary: FAQ 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, php-pcre
+
+%description
+The Frequently Asked Questions (faq) module allows users, with appropriate 
+permissions, to create question and answer pairs which they want displayed
+on the 'faq' page.
+
+%prep
+%setup -qn %{modname}
+
+%build
+cp %{SOURCE1} .
+
+
+%install
+rm -rf %{buildroot}
+install -p -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  %{name}-fedora-README.txt
+%doc  %{drupal_modules}/%{modname}/LICENSE.txt
+%exclude %{drupal_modules}/%{modname}/LICENSE.txt
+%exclude %{drupal_modules}/%{modname}/%{name}-fedora-README.txt
+%{drupal_modules}/%{modname}
+
+%changelog
+* Mon Mar 22 2013 Anderson Silva <ansilva at redhat.com> - 1.13-6
+- add php-pcre virtual requirement
+- fix LICENSE.txt
+
+* Mon Jan 21 2013 Anderson Silva <ansilva at redhat.com> - 1.13-5
+- fix %%files section for LICENSE.txt
+
+* Thu Aug 9 2012 Anderson Silva <ansilva at redhat.com> - 1.13-4
+- Update files section with LICENSE.txt
+
+* Tue Jun 5 2012 Anderson Silva <ansilva at redhat.com> - 1.13-3
+- Update description
+
+* Fri Mar 9 2012 Anderson Silva <ansilva at redhat.com> - 1.13-2
+- Update spec to comply with Fedora Packaging
+
+* Mon Mar 5 2012 Anderson Silva <ansilva at redhat.com> - 1.13-1
+- Initial rpm package
diff --git a/sources b/sources
index e69de29..29c253e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ca7d73ba90c847851b97c46218ab9d40  faq-6.x-1.13.tar.gz


More information about the scm-commits mailing list