Summary: An X Window System tool for creating morphed images Name: xmorph Version: 20010220 Release: 8mdk Epoch: 2 License: GPL Group: Graphics PreReq: /sbin/ldconfig PreReq: /sbin/install-info Requires: menu, libmorph0 = %version-%release, common-licenses BuildRequires: XFree86-static-libs BuildRequires: autoconf BuildRequires: automake BuildRequires: bison BuildRequires: gcc BuildRequires: gcc-cpp BuildRequires: gettext BuildRequires: gdk-pixbuf-devel BuildRequires: imlib-devel BuildRequires: texinfo URL: http://sourceforge.net/projects/xmorph/ Source0: http://ftp.sourceforge.net/xmorph/xmorph_%{version}.tar.bz2 Source2: xmorph-icons.tar.bz2 # (fc) 20010220-5mdk fix compilation with GNOME1 platform Patch0: xmorph-20010220-gnome1.patch.bz2 BuildRoot: %_tmppath/%name-%version-%release-root %package -n libmorph0 Summary: Internal library required for xmorph/gtkmorph Provides: libmorph Group: Graphics %package -n libmorph0-devel Summary: Headers and static libraries required for xmorph/gtkmorph development Requires: libmorph0 = %version-%release Provides: libmorph-devel 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. Install the xmorph package if you need a program that will create morphed images. %description -n libmorph0 Internal library for xmorph and gtkmorph. %description -n libmorph0-devel Development headers and static libs for xmorph and gtkmorph. %prep %setup -q %patch0 -p1 -b .gnome1 libtoolize --force autoheader automake --gnu --add-missing aclocal autoconf %build %configure --without-morph %ifarch alpha # Donno why. -- Geoff mv po/Makefile.in po/Makefile %endif %make %install rm -rf $RPM_BUILD_ROOT %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="/usr/bin/xmorph"\ icon="xmorph.xpm" EOF #mdk icons install -d $RPM_BUILD_ROOT%{_iconsdir} tar xIvf %{SOURCE2} -C $RPM_BUILD_ROOT%{_iconsdir} %post %_install_info %{name}.info %update_menus %preun %_remove_install_info %{name}.info %postun %clean_menus %post -n libmorph0 -p /sbin/ldconfig %postun -n libmorph0 -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ABOUT-NLS AUTHORS README HISTORY NEWS %{_bindir}/* %{_mandir}/*/* %{_menudir}/* %{_infodir}/* %{_iconsdir}/*.xpm %{_iconsdir}/*/*.xpm %lang(it) %_datadir/locale/it/LC_MESSAGES/xmorph.mo %_libdir/*.la %files -n libmorph0 %defattr(-,root,root) %_libdir/*.so.* %files -n libmorph0-devel %defattr(-,root,root) %doc TODO %{_libdir}/*.a %{_libdir}/*.so %{_prefix}/include/* %changelog * Fri Feb 15 2002 David BAUDENS <baudens@mandrakesoft.com> 20010220-8mdk - BuildRequires gcc-cpp and not gcc-3.0-cpp - Requires %%version-%%release and not only %%version - Add missing files * Sat Jan 19 2002 Stefan van der Eijk <stefan@eijk.nu> 20010220-7mdk - BuildRequires * Mon Jan 7 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 20010220-6mdk - Fix conflict with menu install (Thanks to Gregoire Favre) * Fri Jan 4 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 20010220-5mdk - Patch0: fix compilation with GNOME1 platform * Tue Aug 7 2001 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 20010220-4mdk - Sanitize spec file (s/Serial/Epoch/, BuildRequires) - Renamed icons sources to something more consistent - Integrated Source1 to spec file (menu entry) * Wed Aug 01 2001 Stefan van der Eijk <stefan@eijk.nu> 20010220-3mdk - fix BuildRequires - s/Copyright/License/ * Wed Apr 25 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 20010220-2mdk - Make it build on the Alpha platform. - Bzip2 the source a.k.a. save some space on the SRPM CD. ;-) * Wed Mar 14 2001 Jeff Garzik <jgarzik@mandrakesoft.com> 20010220-1mdk - Update to latest SourceForge version, to fix glib problems. (Old one was over a year old and had tons of bugs. <nudge> redhog) - More docs. - Use more standard version number scheme. Update 'Serial' to handle this. - Clean spec completely, xmorph includes autoconf support now. - Create new sub-packages libmorph0, libmorph0-devel. - Install info documentation. * 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