[meego-commits] 14657: New package devel:enterprise/libgdata

Yan Li no_reply at build.meego.com
Thu Mar 10 08:36:18 UTC 2011


Hi,
Adding new package libgdata in project devel:enterprise. Please review and accept ASAP.

Justification for this new package:

Upgrading Evolution to 2.32.1

Thank You,
Yan Li

[This message was auto-generated]

---

Request #14657:

  submit:   devel:enterprise:Testing/libgdata(r1) -> devel:enterprise/libgdata


Message:
    Upgrading Evolution to 2.32.1

State:   new          2011-03-10T00:36:05 yanli
Comment: None


This is a NEW package in devel:enterprise project.
The files in the new package:
libgdata/
  |__  Makefile
  |__  libgdata-0.6.6.tar.bz2
  |__  libgdata.changes
  |__  libgdata.spec
  |__  libgdata.yaml

The content of the YAML file, libgdata.yaml:
===================================================================
Name: libgdata
Summary: Library for the GData protocol
Version: 0.6.6
Release: 1
Group: System Environment/Libraries
License: LGPLv2+
URL: http://live.gnome.org/libgdata
Sources:
    - http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.6/%{name}-%{version}.tar.bz2
Description: |
    libgdata is a GLib-based library for accessing online service APIs using the
    GData protocol --- most notably, Google's services. It provides APIs to access
    the common Google services, and has full asynchronous support.

PkgBR:
    - glib2-devel
    - libsoup-devel
    - libxml2-devel
    - gtk-doc
    - intltool
Configure: configure
Builder: make
LocaleName: gdata
Check: yes
SubPackages:
    - Name: devel
      Summary: Development files for %{name}
      Group: Development/Libraries
      Description: |
          The %{name}-devel package contains libraries and header files for
          developing applications that use %{name}.
      Requires:
          - pkgconfig
          - gtk-doc
      PkgBR:
          - libtool


===================================================================


The content of the spec file, libgdata.spec:
===================================================================
# 
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.22git
# 
# >> macros
# << macros

Name:       libgdata
Summary:    Library for the GData protocol
Version:    0.6.6
Release:    1
Group:      System Environment/Libraries
License:    LGPLv2+
URL:        http://live.gnome.org/libgdata
Source0:    http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.6/%{name}-%{version}.tar.bz2
Source100:  libgdata.yaml
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires:  glib2-devel
BuildRequires:  libsoup-devel
BuildRequires:  libxml2-devel
BuildRequires:  gtk-doc
BuildRequires:  intltool


%description
libgdata is a GLib-based library for accessing online service APIs using the
GData protocol --- most notably, Google's services. It provides APIs to access
the common Google services, and has full asynchronous support.



%package devel
Summary:    Development files for %{name}
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}
Requires:   pkgconfig
Requires:   gtk-doc
BuildRequires:   libtool

%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.



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

# >> setup
# << setup

%build
# >> build pre
# << build pre

%configure --disable-static
make %{?jobs:-j%jobs}

# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%make_install

# >> install post
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'



# << install post
%find_lang gdata
%check
# >> check
# Only the general test can be run without network access
#cd gdata/tests
#./general
# << check



%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig





%files -f gdata.lang
%defattr(-,root,root,-)
# >> files
%doc COPYING NEWS README AUTHORS
%{_libdir}/*.so.*
# << files


%files devel
%defattr(-,root,root,-)
# >> files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc
%{_datadir}/gtk-doc/html/gdata/
# << files devel


===================================================================




More information about the MeeGo-commits mailing list