[Tizen-submit] 5801: Changes to Tizen/update-desktop-files

noreply at tizen.org noreply at tizen.org
Mon May 20 11:20:54 GMT 2013


Hi,
Prajwal Mohan have made the following changes to update-desktop-files in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #5801

  submit:       Tizen:build/update-desktop-files(cleanup) -> Tizen


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130517.024306
Git project: platform/upstream/update-desktop-files
Tag: submit/tizen/20130517.024306
Commit: df59a45 import 12.1

State:   accepted   2013-05-16T20:34:13 pkarurmo
Comment: Ok

History: new        2013-05-16T19:41:31 tizenrobot
new:
----
  brp-trim-desktop.sh
  macro
  map-desktop-category.sh
  tizen_update_desktop_file.sh
  update-desktop-files.spec

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

++++++ new spec file:
--- update-desktop-files.spec
+++ update-desktop-files.spec
@@ -0,0 +1,53 @@
+Name:           update-desktop-files
+Version:        12.1
+Release:        0
+VCS:            platform/upstream/update-desktop-files#submit/tizen/20130517.024306-0-gdf59a45
+Summary:        A Build Tool to Update Desktop Files
+License:        GPL-2.0+
+Group:          Development/Tools/Building
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Source:         tizen_update_desktop_file.sh
+Source1:        map-desktop-category.sh
+Source2:        macro
+Source4:        brp-trim-desktop.sh
+# This is not true technically, but we do that to make the rpm macros from
+# desktop-file-utils available to most packages that ship a .desktop file
+# (since they already have a update-desktop-files BuildRequires).
+Requires:       desktop-file-utils
+BuildArch:      noarch
+
+%description
+This package provides further translations and a shell script to update
+desktop files. It is used by the %%tizen_update_desktop_file rpm macro.
+
+%package -n brp-trim-desktopfiles
+Summary:        Trim translations from .deskop files
+Group:          Development/Tools/Building
+
+%description -n brp-trim-desktopfiles
+Trim translations from all .deskop files found in build root
+
+%prep
+%setup -q -n . -D -T 0
+mkdir %name
+cd %name
+
+%build
+
+%install
+mkdir -p $RPM_BUILD_ROOT%_rpmconfigdir
+install -m0755 %SOURCE0 %SOURCE1 $RPM_BUILD_ROOT%_rpmconfigdir
+install -m0644 -D %SOURCE2 $RPM_BUILD_ROOT/etc/rpm/macros.%name
+install -m0755 -D %SOURCE4 $RPM_BUILD_ROOT/usr/lib/rpm/brp-tizen.d/brp-70-trim-desktopfiles
+
+%files
+%defattr(-,root,root)
+%_rpmconfigdir/*
+%exclude %_rpmconfigdir/brp-tizen.d
+/etc/rpm/*
+
+%files -n brp-trim-desktopfiles
+%defattr(-,root,root)
+%_rpmconfigdir/brp-tizen.d
+
+%changelog

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

++++++ brp-trim-desktop.sh (new)
--- brp-trim-desktop.sh
+++ brp-trim-desktop.sh
@@ -0,0 +1,53 @@
+#! /bin/sh
+
+# macro: suse_update_desktop_file
+#
+#     Used to add easily a category to .desktop files according to XDG
+#     standard.
+#
+

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


More information about the Tizen-submit mailing list