rpms/python-openoffice/EL-5 python-openoffice.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Dan Horák sharkcz at fedoraproject.org
Mon Dec 8 07:28:20 UTC 2008


Author: sharkcz

Update of /cvs/pkgs/rpms/python-openoffice/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2441

Modified Files:
	.cvsignore sources 
Added Files:
	python-openoffice.spec 
Log Message:
initial import


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

%define svnrev 33
%define svndate 20080929
%define module openoffice

Name:           python-%{module}
Version:        0.1
Release:        0.1.%{svndate}svn%{svnrev}%{?dist}
Summary:        Python libraries for interacting with OpenOffice.org
Group:          Development/Languages
License:        GPLv3
URL:            http://openoffice-python.origo.ethz.ch/
Source0:        http://download.origo.ethz.ch/openoffice-python/807/%{module}-%{version}-r%{svnrev}-%{svndate}.tar.bz2
#Source1:        http://download.origo.ethz.ch/openoffice-python/807/%{module}.interact-%{version}-r%{svnrev}-%{svndate}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel

Requires:       openoffice.org-pyuno


%description
The library is designed to supports both writing Macros called by OOo) and
interacting with OOo from an external Python program (using the UNO bridge).


%prep
%setup -q -n %{module}-%{version}-r%{svnrev}-%{svndate}

# remove exec perms for docs
chmod a-x sample-scripts/*

# remove the shebang line
sed -i -e '1d' %{module}/streams.py
sed -i -e '1d' %{module}/interact/__init__.py


%build
%{__python} setup.py build


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

 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc COPYING LICENSE-gpl-3.0.txt README sample-scripts
%{python_sitelib}/*


%changelog
* Tue Dec  2 2008 Dan Horák <dan[at]danny.cz> 0.1-0.1.20080929svn33
- initial Fedora version


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-openoffice/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	8 Dec 2008 00:31:38 -0000	1.1
+++ .cvsignore	8 Dec 2008 07:27:49 -0000	1.2
@@ -0,0 +1 @@
+openoffice-0.1-r33-20080929.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-openoffice/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Dec 2008 00:31:38 -0000	1.1
+++ sources	8 Dec 2008 07:27:49 -0000	1.2
@@ -0,0 +1 @@
+564cbd2305655846e694059ac40e68c2  openoffice-0.1-r33-20080929.tar.bz2




More information about the fedora-extras-commits mailing list