Hello community, here is the log from the commit of package ecore for openSUSE:Factory checked in at 2012-12-28 14:58:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ecore (Old) and /work/SRC/openSUSE:Factory/.ecore.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ecore", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/ecore/ecore.changes 2012-12-10 13:46:16.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ecore.new/ecore.changes 2012-12-28 14:58:21.000000000 +0100 @@ -1,0 +2,15 @@ +Thu Dec 20 08:50:19 UTC 2012 - [email protected] + +- build and package documentation + +------------------------------------------------------------------- +Thu Dec 20 08:40:21 UTC 2012 - [email protected] + +- enable build of ecore_SDL and software_SDL and OpenGL_SDL support + +------------------------------------------------------------------- +Thu Dec 20 08:25:15 UTC 2012 - [email protected] + +- move localisation and modules into separate package + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ecore.spec ++++++ --- /var/tmp/diff_new_pack.sBMgEu/_old 2012-12-28 14:58:24.000000000 +0100 +++ /var/tmp/diff_new_pack.sBMgEu/_new 2012-12-28 14:58:24.000000000 +0100 @@ -25,6 +25,7 @@ Url: http://enlightenment.org/ Source: %{name}-%{version}.tar.bz2 BuildRequires: SDL-devel +BuildRequires: doxygen BuildRequires: eet-devel >= %version BuildRequires: eina-devel >= %version BuildRequires: evas-devel >= %version @@ -41,6 +42,9 @@ BuildRequires: xorg-x11-libXdmcp-devel BuildRequires: xorg-x11-libXext-devel BuildRequires: xorg-x11-libxcb-devel +%if 0%{?suse_version} +BuildRequires: fdupes +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -49,6 +53,7 @@ %package -n libecore1 Summary: ECore Dynamic Libraries Group: System/Libraries +Requires: %name %description -n libecore1 Headers, static libraries, test programs and documentation for ecore @@ -56,6 +61,7 @@ %package devel Summary: Ecore headers, static libraries, documentation and test programs Group: Development/Libraries/C and C++ +Requires: %name = %version Requires: eet-devel >= %version Requires: eina-devel >= %version Requires: evas-devel >= %version @@ -70,15 +76,44 @@ %description devel Headers, static libraries, test programs and documentation for ecore +%package doc-html +Summary: HTML documentation of Ecore +Group: Documentation/HTML + +%description doc-html +Documentation of Ecore library in form of HTML pages. + %prep %setup -q %build -%configure --disable-static --disable-silent-rules +# fake time used for documentation +FAKE_DOCDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%a %%b %%d %%Y') +FAKE_DOCYEAR=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%Y') +FAKE_DOCDATETIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%a %%b %%d %%Y %T') +sed -i "s/\$datetime/$FAKE_DOCDATETIME/g;s/\$date/$FAKE_DOCDATE/g;s/\$year/$FAKEDOCYEAR/g" doc/*.html + +%configure --disable-static --disable-silent-rules --enable-ecore-sdl --enable-ecore-evas-opengl-sdl make %{?_smp_mflags} +make doc %install make install DESTDIR="%buildroot" + +# copy documentation manually +echo "Copying HTML documentation" +mkdir -p %{buildroot}%{_docdir}/%{name} +/bin/cp -vr doc/html %{buildroot}%{_docdir}/%{name} +# fix line endings +find %{buildroot}%{_docdir} -name '*.eps' | xargs sed -i 's@\r@\n@g' +# fix permissions +find %{buildroot}%{_docdir} -type f | xargs chmod 0644 +find %{buildroot}%{_docdir} -type d | xargs chmod 0755 +# remove duplicates +%if 0%{?suse_version} +%fdupes -s %{buildroot}%{_docdir} +%endif + find %{buildroot}%{_libdir} -name '*.la' -exec rm -v {} \; %find_lang %{name} @@ -89,15 +124,22 @@ %postun -n libecore1 -p /sbin/ldconfig -%files -n libecore1 -f %{name}.lang +%files -f %{name}.lang %defattr(-, root, root) -%{_libdir}/libecore*.so.1* %{_libdir}/ecore +%files -n libecore1 +%defattr(-, root, root) +%{_libdir}/libecore*.so.1* + %files devel %defattr(-, root, root) %{_includedir}/ecore-1/ %{_libdir}/libecore*.so %{_libdir}/pkgconfig/ecore*.pc +%files doc-html +%defattr(-, root, root) +%{_docdir}/%{name} + %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
