%{?drupal7_find_provides_and_requires} %global module domain Name: drupal7-%{module} Version: 3.13 Release: 1%{?dist} Summary: A domain-based access control system Group: Applications/Publishing License: GPLv2+ URL: http://drupal.org/project/%{module} Source0: http://ftp.drupal.org/files/projects/%{module}-7.x-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: drupal7-rpmbuild >= 7.23-3 # phpcompatinfo (computed from version 3.13) Requires: php-hash Requires: php-pcre Requires: php-session %description The Domain Access project is a suite of modules that provide tools for running a group of affiliated sites from one Drupal installation and a single shared database. The module allows you to share users, content, and configurations across a group of sites such as: * example.com * one.example.com * two.example.com * my.example.com * thisexample.com <-- can use any domain string * example.com:3000 <-- treats non-standard ports as unique By default, these sites share all tables in your Drupal installation. The Domain Prefix module (for Drupal 6) allows for selective, dynamic table prefixing for advanced users. This package provides the following Drupal modules: * %{module} * %{module}_alias * %{module}_conf * %{module}_content * %{module}_nav * %{module}_settings * %{module}_source * %{module}_strict * %{module}_theme %prep %setup -qn %{module} : Licenses and docs mkdir -p .rpm/{licenses,docs} mv LICENSE.txt .rpm/licenses/ mv *.txt .rpm/docs/ %build # Empty build section, nothing to build %install rm -rf %{buildroot} mkdir -p %{buildroot}%{drupal7_modules}/%{module} cp -pr * %{buildroot}%{drupal7_modules}/%{module}/ %clean rm -rf %{buildroot} %files %{!?_licensedir:%global license %%doc} %license .rpm/licenses/* %doc .rpm/docs/* %{drupal7_modules}/%{module} %changelog * Mon Jan 23 2017 Shawn Iwinski - 3.13-1 - Updated to 3.13 (RHBZ #1415427) * Wed Feb 03 2016 Fedora Release Engineering - 3.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Aug 16 2015 Shawn Iwinski - 3.12-1 - Updated to 3.12 (RHBZ #1249432) - %%license usage - Keep documentation where end-users expect it - Removed RPM README b/c it only explained common Drupal workflow * Wed Jun 17 2015 Fedora Release Engineering - 3.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 3.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Mar 06 2014 Shawn Iwinski - 3.11-1 - Updated to 3.11 (BZ #1071895; release notes https://drupal.org/node/2208987) * Sat Aug 03 2013 Fedora Release Engineering - 3.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Jun 29 2013 Shawn Iwinski - 3.10-2 - Removed empty, unused, and unreferenced file "domain.overlay.js" * Sun Jun 16 2013 Shawn Iwinski - 3.10-1 - Updated to 3.10 - Updated for drupal7-rpmbuild 7.22-5 * Fri May 03 2013 Shawn Iwinski - 3.9-1 - Initial package