diff --git a/README.md b/README.md index c6017c5..1628b41 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # krename +Krename offers an easy way to rename hundreds of files in one go, giving you as much freedom as you need. +You can use parts of the old filename, information like the current date or even an mp3 tag or the colour depth of an image. +Krename integrates into the Konqueror or Krusader filemanager. + diff --git a/krename-4.0.9-libfreetype-2.4.11.patch b/krename-4.0.9-libfreetype-2.4.11.patch new file mode 100644 index 0000000..c6c70a5 --- /dev/null +++ b/krename-4.0.9-libfreetype-2.4.11.patch @@ -0,0 +1,12 @@ +diff -ur krename-4.0.9_old/src/CMakeLists.txt krename-4.0.9/src/CMakeLists.txt +--- krename-4.0.9_old/src/CMakeLists.txt 2010-09-26 08:50:36.000000000 +0200 ++++ krename-4.0.9/src/CMakeLists.txt 2013-02-24 11:28:04.966613874 +0100 +@@ -18,7 +18,7 @@ + ENDIF(LIBPODOFO_FOUND) + + IF(FREETYPE_FOUND) +- INCLUDE_DIRECTORIES( ${FREETYPE_INCLUDE_DIR} ) ++ INCLUDE_DIRECTORIES( ${FREETYPE_INCLUDE_DIRS} ) + ENDIF(FREETYPE_FOUND) + + ADD_DEFINITIONS(${TAGLIB_CFLAGS} ${EXIV2_CFLAGS} ${LIBPODOFO_CFLAGS} ${KDE4_DEFINITIONS} ) diff --git a/krename.spec b/krename.spec new file mode 100644 index 0000000..936106e --- /dev/null +++ b/krename.spec @@ -0,0 +1,126 @@ +Name: krename +Version: 4.0.9 +Release: 3mamba +Summary: krename offers an easy way to rename hundreds of files in one go +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.krename.net/ +Source: http://downloads.sourceforge.net/sourceforge/krename/%{name}-%{version}.tar.bz2 +Patch0: krename-4.0.9-libfreetype-2.4.11.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: kdelibs-devel +BuildRequires: libart_lgpl-devel +BuildRequires: libexpat-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgcc +BuildRequires: libGL-devel +BuildRequires: libICE-devel +BuildRequires: libidn-devel +BuildRequires: libjpeg-devel +BuildRequires: liblcms-devel +BuildRequires: libmng-devel +BuildRequires: libpng-devel +#BuildRequires: libqt-devel +BuildRequires: libSM-devel +BuildRequires: libstdc++6-devel +BuildRequires: libX11-devel +BuildRequires: libXau-devel +BuildRequires: libxcb-devel +BuildRequires: libXcursor-devel +BuildRequires: libXdmcp-devel +BuildRequires: libXext-devel +BuildRequires: libXfixes-devel +BuildRequires: libXft-devel +BuildRequires: libXinerama-devel +BuildRequires: libXmu-devel +BuildRequires: libXrandr-devel +BuildRequires: libXrender-devel +BuildRequires: libXt-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Krename offers an easy way to rename hundreds of files in one go, giving you as much freedom as you need. +You can use parts of the old filename, information like the current date or even an mp3 tag or the colour depth of an image. +Krename integrates into the Konqueror or Krusader filemanager. + +%prep +%setup -q +%patch0 -p1 + +%build +%cmake_kde4 -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%{find_lang} %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%files -f %{name}.lang +%defattr(-,root,root) +%{_kde4_bindir}/krename +%{_kde4_xdgappsdir}/krename.desktop +%{_kde4_servicesdir}/ServiceMenus/krename_dir_rec.desktop +%{_kde4_servicesdir}/ServiceMenus/krename_all_nonrec.desktop +#%{_kde4_servicesdir}/ServiceMenus/krenameservicemenu.desktop +%{_kde4_icondir}/locolor/*/apps/krename.png +%{_kde4_icondir}/hicolor/*/apps/krename.png +%doc AUTHORS COPYING README TODO + +%changelog +* Sat Nov 10 2012 Silvan Calarco 4.0.9-3mamba +- rebuilt with libkexiv2 4.9.3 + +* Thu Jan 26 2012 Silvan Calarco 4.0.9-2mamba +- rebuilt with libexiv2.so.11 + +* Sat Jan 07 2012 Automatic Build System 4.0.9-1mamba +- automatic version update by autodist + +* Mon Feb 28 2011 Automatic Build System 4.0.7-1mamba +- automatic update by autodist + +* Tue Feb 08 2011 Automatic Build System 4.0.6-1mamba +- automatic update by autodist + +* Mon Oct 18 2010 Automatic Build System 4.0.5-1mamba +- automatic update by autodist + +* Sun Jun 27 2010 Automatic Build System 4.0.4-1mamba +- automatic update by autodist + +* Fri Jan 01 2010 Automatic Build System 4.0.3-1mamba +- automatic update by autodist + +* Wed Dec 09 2009 Automatic Build System 4.0.2-1mamba +- automatic update by autodist + +* Tue Oct 13 2009 Automatic Build System 4.0.1-1mamba +- automatic update by autodist + +* Fri Jul 10 2009 Automatic Build System 3.9.3-1mamba +- automatic update by autodist + +* Tue Mar 03 2009 Silvan Calarco 3.9.2-1mamba +- automatic update by autodist + +* Mon May 05 2008 Aleph0 3.0.14-1mamba +- update to 3.0.14 + +* Tue Jun 13 2006 Davide Madrisan 3.0.11-1qilnx +- update to version 3.0.11 by autospec +- fixed package group + +* Sun Nov 28 2004 Silvan Calarco 3.0.2-1qilnx +- package created by autospec