Search
j0ke.net Open Build Service
>
Projects
>
devel
:
python
>
python-sphinx
> python-sphinx.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python-sphinx.spec of Package python-sphinx (Revision 8)
Currently displaying revision
8
,
show latest
Name: python-sphinx Version: 1.1.3 Release: 1 Url: https://launchpad.net/python-sphinx License: BSD Summary: Python documentation generator Group: Development/Languages/Python Source0: Sphinx-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: python-distribute BuildRequires: python BuildRequires: python-devel Requires: python Requires: python-distribute python-docutils %description Sphinx is a tool that makes it easy to create intelligent and beautiful documentation for Python projects. %prep %setup -n Sphinx-%{version} %build python setup.py build %install %if 0%{?suse_version} python setup.py install \ --root=%{buildroot} \ --prefix=%{_prefix} \ --record-rpm=%{name}.filelist %else python setup.py install \ --root=%{buildroot} \ --prefix=%{_prefix} cd $RPM_BUILD_ROOT find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > %{_builddir}/Sphinx-%{version}/%{name}.filelist find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> %{_builddir}/Sphinx-%{version}/%{name}.filelist find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> %{_builddir}/Sphinx-%{version}/%{name}.filelist sed -i s@"\.py$"@"\.py\*"@g %{_builddir}/Sphinx-%{version}/%{name}.filelist %endif %clean rm -rf %{buildroot} %files -f %{name}.filelist %defattr(-,root,root) %doc CHANGES %changelog