krename/krename.spec

135 lines
4.3 KiB
RPMSpec

Name: krename
Version: 4.0.9
Release: 4mamba
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 <silvan.calarco@mambasoft.it>
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
Patch1: krename-4.0.9-cmake.patch
Patch2: krename-4.0.9-libpodofo-0.9.3.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
BuildRequires: libtag-devel >= 1.9
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
%patch1 -p1
%patch2 -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 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.9-4mamba
- rebuilt with libtag 1.9.1
* Sat Nov 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.9-3mamba
- rebuilt with libkexiv2 4.9.3
* Thu Jan 26 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.9-2mamba
- rebuilt with libexiv2.so.11
* Sat Jan 07 2012 Automatic Build System <autodist@mambasoft.it> 4.0.9-1mamba
- automatic version update by autodist
* Mon Feb 28 2011 Automatic Build System <autodist@mambasoft.it> 4.0.7-1mamba
- automatic update by autodist
* Tue Feb 08 2011 Automatic Build System <autodist@mambasoft.it> 4.0.6-1mamba
- automatic update by autodist
* Mon Oct 18 2010 Automatic Build System <autodist@mambasoft.it> 4.0.5-1mamba
- automatic update by autodist
* Sun Jun 27 2010 Automatic Build System <autodist@mambasoft.it> 4.0.4-1mamba
- automatic update by autodist
* Fri Jan 01 2010 Automatic Build System <autodist@mambasoft.it> 4.0.3-1mamba
- automatic update by autodist
* Wed Dec 09 2009 Automatic Build System <autodist@mambasoft.it> 4.0.2-1mamba
- automatic update by autodist
* Tue Oct 13 2009 Automatic Build System <autodist@mambasoft.it> 4.0.1-1mamba
- automatic update by autodist
* Fri Jul 10 2009 Automatic Build System <autodist@mambasoft.it> 3.9.3-1mamba
- automatic update by autodist
* Tue Mar 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.9.2-1mamba
- automatic update by autodist
* Mon May 05 2008 Aleph0 <aleph0@openmamba.org> 3.0.14-1mamba
- update to 3.0.14
* Tue Jun 13 2006 Davide Madrisan <davide.madrisan@qilinux.it> 3.0.11-1qilnx
- update to version 3.0.11 by autospec
- fixed package group
* Sun Nov 28 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2-1qilnx
- package created by autospec