Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:leopinheiro
stoqlib
stoqlib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File stoqlib.spec of Package stoqlib
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %define is_mandrake %(test -e /etc/mandrake-release && echo 1 || echo 0) %define is_suse %(test -e /etc/SuSE-release && echo 1 || echo 0) %define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) %define is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0) %if %is_redhat %define dist %(cat /etc/redhat-release | cut -d " " -f 1 | tr '[A-Z]' '[a-z]') %define disttag el %endif %if %is_mandrake %define dist mandrake %define disttag mdk %endif %if %is_suse %define dist %(cat /etc/SuSE-release | head -n 1 | cut -d " " -f 1) %define disttag suse %endif %if %is_fedora %define dist fedora %define disttag f %endif %define distver %(release="`rpm -q --queryformat='%{VERSION}' %{dist}-release 2> /dev/null | tr . : | sed s/://g`" ; if test $? != 0 ; then release="" ; fi ; echo "$release") Summary: Stoq library Name: stoqlib Version: 0.9.7rc2 Release: 0.%{disttag}%{distver}.dobem License: LGPL Group: System Environment/Libraries URL: http://www.dobemsoftware.com Source: http://download.dobemsoftware.com/sources/stoqlib-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %if %disttag == el || %dist == fedora Requires: pygtk2 >= 2.8.1, python-zope-interface >= 3.0.1 Requires: python-abi = %(%{__python} -c "import sys; print sys.version[:3]") %endif %if %disttag == suse Requires: python-gtk >= 2.8.1, python-zopeinterface >= 3.0.1, python-sqlobject >= 0.8.0 Requires: python >= %(%{__python} -c "import sys; print sys.version[:3]") %endif Requires: python-imaging >= 1.1.5 Requires: python-reportlab >= 1.20 Requires: python-gazpacho >= 0.6.6 Requires: stoqdrivers >= 0.9.4 Requires: python-kiwi >= 1.9.22 Requires: python-psycopg2 >= 2.0.5 Requires: python-formencode >= 0.2.2 BuildRequires: python-kiwi >= 1.9.21 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 %build %{__python} setup.py build %install %{__rm} -rf %{buildroot} %{__python} setup.py install -O1 --skip-build --prefix=%{_prefix} --root %{buildroot} find %{buildroot} -name '*.egg-info' -print0 | xargs -0 %{__rm} -f %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %{_datadir}/doc/%{name}-%{version}/AUTHORS %{_datadir}/doc/%{name}-%{version}/CONTRIBUTORS %{_datadir}/doc/%{name}-%{version}/COPYING %{_datadir}/doc/%{name}-%{version}/README %{python_sitelib}/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 %{_datadir}/stoqlib/plugins %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.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor