Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
update-alternatives
update-alternatives.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File update-alternatives.spec of Package update-alternatives
# # spec file for package update-alternatives (Version 1.14.19) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %define _name update-alternatives Name: update-alternatives Url: http://alternatives.sourceforge.net/ %define jpackage-section free Version: 1.14.19 Release: 1 Summary: Maintain symbolic links determining default commands License: GPL v2 or later Group: System/Management Source0: %{_name}-%{version}.tar.bz2 Patch0: %{_name}-suse.patch Patch1: %{_name}-suse-man.patch Patch2: %{_name}-manual-state.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: no Requires: /usr/bin/perl %description update-alternatives creates, removes, maintains and displays information about the symbolic links comprising the alternatives system. It is possible for several programs fulfilling the same or similar functions to be installed on a single system at the same time. For example, many systems have several text editors installed at once. This gives choice to the users of a system, allowing each to use a different editor, if desired, but makes it difficult for a program to make a good choice of editor to invoke if the user has not specified a particular preference. On SUSE Linux, this functionality is only used for packages that are part of the JPackage project <http://www.jpackage.org/> %prep %setup -q -n %{_name}-%{version} %patch0 -b .sav0 %patch1 -b .sav1 %patch2 -b .sav2 %build # Nope. %install install -D -p -m 755 update-alternatives.pl \ $RPM_BUILD_ROOT%{_sbindir}/update-alternatives install -D -p -m 644 update-alternatives.8 \ $RPM_BUILD_ROOT%{_mandir}/man8/update-alternatives.8 # Paths hardcoded in script and patch0. install -d -m 755 $RPM_BUILD_ROOT/etc/alternatives install -d -m 755 $RPM_BUILD_ROOT/var/lib/rpm/alternatives %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_sysconfdir}/alternatives %{_sbindir}/update-alternatives %{_mandir}/man8/update-alternatives.8* # Paths hardcoded in script and patch0. /etc/alternatives /var/lib/rpm/alternatives %changelog * Mon Jul 21 2008 mvyskocil@suse.cz - fix of enhancenment request[bnc#261246] - update-alternatives should support --set - update to the 1.14.19 * Tue Nov 06 2007 mvyskocil@suse.cz - fix the manual link state after --install and --remove commands [#334783] * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Thu Sep 29 2005 dmueller@suse.de - add norootforbuild * Wed Sep 01 2004 skh@suse.de - Initial package version 1.8.3
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