%global drupaldir %{_datadir}/drupal6 Name: drupal6-views_bulk_operations Version: 1.10 Release: 1%{?dist} Summary: This module augments Views by allowing bulk operations to be executed Group: Applications/Publishing License: GPLv2 URL: http://drupal.org/project/views_bulk_operations Source0: http://ftp.drupal.org/files/projects/views_bulk_operations-6.x-1.10.tar.gz Source1: %{name}-fedora-README.txt BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: drupal6, drupal6-views %description This module augments Views by allowing bulk operations to be executed on the nodes displayed by a view. It does so by showing a check box in front of each node, and adding a select box containing operations that can be applied on the selected nodes. %prep %setup -qn views_bulk_operations %build chmod -x views_bulk_operations.module chmod -x README.txt cp %{SOURCE1} . %install rm -rf %{buildroot} install -d %{buildroot}%{drupaldir}/modules/views_bulk_operations cp -pr * %{buildroot}%{drupaldir}/modules/views_bulk_operations %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc LICENSE.txt %{name}-fedora-README.txt README.txt %exclude %{drupaldir}/modules/views_bulk_operations/*.txt %{drupaldir}/modules/views_bulk_operations %changelog * Thu Jan 13 2010 Peter Borsa - 1.10-1 - Initial packaging.