Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > cfc228a239d5a446025e9aa4dfde8e53 > files > 3

drupal7-variable-1.2-1.fc15.src.rpm

%define drupaldir %{_datadir}/drupal7
Name:	drupal7-variable
Version:	1.2
Release:	1%{?dist}
Summary: Variable module provides a registry for meta-data about Drupal variables

Group:	Applications/Publishing	
License: GPLv2+
URL:	http://drupal.org/project/variable
Source0: http://ftp.drupal.org/files/projects/variable-7.x-%{version}.tar.gz
Source1: %{name}-fedora-README.txt
Source2: %{name}-LICENSE.txt

BuildArch: noarch
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Requires: drupal7

%description
Variable module provides a registry for meta-data about Drupal variables
and some extended Variable API and administration interface. So other modules
can know about your module's variables and they can be translated,
exported, etc. You'll get automatic variable edit forms, tokens, access
control and uninstall for free.


%prep
%setup -qn variable

install -p -m 0644 %{SOURCE1} .


%build
cp %{SOURCE2} ./LICENSE.txt


%install
rm -rf %{buildroot}
install -d %{buildroot}%{drupaldir}/modules/variable
cp -pr * %{buildroot}%{drupaldir}/modules/variable


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc LICENSE.txt README.txt %{name}-fedora-README.txt
%{drupaldir}/modules/variable



%changelog
* Wed Apr 25 2012 Scott Dodson <sdodson@redhat.com> - 1.2-1
- Update to 1.2
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Wed Aug 31 2011 Scott Dodson <sdodson@redhat.com> - 1.1-1
- Initial Packaging