SPECS (DEVEL): krename.spec - updated to 3.9.1 (KDE4 version)
paszczus
paszczus at pld-linux.org
Wed Aug 6 15:47:25 CEST 2008
Author: paszczus Date: Wed Aug 6 13:47:25 2008 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- updated to 3.9.1 (KDE4 version)
---- Files affected:
SPECS:
krename.spec (1.56 -> 1.56.2.1)
---- Diffs:
================================================================
Index: SPECS/krename.spec
diff -u SPECS/krename.spec:1.56 SPECS/krename.spec:1.56.2.1
--- SPECS/krename.spec:1.56 Thu Mar 29 22:07:00 2007
+++ SPECS/krename.spec Wed Aug 6 15:47:20 2008
@@ -5,33 +5,34 @@
Summary: A powerful batch renamer for KDE
Summary(pl.UTF-8): Narzędzie do zmiany nazw plików dla KDE
Name: krename
-Version: 3.0.14
+Version: 3.9.1
Release: 1
License: GPL v2
Group: X11/Applications
Source0: http://dl.sourceforge.net/krename/%{name}-%{version}.tar.bz2
-# Source0-md5: 1f5fe57384d912c11fbd0fae94bb7fca
+# Source0-md5: 2891dc6311aedbea57ca330e53a2e061
Source1: http://dl.sourceforge.net/krename/%{name}-%{_pdf_ver}.pdf
# Source1-md5: 98141b57a29984af265aeecfd7ea8b93
Patch0: %{name}-desktop.patch
URL: http://www.krename.net/
BuildRequires: fam-devel
-BuildRequires: kdelibs-devel >= 9:3.0
+BuildRequires: kde4-kdelibs-devel
BuildRequires: rpmbuild(macros) >= 1.129
+BuildRequires: taglib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Krename is a very powerful batch file renamer for KDE3 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
+Krename is a very powerful batch file renamer for KDE 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.
%description -l pl.UTF-8
-Krename jest narzędziem do zmiany nazw plików dla KDE3, które umożliwia
+Krename jest narzędziem do zmiany nazw plików dla KDE, które umożliwia
zmianę nazw dla listy plików na podstawie zbioru wyrażeń. Pozwala
kopiować i/lub przenosić pliki do innego katalogu lub po prostu
zmieniać nazwy plików. Krename wspiera różne operacje konwersji,
@@ -59,38 +60,37 @@
%patch0 -p1
%build
-%configure \
+install -d build
+cd build
+%cmake \
+ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
%if "%{_lib}" == "lib64"
- --enable-libsuffix=64 \
+ -DLIB_SUFFIX=64 \
%endif
- --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
- --with-qt-libraries=%{_libdir}
+ ../
+
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_desktopdir}
-%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT \
- kde_htmldir=%{_kdedocdir}
+%{__make} -C build/ install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ kde_htmldir=%{_kdedocdir}
-mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{zh_TW.Big5,zh_TW}
-mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{zh_CN.GB2312,zh_CN}
rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
-%find_lang %{name} --with-kde
+##%find_lang %{name} --with-kde
%clean
rm -rf $RPM_BUILD_ROOT
-%files -f %{name}.lang
+%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README TODO
-%attr(755,root,root) %{_bindir}/*
-%{_desktopdir}/kde/*.desktop
-%{_datadir}/apps/krename
-%{_datadir}/apps/konqueror/servicemenus/*.desktop
-%{_iconsdir}/hicolor/*/apps/*.png
+%doc AUTHORS README TODO
+%attr(755,root,root) %{_bindir}/krename
+%{_datadir}/apps/dolphin/servicemenus/*.desktop
%files doc
%defattr(644,root,root,755)
@@ -102,6 +102,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.56.2.1 2008/08/06 13:47:20 paszczus
+- updated to 3.9.1 (KDE4 version)
+
Revision 1.56 2007/03/29 20:07:00 qboosh
- don't create redundant macros
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/krename.spec?r1=1.56&r2=1.56.2.1&f=u
More information about the pld-cvs-commit
mailing list