Группа :: Работа с файлами
Пакет: kde4-krename
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define origname krename
Name: kde4-%origname
Version: 4.0.9
Release: alt4
Summary: A powerfull batch renamer for KDE4
Group: File tools
License: GPL
Url: http://www.krename.net
Packager: Aeliya Grevnyov <gray_graff at altlinux.org>
Source: %origname.tar.bz2
Patch1: %origname-4.0.9-alt-build.patch
Patch2: %origname-4.0.9-alt-fix-build.patch
BuildRequires(pre): kde-common-devel
BuildRequires: gcc-c++ kde4libs-devel libtag-devel libexiv2-devel
BuildRequires: libpodofo-devel
%description
Krename is a very powerful batch file renamer for KDE4 which can rename a list
of files based on a set of expressions. It can copy/move the files to another
directory or simply rename the input files. Krename supports many conversion
operations, including conversion of a filename to lowercase or to uppercase,
conversion of the first letter of every word to uppercase, adding numbers to
filenames, finding and replacing parts of the filename, and many more.
It can also change access and modification dates, permissions, and file ownership.
%prep
%setup -q -n %origname
%patch1 -p1
%patch2 -p2
%build
%K4build
%install
%K4install
#%%add_findpackage_path %_kde4_bindir
#mkdir %buildroot/%_K4i18n
#%%__mv %buildroot/usr/share/locale/* %buildroot/%_K4i18n/
%K4find_lang %origname --with-kde
%files -f %origname.lang
%_K4bindir/%origname
%_K4xdg_apps/*.desktop
%_K4iconsdir/*/*/apps/*.png
%_K4srv/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: kde4-%origname
Version: 4.0.9
Release: alt4
Summary: A powerfull batch renamer for KDE4
Group: File tools
License: GPL
Url: http://www.krename.net
Packager: Aeliya Grevnyov <gray_graff at altlinux.org>
Source: %origname.tar.bz2
Patch1: %origname-4.0.9-alt-build.patch
Patch2: %origname-4.0.9-alt-fix-build.patch
BuildRequires(pre): kde-common-devel
BuildRequires: gcc-c++ kde4libs-devel libtag-devel libexiv2-devel
BuildRequires: libpodofo-devel
%description
Krename is a very powerful batch file renamer for KDE4 which can rename a list
of files based on a set of expressions. It can copy/move the files to another
directory or simply rename the input files. Krename supports many conversion
operations, including conversion of a filename to lowercase or to uppercase,
conversion of the first letter of every word to uppercase, adding numbers to
filenames, finding and replacing parts of the filename, and many more.
It can also change access and modification dates, permissions, and file ownership.
%prep
%setup -q -n %origname
%patch1 -p1
%patch2 -p2
%build
%K4build
%install
%K4install
#%%add_findpackage_path %_kde4_bindir
#mkdir %buildroot/%_K4i18n
#%%__mv %buildroot/usr/share/locale/* %buildroot/%_K4i18n/
%K4find_lang %origname --with-kde
%files -f %origname.lang
%_K4bindir/%origname
%_K4xdg_apps/*.desktop
%_K4iconsdir/*/*/apps/*.png
%_K4srv/*
%changelog
…
Полный changelog можно просмотреть здесь