LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File genesis-build.spec of Package genesis-builder (Project home:genesis-Team:test)

#
# spec file for package genesis-build (Version 1)
#

# norootforbuild


Name:           genesis-build
Version:        0.1
Release:        1
License:        GPL 3
Autoreqprov:    on
Summary:        genesis-build provides the SVN / OSC bridge 
URL:            http://www.world-of-genesis.org
Source:         genesis-build-0.1.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python
Group: 		Hardware/Other
Requires:	python make rsync osc pysvn 


# define a macro for the python default dir
%{!?py_sitedir: %define py_sitedir %(%__python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} 

%description
genesis-build provides a bridge between a SVN repository and a corresponding openSUSE buildservice project. It automates the process of submitting code from the SVN to OBS.

Authors:
--------
	Olli Ries <olli@olli-ries.net>

%prep
%setup -c genesis-build  

%build

%install
%{__python} setup.py install \
    --root=%{buildroot} \
    --prefix=%{_prefix} \
    --record-rpm=INSTALLED_FILES

%clean
rm -rf %{buildroot}

%files -f INSTALLED_FILES
%defattr(-,root,root)
/etc/*

%changelog 
* Sun Feb 28 2010 - olli@olli-ries.net
- initial package