Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
yast2-smt.10329
yast2-smt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File yast2-smt.spec of Package yast2-smt.10329
# # spec file for package yast2-smt # # Copyright (c) 2018 SUSE LINUX 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/ # Name: yast2-smt Version: 3.0.17 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: yast2-smt-%{version}.tar.bz2 Prefix: /usr Requires: yast2 # FATE 305541: Creating NCCcredentials file using yast2-registration Requires: /bin/hostname Requires: /usr/bin/curl Requires: /usr/bin/grep Requires: yast2-registration # For adjusting the NCCcredentials file permissions Requires: /bin/chmod Requires: /bin/chown Requires: /usr/bin/setfacl # For checking whether the DB->user is available on the system Requires: /usr/bin/getent Requires: sudo # Modified smt-catalogs (added --batch-mode) # SMT::Client::getPatchStatusLabel returning two values # don't require SMT (instead ask to install it), but prevent older versions Conflicts: smt < 3.0.36 # Icons Requires: hicolor-icon-theme # any YaST theme Requires: yast2_theme # 'current' PreReq: yast2-branding # This YaST tool configures SMT (cron, apache2) Recommends: mysql Recommends: cron Recommends: apache2 # If CA is missing, SMT offers to create one Recommends: yast2-ca-management BuildRequires: hicolor-icon-theme BuildRequires: perl-XML-Writer BuildRequires: update-desktop-files BuildRequires: yast2 BuildRequires: yast2-devtools BuildRequires: yast2-testsuite # any YaST theme BuildRequires: yast2_theme # build must not have any choice, using package that provides 'yast2-branding' %if 0%{?is_opensuse} BuildRequires: yast2-branding-openSUSE %else BuildRequires: yast2-branding-SLES %endif BuildArch: noarch Summary: Configuration of Subscription Management Tool for SUSE Linux Enterprise License: GPL-2.0 Group: System/YaST %description Provides the YaST module for SMT configuration. %prep %setup -n yast2-smt-%{version} %build %yast_build %install %yast_install for f in `find $RPM_BUILD_ROOT/%{prefix}/share/applications/YaST2/ -name "*.desktop"` ; do d=${f##*/} %suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop} done mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/16x16/apps mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/22x22/apps mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/128x128/apps cd $RPM_BUILD_ROOT//usr/share/YaST2/theme/current/icons for dir in 16x16 22x22 32x32 48x48 128x128; do cd $RPM_BUILD_ROOT/usr/share/icons/hicolor/$dir/apps rm -rf yast-smt.png ln -s /usr/share/YaST2/theme/current/icons/$dir/apps/yast-smt.png . done %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) %dir /usr/share/YaST2/include/smt /usr/share/YaST2/include/smt/* /usr/share/YaST2/clients/*.rb /usr/share/YaST2/modules/SMT*.* %{prefix}/share/applications/YaST2/smt*.desktop /usr/share/YaST2/scrconf/smt*.scr %{prefix}/lib/YaST2/servers_non_y2/ag_* %{prefix}/lib/YaST2/bin/regsrv-check-creds %doc %{prefix}/share/doc/packages/yast2-smt %dir /usr/share/YaST2/control /usr/share/YaST2/control/smt_control.xml # ... and icons (again) # removed, as conflicts with the symlink for current theme # %dir /usr/share/YaST2/theme/current/icons %dir /usr/share/YaST2/theme/current/icons/16x16/ %dir /usr/share/YaST2/theme/current/icons/16x16/apps/ %dir /usr/share/YaST2/theme/current/icons/22x22/ %dir /usr/share/YaST2/theme/current/icons/22x22/apps/ %dir /usr/share/YaST2/theme/current/icons/32x32/ %dir /usr/share/YaST2/theme/current/icons/32x32/apps/ %dir /usr/share/YaST2/theme/current/icons/48x48/ %dir /usr/share/YaST2/theme/current/icons/48x48/apps/ %dir /usr/share/YaST2/theme/current/icons/128x128/ %dir /usr/share/YaST2/theme/current/icons/128x128/apps/ /usr/share/YaST2/theme/current/icons/16x16/apps/yast-smt.png /usr/share/YaST2/theme/current/icons/22x22/apps/yast-smt.png /usr/share/YaST2/theme/current/icons/32x32/apps/yast-smt.png /usr/share/YaST2/theme/current/icons/48x48/apps/yast-smt.png /usr/share/YaST2/theme/current/icons/128x128/apps/yast-smt.png %dir /usr/share/icons/hicolor/16x16/apps/ %dir /usr/share/icons/hicolor/22x22/apps/ %dir /usr/share/icons/hicolor/32x32/apps/ %dir /usr/share/icons/hicolor/48x48/apps/ %dir /usr/share/icons/hicolor/128x128/apps/ /usr/share/icons/hicolor/16x16/apps/yast-smt.png /usr/share/icons/hicolor/22x22/apps/yast-smt.png /usr/share/icons/hicolor/32x32/apps/yast-smt.png /usr/share/icons/hicolor/48x48/apps/yast-smt.png /usr/share/icons/hicolor/128x128/apps/yast-smt.png # client status icons %dir /usr/share/icons/hicolor/16x16/status /usr/share/icons/hicolor/16x16/status/client-*.xpm /usr/share/icons/hicolor/16x16/status/repo-*.xpm /usr/share/icons/hicolor/16x16/status/patch-*.xpm %changelog
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