ALT Linux repos
Group :: System/Libraries
RPM: imlib2
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_disable mmx
%def_disable static
Name: imlib2
Version: 1.2.1
Release: alt1
Summary: Powerful image loading and rendering library
License: LGPL
Group: System/Libraries
Url: http://enlightenment.sourceforge.net/pages/imlib2.html
Packager: Yuri N. Sedunov <aris at altlinux.ru>
Source: http://prdownloads.sourceforge.net/enlightenment/%name-%version.tar.bz2
BuildPreReq: freetype-devel >= 0:1.3.1-alt3
# Automatically added by buildreq on Sat Jan 08 2005
BuildRequires: XFree86-devel XFree86-libs bzlib-devel freetype2-devel gcc-c++ gcc-g77 libjpeg-devel libpng-devel libstdc++-devel libtiff-devel libungif-devel zlib-devel
%description
Imlib2 is an advanced replacement library for libraries like libXpm
that provides many more features with much greater flexibility and
speed than standard libraries, including font rasterization, rotation,
RGBA space rendering and blending, dynamic binary filters, scripting,
and more.
%package devel
Summary: Imlib2 header files and development documentation
Group: Development/C
Requires: %name = %version-%release
%description devel
Header files and development documentation for Imlib2.
%package devel-static
Summary: Imlib static libraries
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
Imlib2 static libraries.
%package utils
Summary: Imlib2 image manipulation and testing utilities.
Group: Graphics
Requires: %name = %version-%release
%description utils
Imlib2 is an advanced replacement library for libraries like libXpm
that provides many more features with much greater flexibility and
speed than standard libraries, including font rasterization, rotation,
RGBA space rendering and blending, dynamic binary filters, scripting,
and more.
This package provides some test programs and utilities from Imlib2 distribution.
%prep
%setup -q
%build
%if_enabled mmx
%set_verify_elf_method textrel=relaxed
%endif
%configure \
%{subst_enable static} \
%ifarch x86_64
--enable-amd64 \
%endif
%{subst_enable mmx}
%make_build
%install
%make_install DESTDIR=%buildroot install
# remove non-packaged files
%__rm -rf %buildroot%_libdir/%name/*/*.la
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/*.so.*
%dir %_libdir/%name/*
%_libdir/%name/*/*.so
%files devel
%_bindir/%name-config
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%doc doc/{*gif,*.html}
%files utils
%_bindir/*
%_datadir/%name
%exclude %_bindir/%name-config
%if_enabled static
%files devel-static
%_libdir/lib*.a
%_libdir/%name/*/*.a
%endif
%changelog
…
Full changelog you can see here
%def_disable static
Name: imlib2
Version: 1.2.1
Release: alt1
Summary: Powerful image loading and rendering library
License: LGPL
Group: System/Libraries
Url: http://enlightenment.sourceforge.net/pages/imlib2.html
Packager: Yuri N. Sedunov <aris at altlinux.ru>
Source: http://prdownloads.sourceforge.net/enlightenment/%name-%version.tar.bz2
BuildPreReq: freetype-devel >= 0:1.3.1-alt3
# Automatically added by buildreq on Sat Jan 08 2005
BuildRequires: XFree86-devel XFree86-libs bzlib-devel freetype2-devel gcc-c++ gcc-g77 libjpeg-devel libpng-devel libstdc++-devel libtiff-devel libungif-devel zlib-devel
%description
Imlib2 is an advanced replacement library for libraries like libXpm
that provides many more features with much greater flexibility and
speed than standard libraries, including font rasterization, rotation,
RGBA space rendering and blending, dynamic binary filters, scripting,
and more.
%package devel
Summary: Imlib2 header files and development documentation
Group: Development/C
Requires: %name = %version-%release
%description devel
Header files and development documentation for Imlib2.
%package devel-static
Summary: Imlib static libraries
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
Imlib2 static libraries.
%package utils
Summary: Imlib2 image manipulation and testing utilities.
Group: Graphics
Requires: %name = %version-%release
%description utils
Imlib2 is an advanced replacement library for libraries like libXpm
that provides many more features with much greater flexibility and
speed than standard libraries, including font rasterization, rotation,
RGBA space rendering and blending, dynamic binary filters, scripting,
and more.
This package provides some test programs and utilities from Imlib2 distribution.
%prep
%setup -q
%build
%if_enabled mmx
%set_verify_elf_method textrel=relaxed
%endif
%configure \
%{subst_enable static} \
%ifarch x86_64
--enable-amd64 \
%endif
%{subst_enable mmx}
%make_build
%install
%make_install DESTDIR=%buildroot install
# remove non-packaged files
%__rm -rf %buildroot%_libdir/%name/*/*.la
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/*.so.*
%dir %_libdir/%name/*
%_libdir/%name/*/*.so
%files devel
%_bindir/%name-config
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%doc doc/{*gif,*.html}
%files utils
%_bindir/*
%_datadir/%name
%exclude %_bindir/%name-config
%if_enabled static
%files devel-static
%_libdir/lib*.a
%_libdir/%name/*/*.a
%endif
%changelog
…
Full changelog you can see here