~romaia/stoqlib/translations

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Summary: A powerful retail system library
Name: stoqlib
Version: 0.9.8.4
Release: 4
License: LGPL
Group: System Environment/Libraries
URL: http://www.stoq.com.br/
Source: http://download.stoq.com.br/sources/LATEST/stoqlib-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: pygtk2 >= 2.8.1, python-zope-interface >= 3.0.1, stoqdrivers >= 0.9.6, python-kiwi >= 1.9.24, python-psycopg2 >= 2.0.5, gazpacho >= 0.6.6, python-imaging >= 1.1.5, python-reportlab >= 1.20, python-dateutil >= 1.3
Requires: python-abi = %(%{__python} -c "import sys; print sys.version[:3]")
BuildRequires: python-kiwi >= 1.9.24, python-reportlab >= 1.20, python-psycopg2 >= 2.0.5, python-dateutil >= 1.3
BuildArch: noarch

%description
Stoqlib offers many special tools for retail system applications
such reports infrastructure, basic dialogs and searchbars and
domain data in a persistent level.

%prep
%setup -q -n stoqlib-%{version}
sed -i -e 's|share/doc/stoqlib|share/doc/%{name}-%{version}|' setup.py

%setup

%build
%{__python} setup.py build

%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
rm -rf %{buildroot}%{_defaultdocdir}

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS CONTRIBUTORS COPYING README
%{python_sitelib}/stoqlib
%{_libdir}/stoqlib
%{_datadir}/locale/*/LC_MESSAGES/stoqlib.mo
%{_datadir}/stoqlib/fonts
%{_datadir}/stoqlib/glade
%{_datadir}/stoqlib/pixmaps
%{_datadir}/stoqlib/sql
%{_datadir}/stoqlib/csv
%{_datadir}/stoqlib/template

%changelog
* Wed Feb 11 2008 Fabio Morbec <fabio@async.com.br> 0.9.4-4
- Fix

* Wed Jan 31 2008 Fabio Morbec <fabio@async.com.br> 0.9.4-3
- Fix

* Wed Jan 31 2008 Fabio Morbec <fabio@async.com.br> 0.9.4-2
- Fix

* Wed Jan 31 2008 Fabio Morbec <fabio@async.com.br> 0.9.4-1
- New release.

* Wed Nov 08 2007 Fabio Morbec <fabio@async.com.br> 0.9.3-3
- Fix.

* Wed Nov 08 2007 Fabio Morbec <fabio@async.com.br> 0.9.3-2
- Fix stoqdrivers dependency.

* Wed Nov 07 2007 Fabio Morbec <fabio@async.com.br> 0.9.3
- New release

* Thu Aug 30 2007 Fabio Morbec <fabio@async.com.br> 0.9.2-1
- New release

* Mon Jul 16 2007 Johan Dahlin <jdahlin@async.com.br> 0.9.1-1
- New release

* Tue Feb 03 2007 Johan Dahlin <jdahlin@async.com.br> 0.8.10-1
- New release

* Tue Feb 03 2007 Johan Dahlin <jdahlin@async.com.br> 0.8.9-1
- Initial RPM release.