added pelican package
Signed-off-by: webbuilder_pel7ppc64bebuilder0 <webbuilder@powerel.org>master
parent
f75b52d43c
commit
bf6cfc5af4
|
|
@ -0,0 +1,48 @@
|
|||
Name: pelican-plugins
|
||||
Version: 20160406
|
||||
Release: 1%{dist}
|
||||
Url: http://pelican.notmyidea.org/
|
||||
Summary: Plugins for pelican, a tool to generate a static blog, with restructured text (or markdown) input files.
|
||||
License: GPLv3
|
||||
Group: Development/Languages/Python
|
||||
#Source: https://github.com/getpelican/pelican-plugins
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
BuildRequires: git
|
||||
Requires: pelican
|
||||
Requires: python-icalendar
|
||||
Requires: python-requests
|
||||
|
||||
|
||||
%description
|
||||
Plugins for Pelican, a tool to generate a static blog, with restructured text (or markdown) input files.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -T -c %{name}-%{version}
|
||||
git clone --recursive https://github.com/getpelican/pelican-plugins.git
|
||||
|
||||
|
||||
%build
|
||||
# nothing to build
|
||||
|
||||
|
||||
%install
|
||||
%{__mkdir} -p $RPM_BUILD_ROOT/%{python_sitelib}/
|
||||
%{__cp} -rv * $RPM_BUILD_ROOT/%{python_sitelib}/
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitelib}/%{name}/
|
||||
%exclude %{python_sitelib}/%{name}/.git/*
|
||||
%exclude %{python_sitelib}/%{name}/.gitignore
|
||||
%exclude %{python_sitelib}/%{name}/.gitmodules
|
||||
%exclude %{python_sitelib}/%{name}/.travis.yml
|
||||
|
||||
|
||||
%changelog
|
||||
|
|
@ -0,0 +1,55 @@
|
|||
Name: pelican
|
||||
Version: 3.6.3
|
||||
Release: 1%{dist}
|
||||
Url: http://pelican.notmyidea.org/
|
||||
Summary: A tool to generate a static blog, with restructured text (or markdown) input files.
|
||||
License: GPLv3
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
BuildRequires: python
|
||||
BuildRequires: python-setuptools
|
||||
Requires: python
|
||||
Requires: python-jinja2
|
||||
Requires: python-markdown
|
||||
#Requires: python-argparse
|
||||
Requires: python-feedgenerator >= 1.5
|
||||
Requires: python-blinker
|
||||
Requires: python-pygments
|
||||
Requires: python-unidecode
|
||||
Requires: python-feedparser
|
||||
Requires: python-six
|
||||
Requires: python-docutils
|
||||
Requires: pytz
|
||||
Requires: rst2pdf
|
||||
|
||||
|
||||
%description
|
||||
A tool to generate a static blog, with restructured text (or markdown) input files.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%{__python2} setup.py build
|
||||
|
||||
|
||||
%install
|
||||
%{__python2} setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/pelican*
|
||||
%{python_sitelib}/%{name}/*
|
||||
%{python_sitelib}/%{name}-%{version}-py?.?.egg-info/*
|
||||
|
||||
|
||||
%changelog
|
||||
Loading…
Reference in New Issue