ALT Linux repos
Group :: Text tools
RPM: libwmf
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: libwmf
Version: 0.2.8.4
Release: alt3
Summary: A library to convert wmf files
License: GPL
Group: Text tools
Url: http://sourceforge.net/projects/wvware
Packager: Valery Inozemtsev <shrek at altlinux.ru>
Requires: fonts-type1-urw
Obsoletes: wmf-fonts < %version-%release
Source: %name-%version.tar.bz2
Patch0: %name-0.2.6-cflags.patch
Patch1: libwmf-0.2.8.4-intoverflow.patch
# Automatically added by buildreq on Thu Jan 04 2007
BuildRequires: ghostscript-common glib2-devel libICE-devel libX11-devel libexpat-devel
BuildRequires: libfreetype-devel libgtk+2-devel libjpeg-devel libpng-devel
%description
%name is a library for unix like machines that can convert wmf
files into other formats, currently it supports a gd binding
to convert to gif, and an X one to draw direct to an X window
or pixmap.
%package -n wmf-utils
Summary: Utilities to convert wmf files
Group: Text tools
Requires: %name = %version-%release
%description -n wmf-utils
This package contains various programs for manipulating files in
the WMF format.
%package -n wmf-gtk-loader
Summary: GDK-pixbuf loader for WMF files
Group: System/Libraries
%description -n wmf-gtk-loader
WMF file loader for the GTK+ image manipulation library, GDK-pixbuf.
%package devel
Summary: A library to convert wmf files - development environment
Group: Development/C
Requires: %name = %version-%release
Requires: libexpat-devel libfreetype-devel libX11-devel
Requires: libjpeg-devel libpng-devel zlib-devel
%description devel
%name is a library for unix like machines that can convert wmf
files into other formats, currently it supports a gd binding
to convert to gif, and an X one to draw direct to an X window
or pixmap.
Install %name-devel if you need to compile an application with %name
support.
%package devel-static
Summary: A static library to convert wmf files - static library
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
%name is a library for unix like machines that can convert wmf
files into other formats, currently it supports a gd binding
to convert to gif, and an X one to draw direct to an X window
or pixmap.
Install %name-devel-static if you need to build statically linked
applications with %name support.
%def_disable static
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%__rm -f configure.in
%build
%__autoreconf
%configure \
%{subst_enable static} \
--without-sys-gd \
--with-fontdir=%_datadir/fonts/type1/urw \
--with-xtrafontmap=%_datadir/%name/fontmap \
--with-docdir=%_docdir/%name-%version
%make_build
%install
%make DESTDIR=%buildroot install
%__install -pD -m644 fonts/fontmap %buildroot%_datadir/%name/fontmap
%__install -p -m644 ChangeLog CREDITS README TODO %buildroot%_docdir/%name-%version
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%_libdir/*.so.*
%_datadir/%name
%files -n wmf-utils
%_bindir/wmf2*
%files -n wmf-gtk-loader
%_libdir/gtk-*/*/loaders/*.so
%files devel
%_libdir/*.so
%_bindir/%name-config
%_includedir/%name
%_docdir/%name-%version
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Full changelog you can see here
Version: 0.2.8.4
Release: alt3
Summary: A library to convert wmf files
License: GPL
Group: Text tools
Url: http://sourceforge.net/projects/wvware
Packager: Valery Inozemtsev <shrek at altlinux.ru>
Requires: fonts-type1-urw
Obsoletes: wmf-fonts < %version-%release
Source: %name-%version.tar.bz2
Patch0: %name-0.2.6-cflags.patch
Patch1: libwmf-0.2.8.4-intoverflow.patch
# Automatically added by buildreq on Thu Jan 04 2007
BuildRequires: ghostscript-common glib2-devel libICE-devel libX11-devel libexpat-devel
BuildRequires: libfreetype-devel libgtk+2-devel libjpeg-devel libpng-devel
%description
%name is a library for unix like machines that can convert wmf
files into other formats, currently it supports a gd binding
to convert to gif, and an X one to draw direct to an X window
or pixmap.
%package -n wmf-utils
Summary: Utilities to convert wmf files
Group: Text tools
Requires: %name = %version-%release
%description -n wmf-utils
This package contains various programs for manipulating files in
the WMF format.
%package -n wmf-gtk-loader
Summary: GDK-pixbuf loader for WMF files
Group: System/Libraries
%description -n wmf-gtk-loader
WMF file loader for the GTK+ image manipulation library, GDK-pixbuf.
%package devel
Summary: A library to convert wmf files - development environment
Group: Development/C
Requires: %name = %version-%release
Requires: libexpat-devel libfreetype-devel libX11-devel
Requires: libjpeg-devel libpng-devel zlib-devel
%description devel
%name is a library for unix like machines that can convert wmf
files into other formats, currently it supports a gd binding
to convert to gif, and an X one to draw direct to an X window
or pixmap.
Install %name-devel if you need to compile an application with %name
support.
%package devel-static
Summary: A static library to convert wmf files - static library
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
%name is a library for unix like machines that can convert wmf
files into other formats, currently it supports a gd binding
to convert to gif, and an X one to draw direct to an X window
or pixmap.
Install %name-devel-static if you need to build statically linked
applications with %name support.
%def_disable static
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%__rm -f configure.in
%build
%__autoreconf
%configure \
%{subst_enable static} \
--without-sys-gd \
--with-fontdir=%_datadir/fonts/type1/urw \
--with-xtrafontmap=%_datadir/%name/fontmap \
--with-docdir=%_docdir/%name-%version
%make_build
%install
%make DESTDIR=%buildroot install
%__install -pD -m644 fonts/fontmap %buildroot%_datadir/%name/fontmap
%__install -p -m644 ChangeLog CREDITS README TODO %buildroot%_docdir/%name-%version
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%_libdir/*.so.*
%_datadir/%name
%files -n wmf-utils
%_bindir/wmf2*
%files -n wmf-gtk-loader
%_libdir/gtk-*/*/loaders/*.so
%files devel
%_libdir/*.so
%_bindir/%name-config
%_includedir/%name
%_docdir/%name-%version
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Full changelog you can see here