[cssed] remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
Rahul Sundaram
sundaram at fedoraproject.org
Sat Feb 23 02:36:57 UTC 2013
commit 6d269308e05e29386ee805888bfead2bf5a56862
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date: Fri Feb 22 21:36:36 2013 -0500
remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
- clean up spec to follow current guidelines
- fix desktop file to follow specification
cssed.desktop | 2 +-
cssed.spec | 24 ++++++++++--------------
2 files changed, 11 insertions(+), 15 deletions(-)
---
diff --git a/cssed.desktop b/cssed.desktop
index 32c4ede..ca2ced4 100644
--- a/cssed.desktop
+++ b/cssed.desktop
@@ -2,7 +2,7 @@
Name=Cssed
Comment=CSS editor and validator
Exec=cssed
-Icon=cssed-about.png
+Icon=cssed-about
Type=Application
Terminal=false
Categories=Development;WebDevelopment;
diff --git a/cssed.spec b/cssed.spec
index 5982ec9..0d19b00 100644
--- a/cssed.spec
+++ b/cssed.spec
@@ -1,6 +1,6 @@
Name: cssed
Version: 0.4.0
-Release: 16%{?dist}
+Release: 17%{?dist}
Summary: CSS editor and validator
Group: Applications/Editors
@@ -13,7 +13,6 @@ Patch1: cssed-0.4.0-gcc44.patch
Patch2: cssed-0.4.0_cssdialogs-functions.patch
Patch3: cssed-0.4.0_pixmap.patch
Patch4: cssed-0.4.0-no-add-needed.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libxml2-devel,gettext,gtk2-devel,desktop-file-utils
@@ -57,32 +56,29 @@ echo >> cssed.pc.in
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-make install DESTDIR=%{buildroot}
+%make_install
-%find_lang %{name}
-desktop-file-install --vendor="fedora" \
- --dir %{buildroot}%{_datadir}/applications \
- %{SOURCE1}
-
-%clean
-rm -rf %{buildroot}
+%find_lang %{name}
+desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE1}
%files -f %{name}.lang
-%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README scintilla/License.txt
%{_bindir}/*
%{_mandir}/man*/*
%{_datadir}/pixmaps/cssed
%{_datadir}/cssed
-%{_datadir}/applications/fedora-%{name}.desktop
+%{_datadir}/applications/%{name}.desktop
%files devel
-%defattr(-,root,root,-)
%{_libdir}/pkgconfig/cssed.pc
%{_includedir}/cssed
%changelog
+* Fri Feb 22 2013 Rahul Sundaram <sundaram at fedoraproject.org> - 0.4.0-17
+- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
+- clean up spec to follow current guidelines
+- fix desktop file to follow specification
+
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.0-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list