Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 36594fd7a1b40c9519ac10519f2d797f > files > 3

gimp-plugin-bimp-1.11-3.mga5.src.rpm

%define	_name	bimp

Name:		gimp-plugin-bimp
Version:	1.11
Release:	%mkrel 3
Url:		http://www.alessandrofrancesconi.it/projects/bimp/
Source:		http://www.alessandrofrancesconi.it/projects/bimp/%{name}.zip
Patch0:		%{_name}-0.5-makefile-gimptool.patch
Patch1:		%{_name}-0.5_bimp-gui-formatsecurity.patch
Summary:	Batch Image Manipulation Plugin
License:	GPLv2+
Group:		Graphics/Editors and Converters

BuildRequires:	gimp-devel
Requires:	gimp >= 2.6.0

Provides:	%{_name} = %{version}

%description
Use BIMP to apply a set of GIMP manipulations to groups of images.
It provides an easy to use interface and a lot of functions! 
It's written in C using the latest GTK directives.
The plugin is in beta release and it's tested to work on GIMP
starting from 2.6 version. 

%prep
%setup -q -c -n %{_name}-%{version}
#patch0 -p1 -b .gimptoolpath
#patch1 -p1 -b .bimpguifmtsec

%build
sed -i -e 's|@PREFIX@|"%{buildroot}%{_prefix}"|g' Makefile
export GIMPARGS=`gimptool-2.0 --prefix="%{buildroot}%{_prefix}" --cflags --libs | sed 's/ *$//g' | tr "\n" " "`
GIMPARGS="$GIMPARGS -lm %optflags"
sed -i -e "s|\@GIMPARGS\@|${GIMPARGS}|g" Makefile
%make

%install
mkdir -p %{buildroot}
install -D -m755 bin/%{_name} %{buildroot}%{_libdir}/gimp/2.0/plug-ins/%{_name}

%files
%{_libdir}/gimp/2.0/plug-ins/%{_name}


%changelog
* Wed Oct 15 2014 umeabot <umeabot> 1.11-3.mga5
+ Revision: 745746
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 1.11-2.mga5
+ Revision: 679580
- Mageia 5 Mass Rebuild

* Sun Aug 24 2014 tv <tv> 1.11-1.mga5
+ Revision: 667225
- new release

* Fri Oct 18 2013 umeabot <umeabot> 0.5-4.mga4
+ Revision: 521727
- Mageia 4 Mass Rebuild

* Thu Jan 24 2013 fwang <fwang> 0.5-3.mga3
+ Revision: 391829
- update rpm group

  + umeabot <umeabot>
    - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Jun 18 2012 matteo <matteo> 0.5-1.mga3
+ Revision: 261724
- drop %%find_lang
- imported package gimp-plugin-bimp