Hello community,

here is the log from the commit of package perl-Mac-PropertyList for 
openSUSE:Factory
checked in at Mon Jul 25 13:05:19 CEST 2011.



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

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ 
/mounts/work_src_done/STABLE/perl-Mac-PropertyList/perl-Mac-PropertyList.changes
    2011-02-21 05:52:22.000000000 +0100
@@ -0,0 +1,6 @@
+-------------------------------------------------------------------
+Mon Feb 21 04:51:53 UTC 2011 - [email protected]
+
+- initial package 1.33
+  * created by cpanspec 1.78.03
+

calling whatdependson for head-i586


New:
----
  perl-Mac-PropertyList.changes
  perl-Mac-PropertyList.spec
  _service
  _service:download_url:Mac-PropertyList-1.33.tar.gz

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

Other differences:
------------------
++++++ perl-Mac-PropertyList.spec ++++++
#
# spec file for package perl-Mac-PropertyList
#
# 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/
#



Name:           perl-Mac-PropertyList
Version:        1.33
Release:        1
License:        GPL+ or Artistic
%define cpan_name Mac-PropertyList
Summary:        work with Mac plists at a low level
Url:            http://search.cpan.org/dist/Mac-PropertyList/
Group:          Development/Libraries/Perl
#Source:         
http://www.cpan.org/authors/id/B/BD/BDFOY/Mac-PropertyList-%{version}.tar.gz
Source:         %{cpan_name}-%{version}.tar.gz
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(XML::Entities)
Requires:       perl(XML::Entities)
%{perl_requires}

%description
This module is a low-level interface to the Mac OS X Property List (plist)
format. You probably shouldn't use this in applications--build interfaces
on top of this so you don't have to put all the heinous multi-level object
stuff where people have to look at it.

You can parse a plist file and get back a data structure. You can take that
data structure and get back the plist as XML. If you want to change the
structure inbetween that's your business. :)

You don't need to be on Mac OS X to use this. It simply parses and
manipulates a text format that Mac OS X uses.

The Property List format
    The MacOS X Property List format is simple XML. You can read the DTD to
    get the details.

        http://www.apple.com/DTDs/PropertyList-1.0.dtd

    One big problem exists--its dict type uses a flat structure to list
    keys and values so that values are only associated with their keys by
    their position in the file rather than by the structure of the DTD.
    This problem is the major design hinderance in this module. A smart XML
    format would have made things much easier.

    If the parse_plist encounters an empty key tag in a dict structure
    (i.e. '<key></key>' ) the function croaks.

The Mac::PropertyList classes
    A plist can have one or more of any of the plist objects, and we have
    to remember the type of thing so we can go back to the XML format. Perl
    treats numbers and strings the same, but the plist format doesn't.

    Therefore, everything 'Mac::PropertyList' creates is an object of some
    sort. Container objects like 'Mac::PropertyList::array' and
    'Mac::PropertyList::dict' hold other objects.

    There are several types of objects:

        Mac::PropertyList::string
        Mac::PropertyList::data
        Mac::PropertyList::real
        Mac::PropertyList::integer
        Mac::PropertyList::date
        Mac::PropertyList::array
        Mac::PropertyList::dict

    * new( VALUE )

      Create the object.

    * value

      Access the value of the object. At the moment you cannot change the
      value

    * type

      Access the type of the object (string, data, etc)

    * write

      Create a string version of the object, recursively if necessary.

%prep
%setup -q -n %{cpan_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%check
%{__make} test

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%clean
%{__rm} -rf %{buildroot}

%files -f %{name}.files
%defattr(644,root,root,755)
%doc Changes LICENSE README

%changelog
++++++ _service ++++++
<services>
  <service name="download_url"><param 
name="path">/CPAN/authors/id/B/BD/BDFOY/Mac-PropertyList-1.33.tar.gz</param><param
 name="host">search.cpan.org</param></service>
</services>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

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

Reply via email to