rpms/PyRTF/devel PyRTF.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michael A. Peters (mpeters) fedora-extras-commits at redhat.com
Tue Jun 14 01:33:53 UTC 2005


Author: mpeters

Update of /cvs/extras/rpms/PyRTF/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21903/devel

Modified Files:
	.cvsignore sources 
Added Files:
	PyRTF.spec 
Log Message:
auto-import PyRTF-0.45-1 on branch devel from PyRTF-0.45-1.src.rpm


--- NEW FILE PyRTF.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           PyRTF
Version:        0.45
Release:        1%{?dist}
Summary:        Rich Text Format (RTF) Document Generation in Python

Group:          Development/Languages
License:        LGPL
URL:            http://pyrtf.sourceforge.net/
Source0:        http://dl.sf.net/pyrtf/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

BuildRequires:  python
BuildRequires:  sed >= 3.95
Requires:   python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")

%description
PyRTF is a pure python module for the efficient generation of rich text form
documents.  It has good support for tables and tries to maintain compatibility
with as many RTF reader as possible.


%prep
%setup -q
%{__sed} -i 's?\r??' PyRTF/Styles.py
%{__sed} -i 's?\r??' PyRTF/PropertySets.py
%{__sed} -i 's?\r??' PyRTF/__init__.py

%build
%{__python} setup.py build


%install
rm -rf %buildroot
%{__python} setup.py install -O1 --skip-build --root %buildroot

 
%clean
rm -rf %buildroot


%files
%defattr(-,root,root,-)
%doc PKG-INFO
%dir %{python_sitelib}/PyRTF
%{python_sitelib}/PyRTF/*.py
%{python_sitelib}/PyRTF/*.pyc
%ghost %{python_sitelib}/PyRTF/*.pyo

%changelog
* Mon Jun 13 2005 Michael A. Peters <mpeters at mac.com> - 0.45-1
- uploaded package to cvs


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/PyRTF/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Jun 2005 01:00:27 -0000	1.1
+++ .cvsignore	14 Jun 2005 01:33:51 -0000	1.2
@@ -0,0 +1 @@
+PyRTF-0.45.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/PyRTF/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Jun 2005 01:00:27 -0000	1.1
+++ sources	14 Jun 2005 01:33:51 -0000	1.2
@@ -0,0 +1 @@
+6da40728b27c6a0150291f19c3f2ceb9  PyRTF-0.45.tar.gz




More information about the fedora-extras-commits mailing list