Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37416439
en ru br
ALT Linux repositórios
S:20060817-alt3.1
5.0: 20060817-alt2
4.1: 20060817-alt1
4.0: 20060817-alt1

Group :: Gráficos
RPM: xmorph

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: xmorph
Version: 20060817
Release: alt1
Packager: Fr. Br. George <george at 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009