]>
Commit | Line | Data |
---|---|---|
b0308362 | 1 | Summary: Convmv - convert filenames from one encoding to another |
3db086b0 | 2 | Summary(pl.UTF-8): Convmv - konwersja nazw plików z jednego kodowania do innego |
b0308362 | 3 | Name: convmv |
024c194d | 4 | Version: 1.14 |
39755df9 | 5 | Release: 1 |
b0308362 PS |
6 | License: GPL v2 |
7 | Group: Applications/File | |
8 | Source0: http://j3e.de/linux/convmv/%{name}-%{version}.tar.gz | |
024c194d | 9 | # Source0-md5: d41238051c13b2e6c0cc2310a8f69d68 |
b0308362 PS |
10 | URL: http://j3e.de/linux/convmv/ |
11 | BuildRequires: perl-tools-pod | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
9f8182bf PS |
15 | Convmv is meant to help convert a single filename, a directory tree |
16 | and the contained files or a whole filesystem into a different | |
17 | encoding. It just converts the filenames, not the content of the | |
18 | files. A special feature of convmv is that it also takes care of | |
19 | symlinks, also converts the symlink target pointer in case the symlink | |
20 | target is being converted, too. All this comes in very handy when one | |
21 | wants to switch over from old 8-bit locales to UTF-8 locales. It is | |
22 | also possible to convert directories to UTF-8 which are already partly | |
23 | UTF-8 encoded. Convmv is able to detect if certain files are UTF-8 | |
24 | encoded and will skip them by default. To turn this smartness off use | |
25 | the "--nosmart" switch. | |
b0308362 | 26 | |
ca5ec029 JR |
27 | %description -l pl.UTF-8 |
28 | Convmv ma za zadanie pomóc przy konwersji pojedynczych nazw plików, | |
29 | drzew katalogów wraz z zawartymi w nich plikami lub całego systemu | |
30 | plików na inne kodowanie. Konwertuje tylko nazwy plików, a nie ich | |
31 | zawartość. Szczególną cechą convmv jest to, że dba także o dowiązania | |
f6f0b62f | 32 | symboliczne i konwertuje wskazania docelowe w przypadku, gdy cel |
ca5ec029 JR |
33 | dowiązania jest zmieniany. Jest to pomocne przy przechodzeniu ze |
34 | starych 8-bitowych lokalizacji do nowych w UTF-8. Można także | |
35 | przekonwertować do UTF-8 katalogi, które były już częściowo kodowane w | |
36 | UTF-8. Convmv jest w stanie wykryć, czy dane pliki są zakodowane w | |
37 | UTF-8 i domyślnie je pominąć. Aby wyłączyć to zachowanie można użyć | |
38 | przełącznika "--nosmart". | |
f6f0b62f | 39 | |
b0308362 PS |
40 | %prep |
41 | %setup -q | |
42 | ||
43 | %build | |
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT \ | |
51 | PREFIX=%{_prefix} | |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
58 | %doc CREDITS Changes TODO | |
59 | %attr(755,root,root) %{_bindir}/* | |
9f8182bf | 60 | %{_mandir}/man1/*.1* |