[xfbib] Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
paragn
paragn at fedoraproject.org
Sun Feb 10 09:48:48 UTC 2013
commit 4fedfd42fb809ef14cd8e3a12140807a47ad38cf
Author: Parag Nemade <paragn at fedoraproject.org>
Date: Sun Feb 10 15:20:32 2013 +0530
Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
- Cleanup spec as per recently changed packaging guidelines
xfbib.spec | 19 ++++++++-----------
1 files changed, 8 insertions(+), 11 deletions(-)
---
diff --git a/xfbib.spec b/xfbib.spec
index 4c2caf0..0df0ef6 100644
--- a/xfbib.spec
+++ b/xfbib.spec
@@ -1,6 +1,6 @@
Name: xfbib
Version: 0.0.2
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Lightweight BibTeX editor for the Xfce desktop environment
Summary(de): Schlanker BibTeX Editor für die Xfce Desktop-Umgebung
@@ -8,7 +8,6 @@ Group: Applications/Editors
License: GPLv2+
URL: http://goodies.xfce.org/projects/applications/%{name}
Source0: http://goodies.xfce.org/releases/%{name}/%{name}-%{version}.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libxfcegui4-devel >= 4.4.0, gtk2-devel >= 2.10
BuildRequires: gettext, desktop-file-utils
@@ -33,10 +32,9 @@ make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%find_lang %{name}
-desktop-file-install --vendor "fedora" \
+desktop-file-install \
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
--remove-category Application \
--delete-original \
@@ -55,19 +53,18 @@ touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files -f %{name}.lang
-%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog README
%{_bindir}/%{name}
%{_datadir}/icons/hicolor/*/apps/%{name}.png
-%{_datadir}/applications/fedora-%{name}.desktop
+%{_datadir}/applications/%{name}.desktop
%changelog
+* Sun Feb 10 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 0.0.2-9
+- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
+- Cleanup spec as per recently changed packaging guidelines
+
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list