[alsamixergui] remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247

Rahul Sundaram sundaram at fedoraproject.org
Sat Feb 9 23:13:00 UTC 2013


commit 55e8eb624fc50b677a839a8c30d61384bde5cfd6
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date:   Sat Feb 9 18:12:44 2013 -0500

    remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
    
    - clean up spec to follow current guidelines

 alsamixergui.spec |   28 ++++++++++++----------------
 1 files changed, 12 insertions(+), 16 deletions(-)
---
diff --git a/alsamixergui.spec b/alsamixergui.spec
index 725a22d..8db4fb7 100644
--- a/alsamixergui.spec
+++ b/alsamixergui.spec
@@ -1,18 +1,17 @@
 Name:		alsamixergui
-Summary: 	GUI mixer for ALSA sound devices
+Summary:	GUI mixer for ALSA sound devices
 Version:	0.9.0
-Release:	0.13.rc2%{?dist}
+Release:	0.14.rc2%{?dist}
 License:	GPLv2+
 Group:		Applications/System
 # This is where the source used to live, but this upstream is dead.
-# Source0:	ftp://www.iua.upf.es/pub/mdeboer/projects/alsamixergui/%{name}-%{version}rc1-2.tar.gz
+# Source0:	ftp://www.iua.upf.es/pub/mdeboer/projects/alsamixergui/%%{name}-%%{version}rc1-2.tar.gz
 # This tarball was taken from Debian, and is the most recent version as far as I know.
 Source0:	http://ftp.de.debian.org/debian/pool/main/a/alsamixergui/alsamixergui_0.9.0rc2-1.orig.tar.gz
 Source1:	alsamixergui.desktop
 Source2:	alsamixergui.png
 # This site is dead and gone.
 URL:		ftp://www.iua.upf.es/pub/mdeboer/projects/alsamixergui
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	fltk-devel, libstdc++-devel
 BuildRequires:	alsa-lib-devel, desktop-file-utils
 BuildRequires:	libtool
@@ -37,26 +36,23 @@ chmod +x configure
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install
+%make_install
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
 install -m0644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
-desktop-file-install --vendor fedora                            \
-        --dir $RPM_BUILD_ROOT%{_datadir}/applications         \
-        %{SOURCE1}
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
 
 %files
-%defattr(-,root,root)
 %doc README AUTHORS COPYING ChangeLog
-%{_bindir}/alsamixergui
-%{_datadir}/applications/fedora-alsamixergui.desktop
-%{_datadir}/pixmaps/alsamixergui.png
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/pixmaps/%{name}.png
 
 %changelog
+* Sat Feb 09 2013 Rahul Sundaram <sundaram at fedoraproject.org> - 0.9.0-0.14.rc2
+- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
+- clean up spec to follow current guidelines
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.0-0.13.rc2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list