%{?drupal7_find_provides_and_requires} %global module field_permissions Name: drupal7-%{module} Version: 1.0 Release: 1%{?dist} Summary: Set field-level permissions to create, update or view fields 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 BuildRequires: drupal7-rpmbuild >= 7.23-3 # phpcompatinfo (computed from version 1.0) # %description The Field Permissions module allows site administrators to set field-level permissions to edit, view and create fields on any entity. Features: - Enable field permissions on any entity, not just nodes. - Role-based field permissions allowing different viewing patterned based on what access the user has. - Author-level permissions allow viewing and editing of fields based on who the entity owner is. - Permissions for each field are not enabled by default. Instead, administrators can enable these permissions explicitly for the fields where this feature is needed. - Field permissions overview This package provides the following Drupal module: * %{module} %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 mkdir -p %{buildroot}%{drupal7_modules}/%{module} cp -pr * %{buildroot}%{drupal7_modules}/%{module}/ %files %{!?_licensedir:%global license %%doc} %license .rpm/licenses/* %doc .rpm/docs/* %{drupal7_modules}/%{module} %changelog * Thu Nov 03 2016 Shawn Iwinski - 1.0-1 - Updated to 1.0 (RHBZ #1385609) - Spec cleanup * Wed Feb 03 2016 Fedora Release Engineering - 1.0-0.8.beta2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.0-0.7.beta2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.0-0.6.beta2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.0-0.5.beta2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 1.0-0.4.beta2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 1.0-0.3.beta2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Feb 06 2012 Scott Dodson - 1.0-0.2.beta2 - Update to 1.0-beta2 BZ785686 * Fri Jan 13 2012 Fedora Release Engineering - 1.0-0.2.beta1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 20 2011 Scott Dodson - 1.0-0.2.beta1 - Update to 1.0-beta1 - specfile cleanup * Fri Oct 28 2011 Scott Dodson - 1.0-0.1.alpha1 - Initial Packaging