diff -r 153998c81c45 -r 855a9d44e7aa python-uniform/python-uniform.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-uniform/python-uniform.spec Wed Mar 23 20:44:16 2011 +0100 @@ -0,0 +1,82 @@ +## +## python-uniform.spec -- OpenPKG RPM Package Specification +## Copyright (c) 2011 Michael Schloh von Bennewitz +## +## Permission to use, copy, modify, and distribute this software for +## any purpose with or without fee is hereby granted, provided that +## the above copyright notice and this permission notice appear in all +## copies. +## +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +## SUCH DAMAGE. +## + +# package information +Name: python-uniform +Summary: Django Uni-Form div based forms +URL: http://pydanny.github.com/django-uni-form/ +Vendor: Daniel Greenfeld +Packager: Michael Schloh von Bennewitz +Distribution: Michael Schloh von Bennewitz +Class: EVAL +Group: Language +License: BSD +Version: 0.7.1 +Release: 20110300 + +# list of sources +Source0: http://download.github.com/areski/django-uni-form/areski-django-uni-form-%{version}.tar.gz + +# build information +Prefix: %{l_prefix} +BuildRoot: %{l_buildroot} +BuildPreReq: OpenPKG, openpkg >= 20060823 +PreReq: OpenPKG, openpkg >= 20060823 +BuildPreReq: python, python-django, python-setup +PreReq: python, python-django +AutoReq: no +AutoReqProv: no + +%description + Freeing the developer from hand coding elegantly rendered div based + forms, Django Uni-Form helps by easily displaying the forms as divs. + Its purpose is to provide a simple tag and filter that quickly + renders forms in a div format. Uni-form has been selected as the + base model for the design of the forms. + +%track + prog python-uniform = { + version = %{version} + url = http://download.github.com/areski/django-uni-form + regex = areski-django-uni-form-(__VER__)\.tar\.gz + } + +%prep + %setup -q -n areski-django-uni-form-%{version} + +%build + %{l_prefix}/bin/python setup.py build + +%install + rm -rf $RPM_BUILD_ROOT + %{l_prefix}/bin/python setup.py install \ + --skip-build \ + --root=$RPM_BUILD_ROOT \ + --prefix=%{l_prefix} + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} + +%files -f files + +%clean + rm -rf $RPM_BUILD_ROOT +