Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
PackageKit-branding-SLE.34494
PackageKit-branding.spec.in
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PackageKit-branding.spec.in of Package PackageKit-branding-SLE.34494
# # spec file for package PackageKit-branding-%{branding_name} # # Copyright (c) 2014 SUSE LINUX Products 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/ # %define build_openSUSE 0 %define build_SLE 0 Name: PackageKit-branding-%{branding_name} Version: 12.0 Release: 0 Summary: Simple software installation management software -- %{branding_name} default configuration License: GPL-2.0+ Group: System/Daemons Url: http://packagekit.org/ Source0: COPYING Source1: PackageKit-branding-ZYpp.conf # PATCH-FEATURE-OPENSUSE PackageKit-branding-vendor.patch vuntz@opensuse.org -- Update the Vendor.conf file with distro-specific data Patch0: PackageKit-branding-vendor.patch # PATCH-FEATURE-OPENSUSE PackageKit-branding-default-config.patch vuntz@opensues.org -- Change some default configuration Patch1: PackageKit-branding-default-config.patch BuildRequires: PackageKit >= 0.8 # To be in sync with upstream defaults, do branding as a patch for upstream file. # WARNING: As this package conflicts with PackageKit-branding-%{branding_name}, you cannot # reuse build root. You have to build in a clean build root every time! BuildRequires: PackageKit-branding-upstream >= 0.8.14 %define packagekit_version %(rpm -q --qf '%%{version}' PackageKit) Requires: PackageKit = %{packagekit_version} Provides: PackageKit-branding = %{packagekit_version} Conflicts: otherproviders(PackageKit-branding) Supplements: packageand(PackageKit:branding-%{branding_name}) BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less. This package provides the %{branding_name} default configuration for PackageKit. %prep cp -a %{SOURCE0} . cp -a %{_sysconfdir}/PackageKit/* . %patch0 %patch1 -p1 %build %install install -d %{buildroot}%{_sysconfdir}/PackageKit # Do the loop this way to make sure we don't forget about any configuration file for conf in %{_sysconfdir}/PackageKit/*; do case "$conf" in %{_sysconfdir}/PackageKit/events) # skip this, it's not something we brand ;; *) install -m0644 `basename $conf` %{buildroot}%{_sysconfdir}/PackageKit/ ;; esac done install -m0644 %{S:1} %{buildroot}%{_sysconfdir}/PackageKit/ZYpp.conf %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc COPYING %config(noreplace) %{_sysconfdir}/PackageKit/PackageKit.conf %{_sysconfdir}/PackageKit/Vendor.conf %config(noreplace) %{_sysconfdir}/PackageKit/ZYpp.conf %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