[meego-commits] 14665: New package devel:enterprise/tasks

Yan Li no_reply at build.meego.com
Thu Mar 10 08:38:31 UTC 2011


Hi,
Adding new package tasks 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 #14665:

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


Message:
    Upgrading Evolution to 2.32.1

State:   new          2011-03-10T00:38:12 yanli
Comment: None


This is a NEW package in devel:enterprise project.
The files in the new package:
tasks/
  |__  Makefile
  |__  license-i18n.patch
  |__  tasks-0.18.tar.gz
  |__  tasks-i18n-name.patch
  |__  tasks-window-size-moblin.patch
  |__  tasks.changes
  |__  tasks.desktop
  |__  tasks.spec
  |__  tasks.yaml

The content of the YAML file, tasks.yaml:
===================================================================
Name: tasks
Summary: Tasks to-do list
Version: 0.18
Release: 1
Group: Applications/Productivity
License: GPLv2+
URL: http://pimlico-project.org/tasks.html
Sources:
    - http://pimlico-project.org/sources/tasks/tasks-%{version}.tar.gz
    - tasks.desktop
Patches:
    - tasks-window-size-moblin.patch
    - tasks-i18n-name.patch
    - license-i18n.patch
Description: |
    Tasks is a simple to do list application that uses libecal, part of Embedded
    Evolution Data Server.

Requires:
    - evolution-data-server
PkgBR:
    - gettext
    - intltool
PkgConfigBR:
    - evolution-data-server-1.2
    - gtk+-2.0

LocaleName: tasks

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


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

Name:       tasks
Summary:    Tasks to-do list
Version:    0.18
Release:    1
Group:      Applications/Productivity
License:    GPLv2+
URL:        http://pimlico-project.org/tasks.html
Source0:    http://pimlico-project.org/sources/tasks/tasks-%{version}.tar.gz
Source1:    tasks.desktop
Source100:  tasks.yaml
Patch0:     tasks-window-size-moblin.patch
Patch1:     tasks-i18n-name.patch
Patch2:     license-i18n.patch
Requires:   evolution-data-server
Requires(post): /bin/touch
Requires(post): gtk2
BuildRequires:  pkgconfig(evolution-data-server-1.2)
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  gettext
BuildRequires:  intltool
BuildRequires:  desktop-file-utils


%description
Tasks is a simple to do list application that uses libecal, part of Embedded
Evolution Data Server.




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

# tasks-window-size-moblin.patch
%patch0 -p1
# tasks-i18n-name.patch
%patch1 -p1
# license-i18n.patch
%patch2 -p1
# >> 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
install -m 0644 %{SOURCE1} %{buildroot}/%{_datadir}/applications
# << install post
desktop-file-install --delete-original       \
  --dir %{buildroot}%{_datadir}/applications             \
   %{buildroot}%{_datadir}/applications/*.desktop
%find_lang tasks



%post
/bin/touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache \
  --quiet %{_datadir}/icons/hicolor 2> /dev/null|| :

%postun
/bin/touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache \
  --quiet %{_datadir}/icons/hicolor 2> /dev/null|| :


%files -f tasks.lang
%defattr(-,root,root,-)
# >> files
%doc AUTHORS ChangeLog COPYING NEWS README
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/tasks.png
%{_datadir}/icons/hicolor/*/apps/tasks.svg
%{_bindir}/tasks
# << files



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




More information about the MeeGo-commits mailing list