Name: xmorph Version: 20060817 Release: alt1 Packager: Fr. Br. George <george@altlinux.ru> Summary: An X Window System tool for creating morphed images License: GPL Group: Graphics Requires: libmorph = %version-%release BuildRequires: gcc-c++ BuildRequires: libgtk+2-devel, xorg-x11-bitmaps #BuildRequires: libgimp2-devel Url: http://sourceforge.net/projects/xmorph/ Source0: xmorph_%version.tar.bz2 Source1: xmorph-icons.tar.bz2 Patch1: xmorph-dirinfo.patch Patch2: xmorph-gcc_warnings.patch %def_disable static %package -n libmorph Summary: Internal library required for xmorph/gtkmorph Group: Graphics %package -n libmorph-devel Summary: Headers required for xmorph/gtkmorph development Requires: libmorph = %version-%release Group: Graphics %package -n libmorph-devel-static Summary: Static libraries required for xmorph/gtkmorph development Requires: libmorph-devel = %version-%release Group: Graphics %description Xmorph is a digital image warping (aka morphing) program. Xmorph provides the tools needed and comprehensible instructions for you to create morphs: changing one image into another. Xmorph runs under the X Window System. %description -n libmorph Internal library for xmorph and gtkmorph. %description -n libmorph-devel Development headers for xmorph and gtkmorph. %description -n libmorph-devel-static Development static libs for xmorph and gtkmorph. %prep %setup -q -n %name-%version %patch1 %patch2 %build %configure %{subst_enable static} %make_build %install %makeinstall #mdk menu install -m 755 -d $RPM_BUILD_ROOT/%_menudir cat << EOF > $RPM_BUILD_ROOT/%_menudir/xmorph ?package(xmorph):\ needs="X11"\ section="Multimedia/Graphics"\ title="Xmorph"\ longtitle="Morphing software"\ command="%_bindir/xmorph"\ icon="xmorph.xpm" EOF #mdk icons install -d $RPM_BUILD_ROOT%_iconsdir tar xjvf %SOURCE1 -C $RPM_BUILD_ROOT%_iconsdir %find_lang %name %post %install_info %name.info %update_menus %preun %uninstall_info %name.info %postun %clean_menus %post -n libmorph -p %post_ldconfig %postun -n libmorph -p %postun_ldconfig %files -f %name.lang %doc AUTHORS README HISTORY NEWS %_datadir/%name %_bindir/* %_mandir/*/* %_menudir/* %_infodir/* %_iconsdir/*.xpm %_iconsdir/*/*.xpm %files -n libmorph %_libdir/*.so.* %files -n libmorph-devel %_libdir/*.so %_includedir/* %if_enabled static %files -n libmorph-devel-static %_libdir/*.a %endif #static %changelog * Thu Dec 14 2006 Fr. Br. George <george@altlinux.ru> 20060817-alt1 - New version - Sync with SUSE patches * Mon Dec 19 2005 Fr. Br. George <george@altlinux.ru> 20040717-alt1 - new version * Fri Aug 10 2001 AEN <aen@logic.ru> 20010220-alt1 - new version - sync with MDK - static package * Wed Jan 17 2001 AEN <aen@logic.ru> - RE adaptation * Mon Dec 11 2000 Egil Moeller <redhog@mandrakesoft.com> 2000.03.03-7mdk - Defined GIMP_ENABLE_COMPAT_CRUFT as a cludge not to have to have to upport all of this sh*t code to the new gimplib (Without it, it does not compile anymore) (It will break again anyway, with gimplib 1.2, but I hope, I hope, that the xmorph author fixes this until then)... * Mon Oct 02 2000 Daouda Lo <daouda@mandrakesoft.com> 2000.03.03-6mdk - icons should be transparents! - macrozifications * Tue Aug 08 2000 Frederic Lepied <flepied@mandrakesoft.com> 2000.03.03-5mdk - automatically added BuildRequires * Wed May 03 2000 dam's <damien@mandrakesoft.com> 2000.03.03-4mdk - Corrected icones. * Tue Apr 18 2000 dam's <damien@mandrakesoft.com> 2000.03.03-3mdk - Convert gif icon to xpm. * Mon Apr 17 2000 dam's <damien@mandrakesoft.com> 2000.03.03-2mdk - Added menu entry. * Tue Mar 28 2000 dam's <damien@mandrakesoft.com> 2000.03.03-1mdk - Update to 2000mar03 * Fri Nov 12 1999 dam's <damien@mandrakesoft.com> - Mandrake release * Thu May 06 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.com> - Mandrake adaptions * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 7) * Thu Dec 17 1998 Michael Maher <mike@redhat.com> - built package for 6.0 * Thu Aug 13 1998 Jeff Johnson <jbj@redhat.com> - build root * Fri May 08 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr * Mon Jul 21 1997 Erik Troan <ewt@redhat.com> - built against glibc