rpms/odfpy/devel import.log, NONE, 1.1 odfpy.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ian Weller (ianweller) fedora-extras-commits at redhat.com
Tue Jul 15 18:32:25 UTC 2008


Author: ianweller

Update of /cvs/pkgs/rpms/odfpy/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30960/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log odfpy.spec 
Log Message:
importing odfpy-0.7-2 in devel


--- NEW FILE import.log ---
odfpy-0_7-2_fc9:HEAD:odfpy-0.7-2.fc9.src.rpm:1216146661


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

Name:		odfpy
Version:	0.7
Release:	2%{?dist}
Summary:	Python library for manipulating OpenDocument files

Group:		Development/Languages
License:	GPLv2+
URL:		http://opendocumentfellowship.com/projects/%{name}
Source0:	http://opendocumentfellowship.com/files/%{name}-%{version}.tgz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:	noarch
BuildRequires:	python-devel python-setuptools

%description
Odfpy aims to be a complete API for OpenDocument in Python. Unlike
other more convenient APIs, this one is essentially an abstraction
layer just above the XML format. The main focus has been to prevent
the programmer from creating invalid documents. It has checks that
raise an exception if the programmer adds an invalid element, adds an
attribute unknown to the grammar, forgets to add a required attribute
or adds text to an element that doesn't allow it.
 
These checks and the API itself were generated from the RelaxNG
schema, and then hand-edited. Therefore the API is complete and can
handle all ODF constructions, but could be improved in its
understanding of data types.


%prep
%setup -q


%build
CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build


%install
rm -rf %{buildroot}
%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
sed -i '/#!\/usr\/bin\/python/d' %{buildroot}%{python_sitelib}/odf/*.py

 
%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%docdir examples
%docdir contrib
%{_bindir}/*
%{_mandir}/man1/*
%{python_sitelib}/*egg-info
%{python_sitelib}/odf


%changelog
* Tue Jul 15 2008 Ian Weller <ianweller at gmail.com> 0.7-2
- Change macros
- Remove license file

* Sun Jul 13 2008 Ian Weller <ianweller at gmail.com> 0.7-1
- Add COPYING file
- Use setuptools instead
- sed out shebangs from module files
- Other minor fixes

* Sun Jul 13 2008 Paul W. Frields <stickster at gmail.com> - 0.7-0.1
- Initial RPM package



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/odfpy/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	15 Jul 2008 16:53:18 -0000	1.1
+++ .cvsignore	15 Jul 2008 18:31:29 -0000	1.2
@@ -0,0 +1 @@
+odfpy-0.7.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/odfpy/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	15 Jul 2008 16:53:18 -0000	1.1
+++ sources	15 Jul 2008 18:31:29 -0000	1.2
@@ -0,0 +1 @@
+cea1c5bf445d3eeacca23f3de5ac0f94  odfpy-0.7.tgz




More information about the fedora-extras-commits mailing list