Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 207f8493b23c81c4c6cf52fdd2ca9bf1 > files > 1

kim-0.9.5-9.mga3.src.rpm

%define name	kim
%define oname	kim4
%define version	0.9.5
%define release	%mkrel 9

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	Image menu for kde
License:	GPLv2+
Group:		Graphical desktop/KDE
Source0:	http://bouveyron.free.fr/kim/release/%{oname}-%{version}.tar.gz
Patch0:		kim4-0.9.5-fix-icons-compressandresize-desktop-file.patch
Patch1:		kim4-0.9.5-fix-icons-converandrotate-desktop-file.patch
Patch2:		kim4-0.9.5-fix-icons-pulication-desktop-file.patch
Patch3:		kim_pelemele.patch
URL:		http://bouveyron.free.fr/kim/
BuildRequires:	kde4-macros
Requires:	kdebase4-runtime
Requires:	imagemagick
BuildArch:	noarch


%description
This is an image Kde servicemenu which allows to:
- compress images,
- resize images,
- convert images,
- rotate images,
- rename images,
- resize and send by mail images,
- and more other actions !
This servicemenu use ImageMagick.

%prep
%setup -q -n %{oname}
%patch0 -p0
%patch1 -p0
%patch2 -p0
%patch3 -p0

%build

%install
rm -fr %{buildroot}
install -d  %{buildroot}/%{_kde_bindir}
install -d  %{buildroot}/%{_kde_services}
install -d %{buildroot}/%{_kde_appsdir}/%{name}/slideshow
install -d %{buildroot}/%{_kde_appsdir}/%{name}/gallery

install -m 644 src/kim*.desktop %{buildroot}/%{_kde_services}/
install -m 755 src/bin/kim* %{buildroot}/%{_kde_bindir}


install -m 644 src/slideshow/* %{buildroot}/%{_kde_datadir}/apps/kim/slideshow/
install -m 644 src/gallery/* %{buildroot}/%{_kde_datadir}/apps/kim/gallery

perl -pi -e "s/\r\n/\n/"  manual/work.css

%files
%doc AUTHORS ChangeLog COPYING INSTALL README manual
%{_kde_appsdir}/kim
%{_kde_services}/*
%{_kde_bindir}/*



%changelog

* Sat Jan 12 2013 umeabot <umeabot> 0.9.5-9.mga3
+ Revision: 356203
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Fri Feb 03 2012 dtux <dtux> 0.9.5-8.mga2
+ Revision: 204189
- Patching buggy script src/bin/kim_pelemele

* Thu Jan 12 2012 stormi <stormi> 0.9.5-7.mga2
+ Revision: 195402
- prefer install over cp and mkdir
- use more precise KDE macros
- fix license
- fix Source URL
- add docs and manuals to the package
- imported package kim