Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077

- fix old bogus changelog dates
This commit is contained in:
Parag Nemade 2013-02-09 21:02:54 +05:30
parent a990ae1e09
commit 9a356137c3
1 changed files with 9 additions and 8 deletions

View File

@ -8,14 +8,11 @@
%define OTHER 0
%endif
# required for desktop file install
%define my_vendor %(test %{OTHER} == 1 && echo "fedora" || echo "redhat")
%define TESTS 0
Name: publican
Version: 2.8
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Common files and scripts for publishing with DocBook XML
# For a breakdown of the licensing, refer to LICENSE
License: (GPLv2+ or Artistic) and CC0
@ -167,7 +164,7 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
sed -i -e 's|@@FILE@@|%{_docdir}/%{name}-doc-%{version}/en-US/index.html|' %{name}.desktop
sed -i -e 's|@@ICON@@|%{_docdir}/%{name}-doc-%{version}/en-US/images/icon.svg|' %{name}.desktop
desktop-file-install --vendor="%{my_vendor}" --dir=$RPM_BUILD_ROOT%{_datadir}/applications %{name}.desktop
desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications %{name}.desktop
for file in po/*.po; do
lang=`echo "$file" | sed -e 's/po\/\(.*\)\.po/\1/'`;
@ -201,10 +198,14 @@ rm -rf $RPM_BUILD_ROOT
%files doc
%defattr(-,root,root,-)
%doc Users_Guide/publish/desktop/*
%{_datadir}/applications/%{my_vendor}-%{name}.desktop
%{_datadir}/applications/%{name}.desktop
%doc fdl.txt
%changelog
* Sat Feb 09 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 2.8-5
- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
- fix old bogus changelog dates
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
@ -230,7 +231,7 @@ rm -rf $RPM_BUILD_ROOT
* Mon Jul 25 2011 Jeff Fearn <jfearn@redhat.com> 2.6-1
- New Version, see Changes file.
* Fri Dec 02 2010 Jeff Fearn <jfearn@redhat.com> 2.5-1
* Thu Dec 02 2010 Jeff Fearn <jfearn@redhat.com> 2.5-1
- Use SPEC_VERSION for splash page spec files.
* Thu Dec 02 2010 Jeff Fearn <jfearn@redhat.com> 2.4-1
@ -731,7 +732,7 @@ rm -rf $RPM_BUILD_ROOT
- Removed --nonet from xsltproc call BZ #436342
- Removed extra files logic from spec and xsl files.
* Thu Feb 24 2008 Jeff Fearn <jfearn@redhat.com> 0.30-0
* Sun Feb 24 2008 Jeff Fearn <jfearn@redhat.com> 0.30-0
- Added missing Requires perl(XML::TreeBuilder)
- Fix xref to listitem breaking BZ #432574
- Die with a decent warning when an invalid Brand is chosen. BZ #429236