[stylus-toolbox] Initial import (#772766)

Mario Santagiuliana marionline at fedoraproject.org
Fri Jul 6 11:04:58 UTC 2012


commit 6c32680633cca72954a2ec15095e9b53b143cb37
Author: Mario Santagiuliana <mario at marionline.it>
Date:   Fri Jul 6 13:09:21 2012 +0200

    Initial import (#772766)

 .gitignore           |    1 +
 sources              |    1 +
 stylus-toolbox.patch |   14 ++++++++++
 stylus-toolbox.spec  |   68 ++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 84 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..615b5a8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/stylus-toolbox-0.2.7.tar.bz2
diff --git a/sources b/sources
index e69de29..cc862cd 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cf067e2abc091804385974dd146b2090  stylus-toolbox-0.2.7.tar.bz2
diff --git a/stylus-toolbox.patch b/stylus-toolbox.patch
new file mode 100644
index 0000000..006f118
--- /dev/null
+++ b/stylus-toolbox.patch
@@ -0,0 +1,14 @@
+diff -uNr stylus-toolbox-0.2.7/setup.py stylus-toolbox-0.2.7_fix/setup.py
+--- stylus-toolbox-0.2.7/setup.py	2006-10-18 02:36:39.000000000 +0200
++++ stylus-toolbox-0.2.7_fix/setup.py	2012-01-09 23:07:00.000000000 +0100
+@@ -11,6 +11,9 @@
+ parser.add_option("-p","--prefix",\
+ 			dest="prefix", \
+ 			help="install prefix (i.e., /usr/local)")
++parser.add_option("-r","--root",\
++			dest="root", \
++			help="root")
+ (options,args)=parser.parse_args() 
+ 
+ if options.prefix:
+I file binari stylus-toolbox-0.2.7/.setup.py.swp e stylus-toolbox-0.2.7_fix/.setup.py.swp sono diversi
diff --git a/stylus-toolbox.spec b/stylus-toolbox.spec
new file mode 100644
index 0000000..51b7361
--- /dev/null
+++ b/stylus-toolbox.spec
@@ -0,0 +1,68 @@
+Name:		stylus-toolbox
+Version:	0.2.7
+Release:	3%{?dist}
+Summary:	A printer utility for Epson Stylus® inkjet printers
+
+License:	GPLv2+
+URL:		http://stylus-toolbox.sourceforge.net/
+Source0:	http://downloads.sourceforge.net/stylus-toolbox/%{name}-%{version}.tar.bz2
+Patch0:		%{name}.patch
+
+BuildArch:	noarch
+
+BuildRequires:	python-devel
+Requires:	pexpect
+Requires:	pygtk2
+Requires:	dbus
+Requires:	gutenprint
+Requires:	cups
+
+%description
+Stylus Toolbox is a printer utility for Epson Stylus® inkjet printers that is
+designed to replace the Epson Printer Utility that comes with the Epson drivers
+for the Windows platform on Linux, Mac OS X, FreeBSD and other Unix and
+Unix-like operating systems that are supported by the Python programming
+language and the Gutenprint inkjet drivers.
+
+Stylus Toolbox is a graphical (GUI) front-end for Gutenprint's escputil
+command-line Epson printer utility.  As a result, it supports all printers
+supported by escputil and Gutenprint, including many recent-model Epson Stylus
+and Epson Photo printers. 
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+
+%install
+mkdir -p %{buildroot}%{_bindir}
+%{__python} setup.py --prefix %{buildroot}/usr
+%{__python} setup.py install --root %{buildroot}
+sed -i -e 's|%{buildroot}||' %{buildroot}%{_bindir}/%{name}
+#remove shebang
+sed -i -e '/\/usr\/bin\/env/d' %{buildroot}%{python_sitelib}/GladeWindow.py
+
+
+%files
+%doc README COPYING TODO
+%dir %{_datadir}/%{name}
+%{_bindir}/%{name}
+%{_datadir}/%{name}/*.glade
+%{python_sitelib}/*
+
+
+%changelog
+* Wed Jul 04 2012 Mario Santagiuliana <fedora at marionline.it> - 0.2.7-3
+- remove python_sitelib macro
+
+* Wed Jul 04 2012 Mario Santagiuliana <fedora at marionline.it> - 0.2.7-2
+- update spec file following Jiri Popelka request:
+https://bugzilla.redhat.com/show_bug.cgi?id=772766#c4
+
+* Wed Jan 11 2012 Mario Santagiuliana <fedora at marionline.it> - 0.2.7-1
+- update spec file
+
+* Mon Jan 09 2012 Mario Santagiuliana <fedora at marionline.it> - 0.2.7-0
+- initial build
+


More information about the scm-commits mailing list