[Tizen-submit] 21503: Changes to Tizen:Generic/desktop-file-utils

noreply at tizen.org noreply at tizen.org
Fri Feb 21 23:05:43 GMT 2014


Hi,
Patrick McCarty have made the following changes to desktop-file-utils in project Tizen:Generic. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #21503

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


Message:
Submitter: Patrick McCarty <patrick.mccarty at linux.intel.com>
Comments: fix license install; minor cleanups
Git project: platform/upstream/desktop-file-utils
Tag: submit/tizen/20140221.230501
Commit: bfa7b3071761f5bc410d7530b2d18f7883b06490 Update changelog

State:   new        2014-02-21T23:05:24 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- desktop-file-utils.changes
+++ desktop-file-utils.changes
@@ -0,0 +1,3 @@
+* Fri Feb 21 2014 Patrick McCarty <patrick.mccarty at linux.intel.com> 3a7e99d
+- Install the package license properly; minor spec file cleanups
+

old:
----
  _service
  _service:gbs:desktop-file-utils-0.20.tar.xz
  _service:gbs:desktop-file-utils.manifest
  _service:gbs:desktop-file-utils.spec
  _service:gbs:macros.desktop-file-utils

new:
----
  desktop-file-utils-0.20.tar.xz
  desktop-file-utils.changes
  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#bfa7b3071761f5bc410d7530b2d18f7883b06490
+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)
+%license COPYING

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


More information about the Tizen-submit mailing list