File convmv.spec of Package convmv

# spec file for package convmv
# Copyright (c) 2017 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:           convmv
Version:        2.04
Release:        0
Summary:        Converts File Names from One Encoding to Another
License:        GPL-2.0+
Group:          Productivity/File utilities
BuildArch:      noarch

convmv is meant to convert the filenames in a directory tree or a
whole file system into a different encoding, with support for

This is useful for converting from old 8-bit locales to UTF-8. It is
also possible to convert directories to UTF-8 that are already partly
UTF-8 encoded.

convmv can convert names to both the NFC and NFD normalization forms.
NFC is commonly used on Linux and (most?) other Unix-like OSes,
though does not enforce it. Darwin, the base of Macintosh OS X,
enforces normalization form D (NFD).

%setup -q
tar xf testsuite.tar

make %{?_smp_mflags} PREFIX=%{_prefix}

mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1
make DESTDIR=%{buildroot} PREFIX=%{_prefix} install

make %{?_smp_mflags} test


openSUSE Build Service is sponsored by