Author: lisu Date: Wed Apr 21 13:32:46 2010 GMT Module: packages Tag: HEAD ---- Log message: - start update to 1.7.8 - link with -lpng instead of -lpng12 - force build ILU and ILUT - nfy (see TODO)
---- Files affected: packages/DevIL: DevIL.spec (1.26 -> 1.27) ---- Diffs: ================================================================ Index: packages/DevIL/DevIL.spec diff -u packages/DevIL/DevIL.spec:1.26 packages/DevIL/DevIL.spec:1.27 --- packages/DevIL/DevIL.spec:1.26 Wed Mar 17 09:27:33 2010 +++ packages/DevIL/DevIL.spec Wed Apr 21 15:32:41 2010 @@ -1,18 +1,20 @@ # $Revision$, $Date$ +# +# TODO: - check and fix patches if possible +# +%define manual_version 1.5.5 Summary: Full featured image library Summary(pl.UTF-8): Biblioteka obsługi obrazów z mnóstwem funkcji Name: DevIL -Version: 1.7.2 -%define manual_version 1.5.5 -%define docs_version 1.6.5 -Release: 5 +Version: 1.7.8 +Release: 0.1 License: LGPL v2.1 Group: Libraries -Source0: http://dl.sourceforge.net/openil/%{name}-%{version}.tar.gz -# Source0-md5: 67d669df245c846ec9f54dfc086a00b6 -Source1: http://dl.sourceforge.net/openil/%{name}-Manual-%{manual_version}.zip +Source0: http://downloads.sourceforge.net/openil/%{name}-%{version}.tar.gz +# Source0-md5: 7918f215524589435e5ec2e8736d5e1d +Source1: http://downloads.sourceforge.net/openil/%{name}-Manual-%{manual_version}.zip # Source1-md5: 6bb2ddfcbe09930c48ef84b8f99479fe -Source2: http://dl.sourceforge.net/openil/%{name}-docs.tar.gz +Source2: http://downloads.sourceforge.net/openil/%{name}-docs.tar.gz # Source2-md5: eec6ae7a028a3f058bab1a6918428ed5 Patch0: %{name}-c++.patch Patch1: %{name}-link.patch @@ -105,32 +107,38 @@ %prep %setup -q -c -a1 -a2 -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%undos src-IL/src/il_png.c -%undos src-IL/src/il_icon.c +#%%patch0 -p1 +#%%patch1 -p1 +#%%patch2 -p1 +#%%undos devil-%{version}/src-IL/src/il_png.c +#%%undos devil-%{version}/src-IL/src/il_icon.c %patch3 -p1 +# lpng12 -> lpng +%{__sed} -i 's,png12,png,' devil-%{version}/m4/devil-definitions.m4 + # just SDL and messing libtool macros rm -f acinclude.m4 %build +cd devil-%{version} %{__libtoolize} -%{__aclocal} +%{__aclocal} -I m4 %{__autoconf} %{__autoheader} %{__automake} # actual exr support missing in sources, only adds undefined symbol CPPFLAGS="%{rpmcppflags} -DIL_NO_EXR" %configure \ + --enable-ILU=yes \ + --enable-ILUT=yes \ %{?debug:--disable-release} %{__make} %install rm -rf $RPM_BUILD_ROOT -%{__make} install \ +%{__make} -C devil-%{version} install \ DESTDIR=$RPM_BUILD_ROOT %clean @@ -141,7 +149,7 @@ %files %defattr(644,root,root,755) -%doc AUTHORS CREDITS ChangeLog README.unix +%doc devil-%{version}/{AUTHORS,CREDITS,ChangeLog,README.unix} %attr(755,root,root) %{_libdir}/libIL.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libIL.so.1 %attr(755,root,root) %{_libdir}/libILU.so.*.*.* @@ -169,6 +177,12 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.27 2010/04/21 13:32:41 lisu +- start update to 1.7.8 +- link with -lpng instead of -lpng12 +- force build ILU and ILUT +- nfy (see TODO) + Revision 1.26 2010/03/17 08:27:33 lisu - rel 5 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/DevIL/DevIL.spec?r1=1.26&r2=1.27&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
