Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > by-pkgid > c8ec187ed136dfb023b1b22caad04b97 > files > 2

stoqdrivers-0.9.15-0mdv2010.2.src.rpm

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

%define name stoqdrivers
%define version 0.9.15
%define release %mkrel 0

Summary: Fiscal driver collection
Name: %{name}
Version: %{version}
Release: %{release}
License: LGPL
Group: System/Libraries
URL: http://www.stoq.com.br/
Source: stoqdrivers-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: python-zope-interface >= 3.0.1, pyserial >= 2.2, python-kiwi >= 1.9.27
BuildRequires: python-kiwi >= 1.9.27
BuildRequires: python-psycopg2
BuildRequires: gazpacho
BuildRequires: python-zope-interface
BuildRequires: python-serial
BuildRequires: python-devel
BuildArch: noarch

%description
This is a powerful collection of device drivers written in Python and totally
focused on retail systems. Stoqdrivers also offers an unified API for devices
like fiscal printers which makes it easy to embed in many applications.

%prep

%setup -q

%build

%install
rm -rf %{buildroot}
python setup.py install --root=%{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING NEWS README
%{python_sitelib}/stoqdrivers
%{_datadir}/locale/*/LC_MESSAGES/stoqdrivers.mo
%{_datadir}/stoqdrivers/conf/*.ini
/usr/lib/python%{python_version}/site-packages/stoqdrivers-0.9.11-py%{python_version}.egg-info


%changelog
* Fri Apr 08 2011 Leonardo Coelho <leonardoc@mandriva.com> 0.9.15-0mdv2010.1
+ Revision: 651922
-first package version on mdv
- Created package structure for stoqdrivers.