Blob Blame Raw
%{?drupal7_find_provides_and_requires}

%global module footnotes

Name:          drupal7-%{module}
Version:       3.1
Release:       2%{?dist}
Summary:       Add automatically numbered footnotes to your posts

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 3.1)
# <none>

%description
Footnotes module can be used to easily create automatically numbered footnote
references into an article or post (such as a reference to a URL). It now
supports also TinyMCE and CKEditor via WYSIWYG module.

This package provides the following Drupal modules:
* %{module}
* %{module}_field
* %{module}_wysiwyg
* %{module}_views


%prep
%setup -q -n %{module}

: Remove exec bits from files
find . -type f -executable -print0 | xargs -0 chmod -x

: 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
rm -rf %{buildroot}
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
* Tue May 21 2019 Shawn Iwinski <shawn.iwinski@gmail.com> - 3.1-2
- Remove exec bits from files

* Sun May 19 2019 Shawn Iwinski <shawn.iwinski@gmail.com> - 3.1-1
- Update to 3.1 (RHBZ #1547475)
- https://www.drupal.org/project/footnotes/releases/7.x-3.1
- https://www.drupal.org/project/footnotes/releases/7.x-3.x-dev
- Spec and repo cleanup

* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

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

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

* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Wed Nov 16 2011 Peter Borsa <peter.borsa@gmail.com> - 2.5-4
- Fixed previous changelog entry's email address

* Tue Nov 15 2011 Peter Borsa <peter.borsa@gmail.com> - 2.5-3
- Exclude footnotes_wysiwyg directory

* Thu Nov  3 2011 Peter Borsa <peter.borsa@gmail.com> - 2.5-2
- Multiple chmod -x are replaced.

* Tue Oct 18 2011 Peter Borsa <peter.borsa@gmail.com> - 2.5-1
- Initial packaging.