File convmv.spec of Package convmv

# spec file for package convmv
# 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.

# Please submit bugfixes or comments via

# norootforbuild

Name:           convmv
License:        GPL-2.0+
Group:          Productivity/File utilities
AutoReqProv:    on
Version:        1.15
Release:        1
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Summary:        Converts File Names from One Encoding to Another

convmv is meant to help convert a directory tree and the contained
files or a whole file system into a different encoding. It just
converts the file names, not the content of the files. A special
feature of convmv is that it also takes care of symlinks and converts
the symlink target pointer in case the symlink target is converted.

All this comes in very handy when converting from old 8-bit locales to
UTF-8 locales. It is also possible to convert directories to UTF-8 that
are already partly UTF-8 encoded. convmv is able to detect if certain
files are UTF-8 encoded and skips them by default. To turn this
behavior off, use the --nosmart switch.

An interoperability issue that comes with UTF-8 locales is this: Linux
and (most?) other Unix-like operating systems use the normalization
form C (NFC) for UTF-8 encoding by default but do not enforce this.
Darwin, the base of Macintosh OSX, enforces normalization form D (NFD),
where a few characters are encoded in a different way. convmv is able
to convert files to NFC or NFD, which aids in interoperability with
such systems.

    Bjoern Jacke <>

%setup -q
%{__tar} xf testsuite.tar

make PREFIX=/usr

mkdir -p $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_mandir}/man1

make test


%defattr(-, root, root)

openSUSE Build Service is sponsored by