commit eet for openSUSE:Factory
Hello community, here is the log from the commit of package eet for openSUSE:Factory checked in at 2012-12-28 14:58:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/eet (Old) and /work/SRC/openSUSE:Factory/.eet.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "eet", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/eet/eet.changes 2012-12-10 13:46:44.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.eet.new/eet.changes 2012-12-28 14:58:32.000000000 +0100 @@ -1,0 +2,10 @@ +Wed Dec 19 23:51:57 UTC 2012 - sleep_walker@suse.cz + +- fix directory for HTML + +------------------------------------------------------------------- +Wed Dec 19 22:40:03 UTC 2012 - sleep_walker@suse.cz + +- build and package documentation, separate examples + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ eet.spec ++++++ --- /var/tmp/diff_new_pack.ie1B1h/_old 2012-12-28 14:58:33.000000000 +0100 +++ /var/tmp/diff_new_pack.ie1B1h/_new 2012-12-28 14:58:33.000000000 +0100 @@ -24,12 +24,16 @@ Group: Development/Libraries/C and C++ Url: http://enlightenment.org/ Source: %{name}-%{version}.tar.bz2 +BuildRequires: doxygen BuildRequires: eina-devel >= %version BuildRequires: libjpeg-devel BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: zlib-devel +%if 0%{?suse_version} +BuildRequires: fdupes +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -67,15 +71,49 @@ %description devel Headers, static libraries, test programs and documentation for eina +%package doc-html +Summary: HTML documentation of Eet +Group: Documentation/HTML + +%description doc-html +Documentation of Eet library in form of HTML pages. + +%package doc-examples +Summary: Example usage of Eet +Group: Documentation/Other + +%description doc-examples +Example usage of Eet library. + %prep %setup -q %build +# 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 make %{?_smp_mflags} +make doc %install -%makeinstall +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 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 {} \; %post -n libeet1 -p /sbin/ldconfig @@ -85,9 +123,7 @@ %files %defattr(-, root, root) %dir %{_datadir}/eet/ -%dir %{_datadir}/eet/examples %{_bindir}/eet -%{_datadir}/eet/examples/* %files -n libeet1 %defattr(-,root,root) @@ -99,4 +135,12 @@ %{_libdir}/pkgconfig/eet.pc %{_libdir}/libeet.so +%files doc-html +%defattr(-, root, root) +%{_docdir}/%{name} + +%files doc-examples +%defattr(-, root, root) +%{_datadir}/eet/examples + %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de