[Tizen-submit] 17241: New package Tizen:IVI:Stable/desktop-file-utils

noreply at tizen.org noreply at tizen.org
Sat Nov 16 08:53:09 GMT 2013


Hi,
Adding new package desktop-file-utils in project Tizen:IVI:Stable. Please review and accept ASAP.

Justification for this new package:

Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_stable/20131116.083854
Git project: platform/upstream/desktop-file-utils
Tag: submit/tizen_ivi_stable/20131116.083854
Commit: 8629586a4c16364cbec82d468b3ceca4f98fa7a4 resetting manifest requested domain to floor

Thank You,
Graydon, Tracy

[This message was auto-generated]

---

Request: #17241

  submit:       Tizen:IVI:Stable:build/desktop-file-utils(cleanup) -> Tizen:IVI:Stable


Message:
Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_stable/20131116.083854
Git project: platform/upstream/desktop-file-utils
Tag: submit/tizen_ivi_stable/20131116.083854
Commit: 8629586a4c16364cbec82d468b3ceca4f98fa7a4 resetting manifest requested domain to floor

State:   new        2013-11-16T08:41:08 tizenrobot
Comment: <no comment>
new:
----
  desktop-file-utils-0.20.tar.xz
  desktop-file-utils.manifest
  desktop-file-utils.spec
  macros.desktop-file-utils

spec files:
-----------

++++++ new spec file:
--- desktop-file-utils.spec
+++ desktop-file-utils.spec
@@ -0,0 +1,68 @@
+Name:           desktop-file-utils
+VCS:            platform/upstream/desktop-file-utils#8629586a4c16364cbec82d468b3ceca4f98fa7a4
+Version:        0.20
+Release:        0
+Summary:        Utilities for Manipulating Desktop Files
+License:        GPL-2.0+
+Group:          Development/Tools/Other
+Url:            http://www.freedesktop.org/wiki/Software/desktop-file-utils
+Source0:        http://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz
+Source2:        macros.desktop-file-utils
+Source1001: 	desktop-file-utils.manifest
+BuildRequires:  glib2-devel
+BuildRequires:  pkg-config
+# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
+BuildRequires:  xz
+
+%description
+This packages contains a couple of command line utilities for
+working with desktop files.
+
+More information about desktop files can be found at:
+http://freedesktop.org/wiki/Specifications/desktop-entry-spec
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%configure \
+        --with-lispdir=%{_datadir}/emacs/site-lisp
+%__make %{?_smp_mflags}
+
+%install
+%makeinstall
+# we don't want to buildrequire emacs, but recent automake make it
+# impossible to install a lisp file without emacs installed. So we
+# manually do it.
+test ! -f %{buildroot}%{_datadir}/emacs/site-lisp/desktop-entry-mode.el
+install -D -m644 misc/desktop-entry-mode.el %{buildroot}%{_datadir}/emacs/site-lisp/desktop-entry-mode.el
+# Install rpm macros
+install -D -m644 %{S:2} %{buildroot}%{_sysconfdir}/rpm/macros.desktop-file-utils
+# Create ghosts based on default $XDG_DATA_DIRS:
+mkdir -p %{buildroot}%{_datadir}/applications
+touch %{buildroot}%{_datadir}/applications/mimeinfo.cache
+
+%post
+%{_bindir}/update-desktop-database --quiet %{_datadir}/applications || true
+
+%files
+%manifest %{name}.manifest
+%defattr(-, root, root)
+%doc AUTHORS COPYING ChangeLog NEWS README
+%{_bindir}/desktop-file-edit
+%{_bindir}/desktop-file-install
+%{_bindir}/desktop-file-validate
+%{_bindir}/update-desktop-database
+%ghost %{_datadir}/applications/mimeinfo.cache
+%{_mandir}/man1/desktop-file-edit.1*
+%{_mandir}/man1/desktop-file-install.1*
+%{_mandir}/man1/desktop-file-validate.1*
+%{_mandir}/man1/update-desktop-database.1*
+# Own directories to not require emacs installed.
+%dir %{_datadir}/emacs
+%dir %{_datadir}/emacs/site-lisp
+%{_datadir}/emacs/site-lisp/*.el*
+%{_sysconfdir}/rpm/macros.desktop-file-utils
+
+%changelog

other changes:
--------------


Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list