Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:junchunx
gbs
gbs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gbs.spec of Package gbs
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: gbs Summary: The command line tools for Tizen package developers Version: 0.2 Release: 1 Group: Development/Tools License: GPLv2 BuildArch: noarch URL: http://www.tizen.org Source0: %{name}-%{version}.tar.gz Requires: python >= 2.5 Requires: git-core Requires: osc >= 0.131 Requires: build >= 2011.10.10 %if 0%{?fedora_version} Requires: rpm-build %else Requires: rpm %endif BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The command line tools for Tizen package developers will be used to do packaging related tasks. %prep %setup -q -n %{name}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT %if 0%{?suse_version} %{__python} setup.py install --root=$RPM_BUILD_ROOT --prefix=%{_prefix} %else %{__python} setup.py install --root=$RPM_BUILD_ROOT -O1 %endif mkdir -p %{buildroot}/%{_prefix}/share/man/man1 %files %defattr(-,root,root,-) %doc README.rst %{python_sitelib}/* %dir %{_datadir}/%{name} %{_datadir}/%{name}/* %{_bindir}/*
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