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