[crystal-stacker] remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
Rahul Sundaram
sundaram at fedoraproject.org
Sat Feb 23 01:56:09 UTC 2013
commit 2b5f2fd296413ba32d37ad06cbad5aef456b964c
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date: Fri Feb 22 20:55:45 2013 -0500
remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
- clean up spec to follow current guidelines
crystal-stacker.spec | 33 ++++++++++++---------------------
1 files changed, 12 insertions(+), 21 deletions(-)
---
diff --git a/crystal-stacker.spec b/crystal-stacker.spec
index 6f05d60..7769748 100644
--- a/crystal-stacker.spec
+++ b/crystal-stacker.spec
@@ -1,6 +1,6 @@
Name: crystal-stacker
Version: 1.5
-Release: 14%{?dist}
+Release: 15%{?dist}
Summary: Falling blocks, match 3 or more of the same color crystals
Group: Amusements/Games
License: Crystal Stacker
@@ -18,22 +18,19 @@ gonally to destroy them. For every 45 crystals you destroy, the level increases
and the crystals fall faster. The higher the level, the more points you are
awarded for destroying crystals.
-
%package theme-editor
-Summary: Themes editor for Crystal Stacker
-Group: Amusements/Games
-Requires: %{name} = %{version}
+Summary: Themes editor for Crystal Stacker
+Group: Amusements/Games
+Requires: %{name} = %{version}
%description theme-editor
Create new Themes for Crystal Stacker
-
%prep
%setup -q -c
%patch0 -p1
%{__sed} -i 's/\r//' ce/*.txt cs/*.txt
-
%build
pushd cs/source
make %{?_smp_mflags} -f Makefile.unix PREFIX=%{_prefix} \
@@ -48,7 +45,6 @@ popd
convert cs/cs.ico %{name}.png
convert ce/ce.ico %{name}-theme-editor.png
-
%install
pushd cs/source
make -f Makefile.unix install PREFIX=$RPM_BUILD_ROOT%{_prefix}
@@ -60,17 +56,12 @@ popd
# below is the desktop file and icon stuff.
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
-desktop-file-install --vendor fedora \
- --dir $RPM_BUILD_ROOT%{_datadir}/applications \
- %{SOURCE1}
-desktop-file-install --vendor fedora \
- --dir $RPM_BUILD_ROOT%{_datadir}/applications \
- %{SOURCE2}
+desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
+desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE2}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
install -p -m 644 %{name}.png %{name}-theme-editor.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
-
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@@ -95,26 +86,26 @@ fi
%posttrans theme-editor
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-
%files
-%defattr(-,root,root,-)
%doc cs/*.txt
%{_bindir}/crystal-stacker
%dir %{_datadir}/crystal-stacker
%{_datadir}/crystal-stacker/cs.*
-%{_datadir}/applications/fedora-%{name}.desktop
+%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%files theme-editor
-%defattr(-,root,root,-)
%doc ce/*.txt
%{_bindir}/crystal-stacker-theme-editor
%{_datadir}/crystal-stacker/ce.dat
-%{_datadir}/applications/fedora-%{name}-theme-editor.desktop
+%{_datadir}/applications/%{name}-theme-editor.desktop
%{_datadir}/icons/hicolor/32x32/apps/%{name}-theme-editor.png
-
%changelog
+* Fri Feb 22 2013 Rahul Sundaram <sundaram at fedoraproject.org> - 1.5-15
+- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
+- clean up spec to follow current guidelines
+
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list