Blob Blame History Raw
%{?drupal7_find_provides_and_requires}

%global module_name crumbs

Name:          drupal7-%{module_name}
Version:       2.2
Release:       1%{?dist}
Summary:       The ultimate breadcrumbs module

Group:         Applications/Publishing
License:       GPLv2+
URL:           http://drupal.org/project/%{module_name}
Source0:       http://ftp.drupal.org/files/projects/%{module_name}-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 2.2)
Requires:      php-date
Requires:      php-pcre
Requires:      php-reflection
Requires:      php-spl

%description
Crumbs is a powerful breadcrumb-building machine, generating high-quality
breadcrumbs for most every page on your site, with minimal configuration.

The Crumbs engine takes advantage of the hierarchical nature inherent to
breadcrumbs: It calculates the parent of the current page, the parent of
the parent, etc, until it has the complete breadcrumb trail.

Crumbs uses plugins with fine-grained user-defined priorities, for each
step in this process. Plugins for most of your favorite modules are already
built-in, and you can add more.

A lot of stuff that would require laborious configuration with other
breadcrumb-building modules, does work out of the box with Crumbs. And if it
doesn't, there are powerful and ways to configure, customize and extend.

Where in other breadcrumb-customizing modules you need to define complete
breadcrumbs for various pages and their all their children, in Crumbs you
mostly just say "A is the parent of B", and it can solve all the rest of
the puzzle by itself.

This package provides the following Drupal modules:
* %{module_name}
* %{module_name}_example (requires manual install of xautoload)
* %{module_name}_labs


%prep
%setup -qn %{module_name}


%build
# Empty build section, nothing to build


%install
rm -rf %{buildroot}
mkdir -pm 0755 %{buildroot}%{drupal7_modules}/%{module_name}
cp -pr * %{buildroot}%{drupal7_modules}/%{module_name}/


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE.txt
%doc README.txt
%{drupal7_modules}/%{module_name}


%changelog
* Sat Oct 18 2014 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.2-1
- Updated to 2.2 (BZ #1150460)
- Removed RPM README b/c it only explained common Drupal workflow

* Wed Sep 24 2014 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.1-1
- Updated to 2.1 (BZ #1140107)
- %%license usage

* Thu Aug 07 2014 Peter Borsa <peter.borsa@gmail.com> 2.0-0.8.beta19
- Update to upstream 2.0-beta19 release for bug fixes
- Upstream changelog for this release is available at https://drupal.org/node/2315031

* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-0.7.beta13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Fri Jan 10 2014 Peter Borsa <peter.borsa@gmail.com> 2.0-0.6.beta13
- Update to upstream 2.0-beta13 release for bug fixes
- Upstream changelog for this release is available at https://drupal.org/node/2167279

* Wed Sep 11 2013 Peter Borsa <peter.borsa@gmail.com> - 2.0-0.5.beta9
- Update to upstream 2.0-beta9 release for bug fixes
- Upstream changelog for this release is available at https://drupal.org/node/2073701

* Sat Aug 17 2013 Peter Borsa <peter.borsa@gmail.com> - 2.0-0.4.beta7
- Update to upstream 2.0-beta7 release for bug fixes
- Upstream changelog for this release is available at https://drupal.org/node/2067691

* Fri Aug 16 2013 Peter Borsa <peter.borsa@gmail.com> - 2.0-0.3.beta5
- Update to upstream 2.0-beta5 release for bug fixes
- Upstream changelog for this release is available at https://drupal.org/node/2064257

* Tue Aug 13 2013 Peter Borsa <peter.borsa@gmail.com> - 2.0-0.2.beta4
- Update to upstream 2.0-beta4 release for bug fixes
- Upstream changelog for this release is available at https://drupal.org/node/2063791

* Thu Aug 08 2013 Peter Borsa <peter.borsa@gmail.com> - 2.0-0.1.beta1
- Update to upstream 2.0-beta1 release for bug fixes
- Upstream changelog for this release is available at https://drupal.org/node/2060015

* Wed Aug 07 2013 Peter Borsa <peter.borsa@gmail.com> - 1.10-1
- Update to upstream 1.10 release for bug fixes
- Upstream changelog for this release is available at https://drupal.org/node/2051987

* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Sat Jun 15 2013 Shawn Iwinski <shawn.iwinski@gmail.com> 1.9-2
- Updated for drupal7-rpmbuild 7.22-5

* Sat May 04 2013 Shawn Iwinski <shawn.iwinski@gmail.com> 1.9-1
- Initial package