%{!?drupal6: %global drupal6 %{_datadir}/drupal6} %{!?drupal6_modules: %global drupal6_modules %{drupal6}/sites/all/modules} %global module_name emfield Name: drupal6-%{module_name} Version: 2.6 Release: 2%{?dist} Summary: An engine for modules to integrate various 3rd party media content providers Group: Applications/Publishing License: GPLv2 URL: http://drupal.org/project/%{module_name} Source0: http://ftp.drupal.org/files/projects/%{module_name}-6.x-%{version}.tar.gz Source1: %{name}-RPM-README.txt BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: drupal6 Requires: drupal6-cck #Requires: drupal6(cck) # phpci Requires: php-ereg Requires: php-libxml Requires: php-simplexml Provides: drupal6(emfield) = %{version} Provides: drupal6(emthumb) = %{version} Provides: drupal6(embonus) = %{version} Provides: drupal6(emwave) = %{version} Provides: drupal6(emvideo) = %{version} Provides: drupal6(emaudio) = %{version} Provides: drupal6(eminline) = %{version} Provides: drupal6(emimage) = %{version} %description This extensible module will create fields for content types that can be used to display video, image, and audio files from various third party providers. When entering the content, the user will simply paste the URL or embed code from the third party, and the module will automatically determine which content provider is being used. When displaying the content, the proper embedding format will be used. The module is only an engine, and requires a supported module to function. These include 'Embedded Image Field', 'Embedded Video Field' and 'Embedded Audio Field'. These modules are included in the contrib folder of the module, so they can be easily activated from the module administration page. Please note: As of emfield 2.x, provider files for these modules are no longer included with the main emfield module, and must be downloaded separately. This package provides the following Drupal modules: * emfield * emthumb * embonus * emwave * emvideo * emaudio * eminline * emimage %prep %setup -qn %{module_name} cp %{SOURCE1} . %build # Empty build section, nothing required %install rm -rf %{buildroot} mkdir -p -m 0755 %{buildroot}%{drupal6_modules}/%{module_name} cp -pr * %{buildroot}%{drupal6_modules}/%{module_name}/ %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc *.txt %{drupal6_modules}/%{module_name} %exclude %{drupal6_modules}/%{module_name}/*.txt %changelog * Sun Mar 24 2013 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.6-2 - Added virtual provides - Re-added EPEL 5 specifics * Fri Mar 22 2013 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.6-1 - Updated to 2.6 - Spec cleanup * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Jun 5 2012 Anderson Silva <ansilva@redhat.com> - 2.5-3 - Update LICENSE.txt with correct FSF address - Update description - Add drupal6-cck dependency * Fri Mar 9 2012 Anderson Silva <ansilva@redhat.com> - 2.5-2 - Update spec to comply with Fedora Packaging * Mon Mar 5 2012 Anderson Silva <ansilva@redhat.com> - 2.5-1 - Initial rpm package