Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
PackageKit-branding-openSUSE
PackageKit-branding.spec.in
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PackageKit-branding.spec.in of Package PackageKit-branding-openSUSE
# # spec file for package PackageKit-branding-%{branding_name} (Version 11.3) # # Copyright (c) 2010 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_SLED 0 Name: PackageKit-branding-%{branding_name} License: GPLv2+ Version: 11.4 Release: 1 Summary: %{branding_name} branding of PackageKit Group: System/Daemons 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 # 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 BuildRequires: PackageKit %define packagekit_version %(rpm -q --qf '%%{version}-%%{release}' PackageKit) Provides: PackageKit-branding = %{packagekit_version} Conflicts: otherproviders(PackageKit-branding) Supplements: packageand(PackageKit:branding-%{branding_name}) BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description This package provides %{branding_name} Look and Feel for PackageKit. %prep cp -a %{SOURCE0} . cp -a %{_sysconfdir}/PackageKit/* . %patch0 %patch1 %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 # We don't build the command-not-found PackageKit utility %config(noreplace) %{_sysconfdir}/PackageKit/CommandNotFound.conf %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