File griffith.spec of Package griffith

#
# spec file for package [spectemplate]
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}

Name:           griffith
Version:        0.12.1
Release:        1
Summary:        DVD/BluRay/Movie collection manager

License:        GPL
URL:            http://griffith.cc
Source0:        http://launchpad.net/griffith/trunk/0.12.1/+download/griffith-0.12.1.tar.gz
BuildArch:      noarch

BuildRequires:  python python-base python-setuptools python-devel bash bzip2 coreutils cpio diffutils findutils gcc grep gzip info make patch sed tar unzip

Requires:       python python-base python-gtk python-sqlite2 python-sqlalchemy python-ReportLab python-imaging python-gnome-extras python-chardet

%description


%prep
%setup -q


%build
# Remove CFLAGS=... for noarch packages (unneeded)
# CFLAGS="%{optflags}" %{__python} setup.py build

%install
make install -k DESTDIR=%{buildroot}

%clean
rm -rf %{buildroot}


%files
%doc
# For noarch packages: sitelib
%{python_sitelib}/*
# For arch-specific packages: sitearch
%{python_sitearch}/*


%changelog
openSUSE Build Service is sponsored by