packages: krename/krename.spec - updated to FINAL 4.0.0 (merged from DEVEL)

paszczus paszczus at pld-linux.org
Wed Sep 23 08:13:50 CEST 2009


Author: paszczus                     Date: Wed Sep 23 06:13:49 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to FINAL 4.0.0 (merged from DEVEL)

---- Files affected:
packages/krename:
   krename.spec (1.56 -> 1.57) 

---- Diffs:

================================================================
Index: packages/krename/krename.spec
diff -u packages/krename/krename.spec:1.56 packages/krename/krename.spec:1.57
--- packages/krename/krename.spec:1.56	Thu Mar 29 22:07:00 2007
+++ packages/krename/krename.spec	Wed Sep 23 08:13:44 2009
@@ -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:	4.0.0
 Release:	1
 License:	GPL v2
 Group:		X11/Applications
 Source0:	http://dl.sourceforge.net/krename/%{name}-%{version}.tar.bz2
-# Source0-md5:	1f5fe57384d912c11fbd0fae94bb7fca
+# Source0-md5:	f90424d6224f4855740c9e37514f0ccc
 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,23 +60,25 @@
 %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
@@ -85,12 +88,12 @@
 
 %files -f %{name}.lang
 %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
+%{_desktopdir}/kde4/krename.desktop
+%{_iconsdir}/hicolor/*x*/apps/krename.png
+%{_datadir}/kde4/services/ServiceMenus/krename_all_nonrec.desktop
+%{_datadir}/kde4/services/ServiceMenus/krename_dir_rec.desktop
 
 %files doc
 %defattr(644,root,root,755)
@@ -102,6 +105,15 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.57  2009/09/23 06:13:44  paszczus
+- updated to FINAL 4.0.0 (merged from DEVEL)
+
+Revision 1.56.2.2  2009/09/23 06:12:42  paszczus
+- updated  to FINAL 4.0.0
+
+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/packages/krename/krename.spec?r1=1.56&r2=1.57&f=u



More information about the pld-cvs-commit mailing list