1 |
Summary: Set of programs designed to make renaming of multiple files faster |
2 |
Name: renameutils |
3 |
Version: 0.12.0 |
4 |
Release: %mkrel 9 |
5 |
Group: File tools |
6 |
License: GPLv2+ |
7 |
URL: http://www.nongnu.org/renameutils/ |
8 |
Source0: http://savannah.nongnu.org/download/renameutils/%{name}-%{version}.tar.gz |
9 |
BuildRequires: readline-devel |
10 |
BuildRequires: termcap-devel |
11 |
Patch0: renameutils-0.12.0-mdv-mga-fix-makefile-typo.patch |
12 |
|
13 |
%description |
14 |
The file renaming utilities (renameutils for short) are a set of programs |
15 |
designed to make renaming of multiple files faster and less cumbersome. |
16 |
It currently consists of two programs: "qmv" and "imv". qmv allows files |
17 |
to be renamed by editing their names in any text editor. Since the files |
18 |
are listed after each other, this allows common changes to be made more |
19 |
quickly. imv ("interactive mv") is trivial but useful when you are too |
20 |
lazy to type (or even complete) the name of the file to rename. It |
21 |
allows the filename to be edited in the terminal using the GNU readline |
22 |
library. This is also useful when renaming files in Midnight Commander, |
23 |
where the whole filename has to be entered again. |
24 |
|
25 |
%prep |
26 |
%setup -q |
27 |
%autopatch -p1 |
28 |
|
29 |
%build |
30 |
# fix build on aarch64 |
31 |
autoreconf -vfi |
32 |
|
33 |
%configure \ |
34 |
--disable-rpath |
35 |
%make_build |
36 |
|
37 |
%install |
38 |
%make_install |
39 |
|
40 |
%find_lang %{name} --all-name |
41 |
|
42 |
%files -f %{name}.lang |
43 |
%doc README AUTHORS ChangeLog NEWS TODO |
44 |
%{_bindir}/* |
45 |
%{_mandir}/man1/* |
46 |
|
47 |
|