Minor spec file cleanup and remove icon patch from scm.
This commit is contained in:
parent
b6772991ef
commit
08321d7992
2 changed files with 4 additions and 23 deletions
|
|
@ -1,20 +0,0 @@
|
|||
diff -Nur xfburn-0.5.4.orig/xfburn.desktop.in xfburn-0.5.4/xfburn.desktop.in
|
||||
--- xfburn-0.5.4.orig/xfburn.desktop.in 2014-06-02 23:55:30.000000000 -0600
|
||||
+++ xfburn-0.5.4/xfburn.desktop.in 2015-09-30 09:45:27.465132535 -0600
|
||||
@@ -5,7 +5,7 @@
|
||||
_Comment=CD and DVD burning application
|
||||
Exec=xfburn
|
||||
TryExec=xfburn
|
||||
-Icon=media-cdrom
|
||||
+Icon=stock_xfburn
|
||||
MimeType=application/x-cd-image;
|
||||
Terminal=false
|
||||
Categories=X-XFCE;GTK;DiscBurning;Archiving;AudioVideo;Utility;
|
||||
@@ -14,6 +14,6 @@
|
||||
Actions=BurnImage;
|
||||
|
||||
[Desktop Action BurnImage]
|
||||
-Icon=media-cdrom
|
||||
+Icon=stock_xfburn
|
||||
Exec=xfburn -i %f
|
||||
_Name=Burn Image (xfburn)
|
||||
|
|
@ -39,16 +39,17 @@ compositions of data to either CD or DVD.
|
|||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%autosetup -p1
|
||||
|
||||
# fix appdata installation location
|
||||
sed -i 's/\$(datadir)\/appdata/\$(datadir)\/metainfo/' Makefile.in
|
||||
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install INSTALL='install -p'
|
||||
|
||||
|
|
@ -61,6 +62,7 @@ desktop-file-install --vendor "" \
|
|||
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database &> /dev/null ||:
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
|
@ -73,7 +75,6 @@ if [ $1 -eq 0 ] ; then
|
|||
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
fi
|
||||
|
||||
|
||||
%posttrans
|
||||
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue