]>
Commit | Line | Data |
---|---|---|
b0308362 PS |
1 | Summary: Convmv - convert filenames from one encoding to another |
2 | Name: convmv | |
3 | Version: 1.08 | |
4 | Release: 1 | |
5 | License: GPL v2 | |
6 | Group: Applications/File | |
7 | Source0: http://j3e.de/linux/convmv/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 40707f82b1a9631fe715f68f94431d3a | |
9 | URL: http://j3e.de/linux/convmv/ | |
10 | BuildRequires: perl-tools-pod | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
9f8182bf PS |
14 | Convmv is meant to help convert a single filename, a directory tree |
15 | and the contained files or a whole filesystem into a different | |
16 | encoding. It just converts the filenames, not the content of the | |
17 | files. A special feature of convmv is that it also takes care of | |
18 | symlinks, also converts the symlink target pointer in case the symlink | |
19 | target is being converted, too. All this comes in very handy when one | |
20 | wants to switch over from old 8-bit locales to UTF-8 locales. It is | |
21 | also possible to convert directories to UTF-8 which are already partly | |
22 | UTF-8 encoded. Convmv is able to detect if certain files are UTF-8 | |
23 | encoded and will skip them by default. To turn this smartness off use | |
24 | the "--nosmart" switch. | |
b0308362 PS |
25 | |
26 | %prep | |
27 | %setup -q | |
28 | ||
29 | %build | |
30 | %{__make} | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | %{__make} install \ | |
36 | DESTDIR=$RPM_BUILD_ROOT \ | |
37 | PREFIX=%{_prefix} | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc CREDITS Changes TODO | |
45 | %attr(755,root,root) %{_bindir}/* | |
9f8182bf | 46 | %{_mandir}/man1/*.1* |