Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:PunisherHD:Trinity
imlib1
imlib1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File imlib1.spec of Package imlib1
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} %define libimlib %{_lib}Imlib %else %define libimlib libImlib %endif Name: imlib1 Version: 1.9.15 Release: 1%{?dist} Summary: An image loading and rendering library Group: System/Libraries URL: http://www.enlightenment.org/Libraries/Imlib/ %if 0%{?suse_version} License: LGPL-2.0+ %else License: LGPLv2+ %endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Source0: ftp://ftp.gnome.org/pub/GNOME/stable/sources/imlib/1.9/imlib-1.9.15.tar.bz2 Source1: imlib-pofiles.tar.bz2 Patch0: imlib-1.9-m4.patch.bz2 Patch1: imlib-1.9.11-i18n.patch.bz2 Patch2: imlib-1.9.10-path.patch.bz2 Patch3: imlib-1.9.15-no-locincpth.patch Patch5: imlib-1.9.13-secfixes.patch.bz2 Patch6: imlib-1.9.14-fix-underquoted-calls.patch.bz2 Patch7: imlib-1.9.15-max-24bpp.diff Patch8: imlib-1.9.15-fix_libpng15.patch Patch9: imlib1-disable_gtk.patch Patch10: imlib1-1.9.15-fix_giflib.patch Patch11: imlib1-1.9.15-fix_giflib5_support.patch Patch12: imlib1-1.9.15-fix_giflib51_support.patch # Comment to Source1 : # I don't understand why official imlib dropped i18n support ?! all # hooks are there though, only the po/ directory has been deleted BuildRequires: autoconf automake libtool m4 BuildRequires: gcc-c++ BuildRequires: pkgconfig # JPEG support BuildRequires: libjpeg-devel # GIF support %if 0%{?suse_version} BuildRequires: giflib-devel %else BuildRequires: libungif-devel %endif # XEXT support %if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} >= 4 BuildRequires: libxext-devel %else BuildRequires: %{_lib}xext%{?mgaversion:6}-devel %endif %endif %if 0%{?rhel} == 4 BuildRequires: xorg-x11-devel %endif %if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 BuildRequires: libXext-devel %endif BuildRequires: gettext #BuildRequires: gtk+-devel >= 1.2.1 BuildRequires: libpng-devel BuildRequires: libtiff-devel BuildRequires: autoconf BuildRequires: chrpath %description Imlib is a display depth independent image loading and rendering library. Imlib is designed to simplify and speed up the process of loading images and obtaining X Window System drawables. Imlib provides many simple manipulation routines which can be used for common operations. Install imlib if you need an image loading and rendering library. ########## %package -n %{libimlib}1 Summary: An image loading and rendering library Group: System/Libraries Provides: imlib = %{version}-%{release} Provides: Imlib = %{version}-%{release} %description -n %{libimlib}1 Imlib is a display depth independent image loading and rendering library. Imlib is designed to simplify and speed up the process of loading images and obtaining X Window System drawables. Imlib provides many simple manipulation routines which can be used for common operations. Install imlib if you need an image loading and rendering library. %post -n %{libimlib}1 /sbin/ldconfig || : %postun -n %{libimlib}1 /sbin/ldconfig || : %files -n %{libimlib}1 %defattr(-,root,root) %doc README AUTHORS ChangeLog %config(noreplace) %{_sysconfdir}/* %attr(755,root,root) %{_libdir}/libImlib.so.* ########## %package -n %{libimlib}-devel Summary: Includes and other files to develop %{name} applications Group: Development/GNOME and GTK+ Requires: %{libimlib}1 = %{version}-%{release} Requires: libjpeg-devel libpng-devel libtiff-devel Provides: imlib-devel = %{version} Provides: imlib1-devel = %{version} %description -n %{libimlib}-devel The header files, static libraries and documentation needed for developing Imlib applications. Imlib is an image loading and rendering library. Install the imlib-devel package if you want to develop Imlib applications. You'll also need to install the imlib and imlib_cfgeditor packages. %post -n %{libimlib}-devel /sbin/ldconfig || : %postun -n %{libimlib}-devel /sbin/ldconfig || : %files -n %{libimlib}-devel %defattr(-, root, root) %doc doc/*.gif doc/*.html README AUTHORS ChangeLog %{_bindir}/imlib-config %{_mandir}/man1/imlib-config* %{_libdir}/libImlib*a %{_includedir}/Imlib* %{_datadir}/aclocal/* %{_libdir}/libImlib.so %{_libdir}/pkgconfig/imlib.pc ########## %if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 %debug_package %endif ########## %prep %setup -q -n imlib-%{version} %patch0 -p0 -b .m4ver %patch1 -p1 -b .i18n %patch2 -p1 -b .path %patch3 -p1 -b .no-locincpth %patch5 -p1 -b .can-2004-1025_1026 %patch6 -p1 -b .underquoted %patch7 -p0 %patch8 -p1 -b .png15 %patch9 -p1 -b .gtk %patch10 -p1 -b .giflib %patch11 -p1 -b .giflib5 %patch12 -p1 -b .giflib51 autoreconf -fiv %build %define _disable_ld_no_undefined 1 %configure %__make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT %__make install DESTDIR=%{?buildroot} # some hand dealing for locale tar jxvf %{SOURCE1} for i in po/*.po ; do mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale/`basename $i .po`/LC_MESSAGES msgfmt -v -o $RPM_BUILD_ROOT%{_datadir}/locale/`basename $i .po`/LC_MESSAGES/imlib.mo $i done # (sb) rpmlint #chrpath -d $RPM_BUILD_ROOT#{_bindir}/imlib_config chrpath -d $RPM_BUILD_ROOT%{_libdir}/*.so* # Lang #{find_lang} #{name} %__rm -rf $RPM_BUILD_ROOT%{_datadir}/locale # GDK stuff %__rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/imlibgdk.pc %clean %__rm -rf $RPM_BUILD_ROOT %changelog * Mon Feb 04 2013 Francois Andriot <francois.andriot@free.fr> - 1.9.15-10 - Initial release for MGA2, OSS123, without GTK+
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor