New upstream version
This commit is contained in:
parent
65aa2190ff
commit
545da0c7f1
|
@ -8,3 +8,4 @@ imlib2-1.4.3.tar.bz2
|
||||||
/imlib2-1.5.1.tar.bz2
|
/imlib2-1.5.1.tar.bz2
|
||||||
/imlib2-1.6.1.tar.bz2
|
/imlib2-1.6.1.tar.bz2
|
||||||
/imlib2-1.7.4.tar.bz2
|
/imlib2-1.7.4.tar.bz2
|
||||||
|
/imlib2-1.11.1.tar.xz
|
||||||
|
|
50
imlib2.spec
50
imlib2.spec
|
@ -1,26 +1,30 @@
|
||||||
Summary: Image loading, saving, rendering, and manipulation library
|
Summary: Image loading, saving, rendering, and manipulation library
|
||||||
Name: imlib2
|
Name: imlib2
|
||||||
Version: 1.7.4
|
Version: 1.11.1
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
License: Imlib2
|
License: Imlib2
|
||||||
URL: http://docs.enlightenment.org/api/imlib2/html/
|
URL: http://docs.enlightenment.org/api/imlib2/html/
|
||||||
Source0: http://downloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.bz2
|
Source0: http://downloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.xz
|
||||||
# Fedora specific multilib hack, upstream should switch to pkgconfig one day
|
|
||||||
Patch0: imlib2-1.4.7-multilib.patch
|
|
||||||
|
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: doxygen
|
||||||
BuildRequires: libpng-devel
|
|
||||||
BuildRequires: libtiff-devel
|
|
||||||
BuildRequires: giflib-devel
|
BuildRequires: giflib-devel
|
||||||
BuildRequires: freetype-devel >= 2.1.9-4
|
BuildRequires: freetype-devel >= 2.1.9-4
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: bzip2-devel
|
BuildRequires: bzip2-devel
|
||||||
|
BuildRequires: libid3tag-devel
|
||||||
|
BuildRequires: libheif-devel
|
||||||
|
BuildRequires: libjxl-devel
|
||||||
|
BuildRequires: libjpeg-devel
|
||||||
|
BuildRequires: libpng-devel
|
||||||
|
BuildRequires: libtiff-devel
|
||||||
|
BuildRequires: librsvg2-devel
|
||||||
|
BuildRequires: libspectre-devel
|
||||||
BuildRequires: libX11-devel
|
BuildRequires: libX11-devel
|
||||||
BuildRequires: libXext-devel
|
BuildRequires: libXext-devel
|
||||||
BuildRequires: libid3tag-devel
|
|
||||||
BuildRequires: libwebp-devel
|
BuildRequires: libwebp-devel
|
||||||
|
BuildRequires: openjpeg2-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Imlib 2 is a library that does image file loading and saving as well
|
Imlib 2 is a library that does image file loading and saving as well
|
||||||
|
@ -65,8 +69,7 @@ conditions of the GPL version 2 (or at your option) any later version.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch0 -p1 -b .multilib
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
asmopts="--disable-mmx --disable-amd64"
|
asmopts="--disable-mmx --disable-amd64"
|
||||||
|
@ -83,7 +86,11 @@ autoreconf -ifv
|
||||||
|
|
||||||
# stop -L/usr/lib[64] getting added to imlib2-config
|
# stop -L/usr/lib[64] getting added to imlib2-config
|
||||||
export x_libs=" "
|
export x_libs=" "
|
||||||
%configure --disable-static --with-pic $asmopts
|
%configure \
|
||||||
|
--disable-static \
|
||||||
|
--enable-doc-build \
|
||||||
|
--with-pic \
|
||||||
|
$asmopts
|
||||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
%{make_build}
|
%{make_build}
|
||||||
|
@ -94,7 +101,8 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
|
|
||||||
# remove demos and their dependencies
|
# remove demos and their dependencies
|
||||||
rm $RPM_BUILD_ROOT%{_bindir}/imlib2_*
|
rm $RPM_BUILD_ROOT%{_bindir}/imlib2_*
|
||||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/imlib2/data/
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/imlib2/
|
||||||
|
|
||||||
# remove static libraries
|
# remove static libraries
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f \{\} \;
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f \{\} \;
|
||||||
|
|
||||||
|
@ -107,17 +115,12 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f \{\} \;
|
||||||
%doc AUTHORS README TODO
|
%doc AUTHORS README TODO
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_libdir}/libImlib2.so.*
|
%{_libdir}/libImlib2.so.*
|
||||||
%dir %{_libdir}/imlib2/
|
%{_libdir}/imlib2/
|
||||||
%dir %{_libdir}/imlib2/filters/
|
|
||||||
%{_libdir}/imlib2/filters/*.so
|
|
||||||
%dir %{_libdir}/imlib2/loaders/
|
|
||||||
%{_libdir}/imlib2/loaders/*.so
|
|
||||||
%exclude %{_libdir}/imlib2/loaders/id3.*
|
%exclude %{_libdir}/imlib2/loaders/id3.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc doc/*.gif doc/*.html
|
%doc doc/html
|
||||||
%{_bindir}/imlib2-config
|
%{_includedir}/Imlib2*.h
|
||||||
%{_includedir}/Imlib2.h
|
|
||||||
%{_libdir}/libImlib2.so
|
%{_libdir}/libImlib2.so
|
||||||
%{_libdir}/pkgconfig/imlib2.pc
|
%{_libdir}/pkgconfig/imlib2.pc
|
||||||
|
|
||||||
|
@ -126,6 +129,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f \{\} \;
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 13 2023 Leigh Scott <leigh123linux@gmail.com> - 1.11.1-1
|
||||||
|
- New upstream version
|
||||||
|
|
||||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-4
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
||||||
SHA512 (imlib2-1.7.4.tar.bz2) = 54c213de38535f14359d9e407b9ae5911a158347525a298673ba53d122c3e506449feb34203e764e43d5aa163f3024093803cd976a23c0f0f65b843ed9685d66
|
SHA512 (imlib2-1.11.1.tar.xz) = 2d0dc569ab35822d5ac3cd07979a807462c1ad501ea15e4c757a15bbe254657c08acf6da8603ba2e9ab5b57a6b0c0ecf119eab80ffe59a55f29d325c839763ac
|
||||||
|
|
Loading…
Reference in New Issue