File lsb-release.spec of Package lsb-release

# spec file for package lsb-release
# Copyright (c) 2016 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

Name:           lsb-release
Summary:        Linux Standard Base Release Tools
License:        GPL-2.0+
Group:          System/Fhs
Version:        2.0
Release:        0
Prefix:         /usr
Source:         lsb-release-2.0.tar.bz2
Patch:          lsb-release-2.0.dif
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Tools from the Linux Standard Base project to determine the used distribution

%setup -n lsb-release-2.0


mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -m644 lsb_release.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/ # install place
ln lsb_release.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/lsb-release.1.gz
install -m755 lsb_release $RPM_BUILD_ROOT%{_bindir}
ln -sf lsb_release $RPM_BUILD_ROOT%{_bindir}/lsb-release



openSUSE Build Service is sponsored by