]>
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 | |
14 | Convmv is meant to help convert a single filename, a directory tree and the contained files | |
15 | or a whole filesystem into a different encoding. It just converts the filenames, not the | |
16 | content of the files. A special feature of convmv is that it also takes care of symlinks, | |
17 | also converts the symlink target pointer in case the symlink target is being converted, too. | |
18 | All this comes in very handy when one wants to switch over from old 8-bit locales to UTF-8 | |
19 | locales. It is also possible to convert directories to UTF-8 which are already partly UTF-8 | |
20 | encoded. Convmv is able to detect if certain files are UTF-8 encoded and will skip them by | |
21 | default. To turn this smartness off use the "--nosmart" switch. | |
22 | ||
23 | %prep | |
24 | %setup -q | |
25 | ||
26 | %build | |
27 | %{__make} | |
28 | ||
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | ||
32 | %{__make} install \ | |
33 | DESTDIR=$RPM_BUILD_ROOT \ | |
34 | PREFIX=%{_prefix} | |
35 | ||
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | %doc CREDITS Changes TODO | |
42 | %attr(755,root,root) %{_bindir}/* | |
43 | %{_mandir}/man1/*.1.gz |