%define majver %(echo %version | cut -d. -f1-2) Summary: The GIMP Animation Package. Name: gimp-gap Version: 2.6.0 Release: 1mamba Group: Applications/Multimedia Distribution: openmamba Vendor: openmamba Packager: Tiziana Ferro License: GPL URL: http://www.gimp.org Source: ftp://ftp.gimp.org/pub/gimp/plug-ins/v%{majver}/gap/gimp-gap-%{version}.tar.bz2 Patch: gimp-gap-2.0.0-buildroot.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libgimp-devel BuildRequires: libglib-devel BuildRequires: libgtk-devel BuildRequires: libjpeg-devel BuildRequires: libpango-devel BuildRequires: libpng-devel BuildRequires: libxvidcore-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: gimp-devel >= 2.4.0 BuildRequires: libpixman-devel %description The GIMP-GAP (GIMP Animation Package) is a collection of Plug-Ins to extend GIMP 2.0 with capabilities to edit and create animations as sequences of single frames. %prep %setup -q #%patch -p1 -b .buildroot %build CFLAGS="-lm" \ %configure %make -j1 %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang gimp20-gap %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f gimp20-gap.lang %defattr(-, root, root) %dir %{_libdir}/gimp-gap-%{majver} %{_libdir}/gimp-gap-%{majver}/* %{_libdir}/gimp/*/plug-ins/* %{_datadir}/gimp/*/scripts/ %doc AUTHORS COPYING #ChangeLog NEWS README %changelog * Tue Jan 29 2013 Automatic Build System 2.6.0-1mamba - update to 2.6.0 * Sun Jun 22 2008 Tiziana Ferro 2.4.0-2mamba - update mantainer * Sat Jun 21 2008 Tiziana Ferro 2.4.0-1mamba - update to 2.4.0 * Tue Jun 21 2005 Alessandro Ramazzina 2.0.2-2qilnx - rebuild and moved from devel-contrib repository to devel repository * Mon Jun 20 2005 Matteo Bernasconi 2.0.2-1qilnx - first build