Bug 1042844

Summary: DevAssistant GUI should be in subpackage
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: devassistantAssignee: Bohuslav "Slavek" Kabrda <bkabrda>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: bkabrda, phracek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-02 09:51:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Miro Hrončok 2013-12-13 14:04:49 UTC
While devassistant is capable of running on without GUI, the Fedora package brings the GUI and GUI's dependencies.

If someone only wants to use the the command and not the GUI, or even if someone wants to install DevAssistant on headless machine, this package brings unneeded GTK3.

Here is the proposal of the split:

Requires:       git
Requires:       polkit
Requires:       python-jinja2
Requires:       python-PyGithub
Requires:       python-setuptools # <- BTW why it depedns on setuptools?
Requires:       PyYAML

%package gui
Requires:       pygobject3

%files
%doc README.rst LICENSE
%{_bindir}/%{shortname}
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_mandir}/man1/%{shortname}.1.gz
%{_mandir}/man1/%{name}.1.gz
%{_sysconfdir}/bash_completion.d/
%dir %{python_sitelib}/%{name}
%{python_sitelib}/%{name}/*.py*
%{python_sitelib}/%{name}/cli
%{python_sitelib}/%{name}-%{version}-py?.?.egg-info

%files gui
%doc README.rst LICENSE
%{_bindir}/%{shortname}-gui
%{_bindir}/%{name}-gui
%{_mandir}/man1/%{shortname}-gui.1.gz
%{_datadir}/applications/%{name}.desktop
%{_datadir}/appdata/%{name}.appdata.xml
%{python_sitelib}/%{name}/gui

Comment 1 Jaroslav Reznik 2015-03-03 15:19:37 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 2 Bohuslav "Slavek" Kabrda 2015-07-02 09:51:51 UTC
This has been done in Fedora 22. To install just CLI, install only "devassistant-cli" package. for GUI install "devassistant-gui" and to get both just install "devassistant".
Closing.