Репозитории ALT
S: | 0.2.8.4-alt13 |
5.1: | 0.2.8.4-alt7 |
4.1: | 0.2.8.4-alt3 |
4.0: | 0.2.8.4-alt3 |
3.0: | 0.2.8.3-alt2 |
Группа :: Работа с текстами
Пакет: libwmf
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: libwmf
Version: 0.2.8.3
Release: alt2
%def_disable static
Summary: A library to convert wmf files
License: GPL
Group: Text tools
Url: http://sourceforge.net/projects/wvware
%define gtk_version 2.1.2
Requires: libgtk+2 >= %gtk_version
Source: http://download.sourceforge.net/wvware/%name-%version.tar.bz2
Patch0: %name-0.2.6-cflags.patch
Prefix: %prefix
# Manually removed: gcc-c++ libstdc++-devel
# Automatically added by buildreq on Fri Dec 03 2004
BuildRequires: freetype2-devel ghostscript-common glib2-devel libatk-devel libexpat-devel libgtk+2-devel libjpeg-devel libpango-devel libpng-devel pkgconfig xorg-x11-devel zlib-devel
BuildRequires: libgtk+2-devel >= %gtk_version
%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-fonts
Summary: A library to convert wmf files - fonts data
Group: Text tools
%description -n wmf-fonts
This package contains the fonts needed to run programs dynamically
linked with %name.
%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
%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.
%if_enabled static
%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.
%endif # enabled static
%prep
%setup -q
%patch0 -p1 -b .cflags
%__rm -f configure.in
%build
autoreconf -isfv
%configure %{subst_enable static} \
--without-sys-gd
%make_build
%install
%makeinstall \
fontdir=$RPM_BUILD_ROOT%_datadir/%name/fonts \
wmfdocdir=$RPM_BUILD_ROOT%_docdir/%name-%version \
wmfonedocdir=$RPM_BUILD_ROOT%_docdir/%name-%version/caolan
%__install -p -m644 ChangeLog CREDITS README TODO $RPM_BUILD_ROOT%_docdir/%name-%version
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/libwmflite-*so.*
%_libdir/libwmf-*so.*
%files -n wmf-utils
%_bindir/wmf2*
%files -n wmf-fonts
%_bindir/%name-fontmap
%_datadir/%name/fonts
%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 # enabled static
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.2.8.3
Release: alt2
%def_disable static
Summary: A library to convert wmf files
License: GPL
Group: Text tools
Url: http://sourceforge.net/projects/wvware
%define gtk_version 2.1.2
Requires: libgtk+2 >= %gtk_version
Source: http://download.sourceforge.net/wvware/%name-%version.tar.bz2
Patch0: %name-0.2.6-cflags.patch
Prefix: %prefix
# Manually removed: gcc-c++ libstdc++-devel
# Automatically added by buildreq on Fri Dec 03 2004
BuildRequires: freetype2-devel ghostscript-common glib2-devel libatk-devel libexpat-devel libgtk+2-devel libjpeg-devel libpango-devel libpng-devel pkgconfig xorg-x11-devel zlib-devel
BuildRequires: libgtk+2-devel >= %gtk_version
%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-fonts
Summary: A library to convert wmf files - fonts data
Group: Text tools
%description -n wmf-fonts
This package contains the fonts needed to run programs dynamically
linked with %name.
%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
%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.
%if_enabled static
%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.
%endif # enabled static
%prep
%setup -q
%patch0 -p1 -b .cflags
%__rm -f configure.in
%build
autoreconf -isfv
%configure %{subst_enable static} \
--without-sys-gd
%make_build
%install
%makeinstall \
fontdir=$RPM_BUILD_ROOT%_datadir/%name/fonts \
wmfdocdir=$RPM_BUILD_ROOT%_docdir/%name-%version \
wmfonedocdir=$RPM_BUILD_ROOT%_docdir/%name-%version/caolan
%__install -p -m644 ChangeLog CREDITS README TODO $RPM_BUILD_ROOT%_docdir/%name-%version
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/libwmflite-*so.*
%_libdir/libwmf-*so.*
%files -n wmf-utils
%_bindir/wmf2*
%files -n wmf-fonts
%_bindir/%name-fontmap
%_datadir/%name/fonts
%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 # enabled static
%changelog
…
Полный changelog можно просмотреть здесь