From 94cecafe2a907861c7d1287b61fc22d2a1ceb6ec Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 21:30:54 +0100 Subject: [PATCH] automatic version update by autodist [release 1.15-1mamba;Thu Aug 25 2011] --- README.md | 2 ++ convmv.spec | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 convmv.spec diff --git a/README.md b/README.md index 35d3cc7..6e3c6e0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # convmv +convmv converts filenames (not file content), directories, and even whole filesystems to a different encoding. This comes in very handy if, for example, one switches from an 8-bit locale to an UTF-8 locale or changes charsets on Samba servers. It has some smart features: it automagically recognises if a file is already UTF-8 encoded (thus partly converted filesystems can be fully moved to UTF-8) and it also takes care of symlinks. Additionally, it is able to convert from normalization form C (UTF-8 NFC) to NFD and vice-versa. This is important for interoperability with Mac OS X, for example, which uses NFD, while Linux and most other Unixes use NFC. Though it's primary written to convert from/to UTF-8 it can also be used with almost any other charset encoding. Convmv can also be used for case conversion from upper to lower case and vice versa with virtually any charset. Note that this is a command line tool which requires at least Perl version 5.8.0. + diff --git a/convmv.spec b/convmv.spec new file mode 100644 index 0000000..7e09e8b --- /dev/null +++ b/convmv.spec @@ -0,0 +1,43 @@ +Name: convmv +Version: 1.15 +Release: 1mamba +Summary: Converts filenames, directories, and even whole filesystems to a different encoding +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.j3e.de/linux/convmv/ +Source: http://www.j3e.de/linux/convmv/convmv-%{version}.tar.gz +#Patch0: %{name}--.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +convmv converts filenames (not file content), directories, and even whole filesystems to a different encoding. This comes in very handy if, for example, one switches from an 8-bit locale to an UTF-8 locale or changes charsets on Samba servers. It has some smart features: it automagically recognises if a file is already UTF-8 encoded (thus partly converted filesystems can be fully moved to UTF-8) and it also takes care of symlinks. Additionally, it is able to convert from normalization form C (UTF-8 NFC) to NFD and vice-versa. This is important for interoperability with Mac OS X, for example, which uses NFD, while Linux and most other Unixes use NFC. Though it's primary written to convert from/to UTF-8 it can also be used with almost any other charset encoding. Convmv can also be used for case conversion from upper to lower case and vice versa with virtually any charset. Note that this is a command line tool which requires at least Perl version 5.8.0. + +%prep +%setup -q + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -D -m0755 convmv %{buildroot}%{_bindir}/convmv + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/convmv +%doc CREDITS TODO Changes + +%changelog +* Thu Aug 25 2011 Automatic Build System 1.15-1mamba +- automatic version update by autodist + +* Sat Feb 05 2011 Silvan Calarco 1.14-1mamba +- package created by autospec