Accepting request 177773 from devel:libraries:c_c++

- Update to new upstream release 20130605
* ru-translit-de scim-table replaced by ru-phonde M17N mdbIM
* hcdplay: new utility for control of analog CDROM playback
* cp437AB font: Czech and Polish support/maps

OBS-URL: https://build.opensuse.org/request/show/177773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hxtools?expand=0&rev=21
This commit is contained in:
Stephan Kulow
2013-06-06 10:07:39 +00:00
committed by Git OBS Bridge
parent 73d1cc37d5
commit 93203d233a
6 changed files with 43 additions and 31 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package hxtools
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 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
@@ -17,16 +17,18 @@
Name: hxtools
Version: 20121125
Release: 0
Url: http://inai.de/projects/hxtools/
Summary: Collection of day-to-day tools (binaries)
License: GPL-2.0+ and SUSE-WTFPL-2.0
Group: System/Base
Group: Productivity/Other
Version: 20130605
Release: 0
Url: http://inai.de/projects/hxtools/
Source: %name-%version.tar.xz
Source2: %name-%version.tar.xz.asc
Source: http://jftp.inai.de/hxtools/%name-%version.tar.xz
Source2: http://jftp.inai.de/hxtools/%name-%version.tar.asc
Source3: %name.keyring
# This package has a "Upstream First" policy for patches.
# See https://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
BuildRequires: fdupes
BuildRequires: libcap-devel >= 2
# xorg-x11 for "bdftopcf"
@@ -80,7 +82,7 @@ A collection of various tools. Some of the important ones:
%package scripts
Summary: Collection of day-to-day tools (scripts)
Group: System/Base
Group: Productivity/Other
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
@@ -133,7 +135,7 @@ from hxtools.
%package data
Summary: Collection of day-to-day tools (data)
Group: System/Base
Group: Productivity/Other
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
@@ -147,7 +149,7 @@ Architecture-independent data from hxtools.
%package profile
Summary: The hxtools shell environment
Group: System/Base
Group: Productivity/Other
Requires: %name = %version
Requires: %name-data = %version
Requires: %name-scripts = %version
@@ -191,6 +193,7 @@ lsof/fuser in that it can scan recursively and won't bluntly look at
an entire mount.
%prep
xz -dk "%{S:0}"
%{?gpg_verify: %gpg_verify %{S:2}}
%if 0%{?__xz:1}
%setup -q
@@ -223,11 +226,12 @@ ln -s "%_datadir/%name/hxtools_profile.bash" "$b/%_sysconfdir/profile.d/z_hxtool
rm -Rf "$b/%_sysconfdir/profile.d" "$b/%_sysconfdir"/hx*;
%endif
%fdupes %buildroot
%fdupes %buildroot/%_prefix
%files
%defattr(-,root,root)
%_bindir/declone
%_bindir/hcdplay
%_bindir/newns
%_bindir/omixer
%_bindir/oplay