sudo,
osc (>= 0.139.0),
git-buildpackage-rpm (>= 0.6.0git20121124-tizen20130308),
+ gbs-api (= ${binary:Version}),
depanneur (>= 0.6),
pristine-tar (>= 1.26)
Recommends: librpm-tizen (>= 4.11.0.1.tizen20130304-tizen20130307)
Description: The command line tools for Tizen package developers
- The command line tools for Tizen package developers will
- be used to do packaging related tasks.
+ The command line tools for Tizen package developers will
+ be used to do packaging related tasks.
+
+Package: gbs-api
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends},
+ python-pycurl,
+ osc (>= 0.139.0),
+ git-buildpackage-rpm
+Conflicts: gbs (<< 0.15)
+Replaces: gbs (<< 0.15)
+Description: GBS API
+ This package contains gbs APIs, which can be used by
+ external software.
%if ! 0%{?tizen_version:1}
Requires: librpm-tizen >= 4.11.0.1.tizen20130304-tizen20130307
%endif
+Requires: %{name}-api = %{version}
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
The command line tools for Tizen package developers will
be used to do packaging related tasks.
+%package api
+Summary: GBS APIs
+Conflicts: gbs < 0.15
+Requires: python
+Requires: python-pycurl
+Requires: osc >= 0.139.0
+Requires: git-buildpackage-rpm
+
+%description api
+This package contains gbs APIs, which can be used by
+external software.
%prep
%setup -q -n %{name}-%{version}
%defattr(-,root,root,-)
%doc README.rst docs/RELEASE_NOTES
#%{_mandir}/man1/*
-%{python_sitelib}/*
+%{python_sitelib}/gitbuildsys/cmd_*.py*
+%{python_sitelib}/gitbuildsys/conf.py*
+%{python_sitelib}/gitbuildsys/parsing.py*
%{_bindir}/*
%{_sysconfdir}/bash_completion.d
+
+%files api
+%defattr(-,root,root,-)
+%dir %{python_sitelib}/gitbuildsys
+%{python_sitelib}/gitbuildsys/__init__.py*
+%{python_sitelib}/gitbuildsys/oscapi.py*
+%{python_sitelib}/gitbuildsys/errors.py*
+%{python_sitelib}/gitbuildsys/log.py*
+%{python_sitelib}/gitbuildsys/safe_url.py*
+%{python_sitelib}/gitbuildsys/utils.py*
+%{python_sitelib}/gbs-*-py*.egg-info