diff --git a/hxtools.spec b/hxtools.spec index b4fb963..66a39a2 100644 --- a/hxtools.spec +++ b/hxtools.spec @@ -1,19 +1,37 @@ +# +# spec file for package hxtools +# +# Copyright (c) 2011 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. -Name: hxtools -Version: 20110214 -Release: 0 -Group: System/Base -URL: http://jengelh.medozas.de/projects/hxtools/ -Summary: Collection of day-to-day tools (binaries) +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# -Source: %name-%version.tar.xz -Source2: %name-%version.tar.xz.asc -License: GPL,PD + + +Name: hxtools +Version: 20110214 +Release: 1 +Group: System/Base +Url: http://jengelh.medozas.de/projects/hxtools/ +Summary: Collection of day-to-day tools (binaries) + +Source: %name-%version.tar.xz +Source2: %name-%version.tar.xz.asc +License: GPL,PD # freetype2, xorg-x11 for "bdftopcf" -BuildRequires: libHX-devel >= 3.4, freetype2, libcap-devel -BuildRequires: xorg-x11, pkg-config, xz -BuildRoot: %_tmppath/%name-%version-build -Recommends: %name-scripts = %version, %name-man = %version +BuildRequires: freetype2 libHX-devel >= 3.4 libcap-devel +BuildRequires: pkg-config xorg-x11 xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Recommends: %name-scripts = %version, %name-man = %version %define build_profile 1 @@ -29,10 +47,11 @@ A collection of various tools. Some of the important ones: * vfontas(1) — VGA font file assembler %package scripts -Group: System/Base -Summary: Collection of day-to-day tools (scripts) -BuildArch: noarch -Recommends: %name, %name-man +License: GPL,PD +Group: System/Base +Summary: Collection of day-to-day tools (scripts) +BuildArch: noarch +Recommends: %name, %name-man %description scripts Architecture-independent programs from hxtools. @@ -60,18 +79,20 @@ Architecture-independent programs from hxtools. * wktimer(1) — work timer %package man -Group: Documentation/Man -Summary: Manual pages for the hxtools suite -BuildArch: noarch +License: GPL,PD +Group: Documentation/Man +Summary: Manual pages for the hxtools suite +BuildArch: noarch %description man This package contains the manual pages for the binaries and scripts from hxtools. %package data -Group: System/Base -Summary: Collection of day-to-day tools (data) -BuildArch: noarch +License: GPL,PD +Group: System/Base +Summary: Collection of day-to-day tools (data) +BuildArch: noarch %description data Architecture-independent data from hxtools. @@ -81,11 +102,12 @@ Architecture-independent data from hxtools. * additional syntax highlighting definitions for mcedit %package profile -Group: System/Base -Summary: The hxtools shell environment -Requires: %name = %version, %name-scripts = %version -Requires: %name-data = %version -BuildArch: noarch +License: GPL,PD +Group: System/Base +Summary: The hxtools shell environment +Requires: %name = %version, %name-scripts = %version +Requires: %name-data = %version +BuildArch: noarch %description profile Bash environment settings from hxtools. Particularly, this provides @@ -154,6 +176,7 @@ rm -Rf "%buildroot"; %_datadir/mc %if 0%{?build_profile} + %files profile %defattr(-,root,root) %config %_sysconfdir/hxloginpref.conf