Hello community,

here is the log from the commit of package libreoffice-openclipart for 
openSUSE:11.3
checked in at Thu Mar 31 01:49:07 CEST 2011.



--------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ 11.3/libreoffice-openclipart/libreoffice-openclipart.changes        
2011-03-18 22:34:43.000000000 +0100
@@ -0,0 +1,99 @@
+-------------------------------------------------------------------
+Fri Mar 18 22:12:32 CET 2011 - [email protected]
+
+- maintenance update (bnc#667421, MaintenanceTracker-38738)
+
+-------------------------------------------------------------------
+Fri Feb 18 19:51:31 CET 2011 - [email protected]
+
+- bumped version to make sure that it is considered as a replacement
+  of the older package
+
+-------------------------------------------------------------------
+Fri Feb  4 21:11:48 CET 2011 - [email protected]
+
+- added error check to avoid later cryptic failure
+
+-------------------------------------------------------------------
+Thu Feb  3 16:17:12 CET 2011 - [email protected]
+
+- renamed from OpenOffice_org-openclipart to libreoffice-openclipart
+- added supplements packageand(openclipart-svg:libreoffice)
+  to make it installed with libreoffice (bnc#668145)
+- installed files into /usr/share/libreoffice; added compat symlinks
+  into the older location /usr/share/ooo3
+
+-------------------------------------------------------------------
+Tue Sep 21 17:57:36 CEST 2010 - [email protected]
+
+- updated basis dir to basis3.3
+- update dependencies on OOo >= 3.2.98
+
+-------------------------------------------------------------------
+Wed May 19 16:08:15 CEST 2010 - [email protected]
+
+- added initial support for build on MeeGo distro
+
+-------------------------------------------------------------------
+Fri Mar 26 17:21:53 CET 2010 - [email protected]
+
+- added decorations/celticknotwork_trianglesimple_01.svg to fix build
+  in openSUSE:Factory
+
+-------------------------------------------------------------------
+Mon Nov  9 13:34:57 CET 2009 - [email protected]
+
+- updated basis dir to basis3.2
+- update dependencies on OOo >= 3.1.98
+- added few more packages on the blacklist to fix build on openSUSE-11.2
+
+-------------------------------------------------------------------
+Mon Mar 16 16:52:26 CET 2009 - [email protected]
+
+- added back OpenOffice_org-filters-optional to BuildRequires and
+  Requires because we switched to the split build in BS
+
+-------------------------------------------------------------------
+Fri Feb 27 15:14:15 CET 2009 - [email protected]
+
+- updated basis dir to basis3.1
+- update dependencies on OOo >= 3.0.99
+
+-------------------------------------------------------------------
+Wed Nov 12 20:14:05 CET 2008 - [email protected]
+
+- added update-alternatives to BuildRequires for SLED10; it fixes
+  an xerces-j2 dependency problem
+
+-------------------------------------------------------------------
+Tue Nov 11 12:33:04 CET 2008 - [email protected]
+
+- fixed dependency against the non-split build
+
+-------------------------------------------------------------------
+Fri Nov  7 10:51:37 CET 2008 - [email protected]
+
+- switched to the openclipart-svg sources
+- added OpenOffice_org-filters-optional to BuildRequires and Requires;
+  it includes the SVG import filter for OOo
+- added too big and some problematic files on the blacklist
+- updated to the version 3 to be in sync with OpenOffice_org
+
+-------------------------------------------------------------------
+Fri Aug 15 17:03:24 CEST 2008 - [email protected]
+
+- added Supplements: packageand(openclipart:OpenOffice_org) (bnc#168589)
+
+-------------------------------------------------------------------
+Mon Jul 21 16:45:57 CEST 2008 - [email protected]
+
+- updated for OOo-3.0 (prefixes, dependency)
+
+-------------------------------------------------------------------
+Tue Jul 24 15:00:45 CEST 2007 - [email protected]
+
+- split from the OpenOffice_org-2.2.99.221 source package [n#284980]
+- renamed from OpenOffice_org-galleries to OpenOffice_org-openclipart
+- used version 2 (should work for all OOo-2.x packages)
+- used gengal in the headless mode; it was a feature added in
+  OpenOffice_org-2.2.99.221

calling whatdependson for 11.3-i586


New:
----
  libreoffice-openclipart.blacklist
  libreoffice-openclipart.changes
  libreoffice-openclipart.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libreoffice-openclipart.spec ++++++
#
# spec file for package libreoffice-openclipart
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           libreoffice-openclipart
Url:            http://www.openoffice.org/
# We use the gengal in the headles mode; it was added in 
OpenOffice_org-2.2.99.221
BuildRequires:  libreoffice >= 3.2.98
BuildRequires:  libreoffice-filters-optional >= 3.2.98
BuildRequires:  openclipart-svg
%if 0%{?suse_version} == 01010
BuildRequires:  update-alternatives
%endif
%if 0%{?suse_version} > 01000 || 0%{?meego_version}
%define         openclipart_dir %_datadir/clipart/openclipart
%else
%define         openclipart_dir %_datadir/openclipart
%endif
%define         ooo_home        libreoffice
%define         ooo_basis       basis3.3
# OOo uses ugly names for galleries (std_prefix + index + std_suffix)
# The openlipart gallery should start from the index 70
%define         gal_num_from    70
License:        GPLv2+ ; LGPLv2.1+
Summary:        Extra Galleries for LibreOffice
Group:          Productivity/Office/Suite
Version:        3.3
Release:        1.<RELEASE2>
AutoReqProv:    on
# OOo-2.x with link-to-ooo-home script is required
Requires:       libreoffice >= 3.2.98, libreoffice < 3.3.98
Requires:       libreoffice-filters-optional >= 3.2.98
# this package includes only thumbnails, the original clipart is still neeeded
%requires_eq  openclipart-svg
%if 0%{?suse_version}
Supplements:    packageand(openclipart-svg:libreoffice) 
packageand(openclipart-svg:OpenOffice_org)
%endif
# compat stuff
# we want to obsolete OpenOffice_org-openclipart to achieve a smooth update
Provides:       OpenOffice_org-openclipart = %version
Obsoletes:      OpenOffice_org-openclipart <= %version
Provides:       OpenOffice_org-galleries = %version
Provides:       OpenOffice_org2-galleries = %version
Obsoletes:      OpenOffice_org-galleries < %version
Obsoletes:      OpenOffice_org2-galleries < %version
Source:         libreoffice-openclipart.blacklist
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This package contains an extensive set of extra galleries for
LibreOffice. It can be used to enrich documents with graphics arts.



%prep
%setup -T -c
cp %{S:0} .

%build
for prefix in /usr/lib /usr/lib64 ; do
    if test -x $prefix/%ooo_home/%ooo_basis/program/gengal ; then
        GENGAL_BIN=$prefix/%ooo_home/%ooo_basis/program/gengal
        break
    fi
done
test -z "$GENGAL_BIN" && { echo '$GENGAL_BIN not set' >&2 ; exit 1; }
#
for dir in `find -L %openclipart_dir -mindepth 1 -maxdepth 1 -type d | 
LC_CTYPE=C sort` ; do
        # get the gallery name from the directory name
        # and make the first character uppercase
        dirname=${dir##*/}
        gal_name=$dirname
        gal_name=`echo $gal_name | tr "_-" "  "`
        gal_name_rest=${gal_name#?}
        gal_name_first_char=${gal_name%$gal_name_rest}
        gal_name_first_char=`echo $gal_name_first_char | tr "a-z" "A-Z"`
        gal_name=$gal_name_first_char$gal_name_rest
        #
        echo "Doing gallery $gal_name..."
        #
        # add too big files to the black list (svg import is somewhat slow)
        blacklist=`mktemp /tmp/gengal.blacklist.XXXXXX`
        IFS_saved="$IFS"
IFS="
"
        for file in `find $dir -name "*.svg" | LC_CTYPE=C sort` ; do
            test -L $file && echo "$file" >>$blacklist
            echo size=`du -L $file | cut -f1`
            test `du -b -L $file  | cut -f1` -gt 100000 && echo "$file" 
>>$blacklist
        done
        IFS="$IFS_saved"
        # add files from explicit blacklist if any
        grep "^$dirname" libreoffice-openclipart.blacklist >>$blacklist || true
        echo "Ignoring too big and problematic files:"
        cat $blacklist
        echo "Enf of the list"
        #
        # xargs is necessary because the list of files is quite long
        find $dir -name "*.svg" -print0 | \
        LC_CTYPE=C sort -z | \
        grep -z -v -f $blacklist | \
        { xargs -0 $GENGAL_BIN -headless  --name "$gal_name" --path 
$RPM_BUILD_DIR/%name-%version --number-from "%gal_num_from" || exit 1; }
        rm $blacklist
done

%install
# FIXME: The stuff from this directory is linked to ooo-home by the script
#        link-to-ooo-home; so it must keep the usual OOo structure
install -m 755 -d $RPM_BUILD_ROOT%_datadir/%ooo_home/%ooo_basis/share/gallery
# compat stuff
install -m 755 -d $RPM_BUILD_ROOT%_datadir/ooo3/%ooo_basis/share/gallery
for file in `ls sg*` ; do
    install -m 644 $file 
$RPM_BUILD_ROOT%_datadir/%ooo_home/%ooo_basis/share/gallery
    echo "%_datadir/%ooo_home/%ooo_basis/share/gallery/$file" 
>>$RPM_BUILD_ROOT%_datadir/%ooo_home/openclipart_list.txt
    # compat stuff
    ln -sf ../../../../%ooo_home/%ooo_basis/share/gallery/$file 
$RPM_BUILD_ROOT%_datadir/ooo3/%ooo_basis/share/gallery
    echo "%_datadir/ooo3/%ooo_basis/share/gallery/$file" 
>>$RPM_BUILD_ROOT%_datadir/%ooo_home/openclipart_list.txt
done
echo "%dir %_datadir/%ooo_home/"                                
>>$RPM_BUILD_ROOT%_datadir/%ooo_home/openclipart_list.txt
echo "%dir %_datadir/%ooo_home/%ooo_basis"                      
>>$RPM_BUILD_ROOT%_datadir/%ooo_home/openclipart_list.txt
echo "%dir %_datadir/%ooo_home/%ooo_basis/share"                
>>$RPM_BUILD_ROOT%_datadir/%ooo_home/openclipart_list.txt
echo "%dir %_datadir/%ooo_home/%ooo_basis/share/gallery"        
>>$RPM_BUILD_ROOT%_datadir/%ooo_home/openclipart_list.txt
# compat stuff
echo "%dir %_datadir/ooo3/"                             
>>$RPM_BUILD_ROOT%_datadir/%ooo_home/openclipart_list.txt
echo "%dir %_datadir/ooo3/%ooo_basis"                   
>>$RPM_BUILD_ROOT%_datadir/%ooo_home/openclipart_list.txt
echo "%dir %_datadir/ooo3/%ooo_basis/share"             
>>$RPM_BUILD_ROOT%_datadir/%ooo_home/openclipart_list.txt
echo "%dir %_datadir/ooo3/%ooo_basis/share/gallery"     
>>$RPM_BUILD_ROOT%_datadir/%ooo_home/openclipart_list.txt

%clean
rm -rf $RPM_BUILD_ROOT

%post
%_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/openclipart_list.txt 
|| true

%preun
test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink 
%_datadir/%ooo_home/openclipart_list.txt || true

%files
%defattr(-, root, root)
%dir %_datadir/%ooo_home
%_datadir/%ooo_home/openclipart_list.txt
%dir %_datadir/%ooo_home/%ooo_basis
%dir %_datadir/%ooo_home/%ooo_basis/share
%dir %_datadir/%ooo_home/%ooo_basis/share/gallery
%_datadir/%ooo_home/%ooo_basis/share/gallery/*
# compat stuff
%dir %_datadir/ooo3
%dir %_datadir/ooo3/%ooo_basis
%dir %_datadir/ooo3/%ooo_basis/share
%dir %_datadir/ooo3/%ooo_basis/share/gallery
%_datadir/ooo3/%ooo_basis/share/gallery/*

%changelog
++++++ libreoffice-openclipart.blacklist ++++++
decorations/celticknotwork_trianglesimple_01.svg
recreation/holiday/thanksgiving/turkey_platter_01_with_fruit_and_vegitables_01.svg
recreation/religion/christianity/coat_of_arms_of_anglica_01.svg
special/patterns/pattern-arches-intersecting-[123].svg
special/patterns/pattern-diamond-harlequin-[1234].svg
office/addressed_envelope_with_stamp_01.svg

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to