Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:thomas-schraitle
plasTeX
plasTeX.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File plasTeX.spec of Package plasTeX
# # spec file for package plasTeX # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define lowercasename plastex Summary: LaTeX Document Processing Framework Name: plasTeX Version: 0.9.3.20120721 Release: 0 Source0: %{name}-%{version}.tar.bz2 Patch0: %{name}-Config.py.patch Patch1: %{name}-Logging-MAXWIDTH.patch License: Freely Distributable Group: Development/Libraries/Python BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Vendor: Kevin D. Smith <Kevin.Smith@sas.com> URL: http://plastex.sourceforge.net/ BuildRequires: dos2unix unzip BuildRequires: python-devel BuildRequires: python-setuptools >= 0.6 BuildRequires: fdupes %py_requires %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} BuildArch: noarch %else %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)")} %endif %description plasTeX is a LaTeX document processing framework written entirely in Python. It currently comes bundled with an XHTML renderer (including multiple themes), as well as a way to simply dump the document to a generic form of XML. Other renderers can be added as well and are planned for future releases. %prep %setup -n %{name}-%{version} %patch0 %patch1 -p1 find %{name} -name \*.py | xargs chmod -x for i in plasTeX/Packages/listings.py plasTeX/Imagers/pdftoppm.py; do dos2unix $i done %build %{__python} setup.py build %install mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} %{__python} setup.py install \ --root=$RPM_BUILD_ROOT \ --prefix=%{_prefix} \ --record-rpm=INSTALLED_FILES cp plasTeX/plasTeXrc $RPM_BUILD_ROOT%{_sysconfdir} %fdupes $RPM_BUILD_ROOT%{python_sitelib}/%{name}/Packages/ # %%check %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %config %{_sysconfdir}/plasTeXrc %doc README PKG-INFO LICENSE INSTALL # LICENSE TODO licenses %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor