From 257e0553dee2f0e4459555c352524a3a757a2f9f Mon Sep 17 00:00:00 2001 From: Andy Shevchenko Date: Jul 27 2008 11:24:12 +0000 Subject: Update to 1.1.3 --- diff --git a/.cvsignore b/.cvsignore index e69de29..4f082ff 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +uniconvertor-1.1.3.tar.gz diff --git a/UniConvertor-1.1.1-rename-in-help.patch b/UniConvertor-1.1.1-rename-in-help.patch new file mode 100644 index 0000000..05b52bd --- /dev/null +++ b/UniConvertor-1.1.1-rename-in-help.patch @@ -0,0 +1,21 @@ +diff -urNad uniconvertor-1.1.1~/src/__init__.py uniconvertor-1.1.1/src/__init__.py +--- uniconvertor-1.1.1~/src/__init__.py 2008-03-13 00:10:44.000000000 +0100 ++++ uniconvertor-1.1.1/src/__init__.py 2008-03-15 11:38:34.000000000 +0100 +@@ -7,7 +7,7 @@ + # For more info see COPYRIGHTS file in root directory. + + ''' +-USAGE: uniconv [INPUT FILE] [OUTPUT FILE] ++USAGE: uniconvertor [INPUT FILE] [OUTPUT FILE] + + Converts one vector graphics format to another using sK1 engine. + sK1 Team (http://sk1project.org), copyright (C) 2007,2008 by Igor E. Novikov +@@ -36,7 +36,7 @@ + PDF - Portable Document Format + PS - PostScript + +-Example: uniconv drawing.cdr drawing.svg\n ++Example: uniconvertor drawing.cdr drawing.svg\n + ''' + + import sys, os, string diff --git a/UniConvertor-1.1.1-use-exec.patch b/UniConvertor-1.1.1-use-exec.patch new file mode 100644 index 0000000..589bd09 --- /dev/null +++ b/UniConvertor-1.1.1-use-exec.patch @@ -0,0 +1,10 @@ +diff -urNad python-uniconvertor-1.1.1~/src/uniconv python-uniconvertor-1.1.1/src/uniconv +--- python-uniconvertor-1.1.1~/src/uniconv 2008-03-13 00:10:44.000000000 +0100 ++++ python-uniconvertor-1.1.1/src/uniconv 2008-03-15 15:11:01.000000000 +0100 +@@ -20,4 +20,4 @@ + # + + +-python -c "import uniconvertor" "$1" "$2" +\ No newline at end of file ++exec python -c "import uniconvertor" "$1" "$2" diff --git a/sources b/sources index 5a4f1cd..9e611f8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ff6a73c1a678286fe119f62307825d1a uniconvertor-1.1.2.tar.gz +63aee3ae289e92e0b509cb2b3a1d7ac8 uniconvertor-1.1.3.tar.gz diff --git a/uniconvertor.spec b/uniconvertor.spec index 4abc6e8..00b361f 100644 --- a/uniconvertor.spec +++ b/uniconvertor.spec @@ -1,8 +1,8 @@ %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Name: uniconvertor -Version: 1.1.2 -Release: 1%{?dist} +Version: 1.1.3 +Release: 2%{?dist} Summary: Universal vector graphics translator Group: Applications/Multimedia @@ -10,10 +10,13 @@ License: LGPLv2+ and GPLv2+ and MIT URL: http://sk1project.org/modules.php?name=Products&product=uniconvertor Source0: http://sk1project.org/downloads/uniconvertor/v%{version}/%{name}-%{version}.tar.gz Patch0: UniConvertor-1.1.0-simplify.patch +Patch1: UniConvertor-1.1.1-rename-in-help.patch +Patch2: UniConvertor-1.1.1-use-exec.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel Requires: python-imaging +Requires: python-reportlab %description @@ -24,6 +27,8 @@ It uses sK1 engine to convert one format to another. %prep %setup -q -n UniConvertor-%{version} %patch0 -p1 -b .simplify +%patch1 -p1 -b .rename-in-help +%patch2 -p1 -b .use-exec # Prepare for inclusion into documentation part install -p -m644 src/COPYRIGHTS COPYRIGHTS @@ -67,8 +72,13 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Sun May 04 2008 Andy Shevchenko 1.1.2-1 +* Sun Jul 27 2008 Andy Shevchenko 1.1.3-2 +- update to 1.1.3 +- new requirement python-reportlab + +* Sun May 04 2008 Andy Shevchenko 1.1.2-2 - update to 1.1.2 +- apply two useful patches from Debian * Thu Mar 06 2008 Andy Shevchenko 1.1.1-2 - just fix Source0 URL